GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 14d1b7...ecbd16 )
by Anton
03:46
created
recipe/provision/databases.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Deployer;
4 4
 
5
-set('db_type', function () {
5
+set('db_type', function() {
6 6
     $supportedDbTypes = [
7 7
         'none',
8 8
         'mysql',
@@ -12,20 +12,20 @@  discard block
 block discarded – undo
12 12
     return askChoice(' What DB to install? ', $supportedDbTypes, 0);
13 13
 });
14 14
 
15
-set('db_name', function () {
15
+set('db_name', function() {
16 16
     return ask(' DB name: ', 'prod');
17 17
 });
18 18
 
19
-set('db_user', function () {
19
+set('db_user', function() {
20 20
     return ask(' DB user: ', 'deployer');
21 21
 });
22 22
 
23
-set('db_password', function () {
23
+set('db_password', function() {
24 24
     return askHiddenResponse(' DB password: ');
25 25
 });
26 26
 
27 27
 desc('Provision databases');
28
-task('provision:databases', function () {
28
+task('provision:databases', function() {
29 29
     $dbType = get('db_type');
30 30
     if ($dbType === 'none') {
31 31
         return;
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     ->limit(1);
36 36
 
37 37
 desc('Provision MySQL');
38
-task('provision:mysql', function () {
38
+task('provision:mysql', function() {
39 39
     run('apt-get install -y mysql-server', ['env' => ['DEBIAN_FRONTEND' => 'noninteractive'], 'timeout' => 900]);
40 40
     run("mysql --user=\"root\" -e \"CREATE USER IF NOT EXISTS '{{db_user}}'@'0.0.0.0' IDENTIFIED BY '%secret%';\"", ['secret' => get('db_password')]);
41 41
     run("mysql --user=\"root\" -e \"CREATE USER IF NOT EXISTS '{{db_user}}'@'%' IDENTIFIED BY '%secret%';\"", ['secret' => get('db_password')]);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 });
47 47
 
48 48
 desc('Provision MariaDB');
49
-task('provision:mariadb', function () {
49
+task('provision:mariadb', function() {
50 50
     run('apt-get install -y mariadb-server', ['env' => ['DEBIAN_FRONTEND' => 'noninteractive'], 'timeout' => 900]);
51 51
     run("mysql --user=\"root\" -e \"CREATE USER IF NOT EXISTS '{{db_user}}'@'0.0.0.0' IDENTIFIED BY '%secret%';\"", ['secret' => get('db_password')]);
52 52
     run("mysql --user=\"root\" -e \"CREATE USER IF NOT EXISTS '{{db_user}}'@'%' IDENTIFIED BY '%secret%';\"", ['secret' => get('db_password')]);
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 });
58 58
 
59 59
 desc('Provision PostgreSQL');
60
-task('provision:postgresql', function () {
60
+task('provision:postgresql', function() {
61 61
     run('apt-get install -y postgresql postgresql-contrib', ['env' => ['DEBIAN_FRONTEND' => 'noninteractive'], 'timeout' => 900]);
62 62
     run("sudo -u postgres psql <<< $'CREATE DATABASE {{db_name}};'");
63 63
     run("sudo -u postgres psql <<< $'CREATE USER {{db_user}} WITH ENCRYPTED PASSWORD \'%secret%\';'", ['secret' => get('db_password')]);
Please login to merge, or discard this patch.
recipe/provision/nodejs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 set('nodejs_version', 'node_23.x');
7 7
 
8 8
 desc('Installs npm packages');
9
-task('provision:npm', function () {
9
+task('provision:npm', function() {
10 10
     run('npm install -g fx zx pm2');
11 11
     run('pm2 startup');
12 12
 })
Please login to merge, or discard this patch.
recipe/provision/php.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Deployer;
4 4
 
5
-set('php_version', function () {
5
+set('php_version', function() {
6 6
     $defaultPhpVersion = file_exists('composer.json')
7 7
         ? explode('|', preg_replace('/[^0-9.|]+/', '', json_decode(file_get_contents('composer.json'), true)['require']['php'] ?? '8.3'))[0]
8 8
         : '8.3';
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 });
11 11
 
12 12
 desc('Installs PHP packages');
13
-task('provision:php', function () {
13
+task('provision:php', function() {
14 14
     $version = get('php_version');
15 15
     info("Installing PHP $version");
16 16
     $packages = [
@@ -63,12 +63,12 @@  discard block
 block discarded – undo
63 63
     ->limit(1);
64 64
 
65 65
 desc('Shows php-fpm logs');
66
-task('logs:php-fpm', function () {
66
+task('logs:php-fpm', function() {
67 67
     run('tail -f /var/log/fpm-php.www.log');
68 68
 })->verbose();
69 69
 
70 70
 desc('Installs Composer');
71
-task('provision:composer', function () {
71
+task('provision:composer', function() {
72 72
     run('curl -sS https://getcomposer.org/installer | php');
73 73
     run('mv composer.phar /usr/local/bin/composer');
74 74
 })->oncePerNode();
Please login to merge, or discard this patch.