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 ( 72a3d8...ca4b29 )
by Anton
03:59
created
recipe/shopware.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -72,20 +72,20 @@  discard block
 block discarded – undo
72 72
 ]);
73 73
 
74 74
 // This sets the shopware version to the version of the shopware console command.
75
-set('shopware_version', function () {
75
+set('shopware_version', function() {
76 76
     $versionOutput = run('cd {{release_path}} && {{bin/console}} -V');
77 77
     preg_match('/(\d+\.\d+\.\d+\.\d+)/', $versionOutput, $matches);
78 78
     return $matches[0] ?? '6.6.0';
79 79
 });
80 80
 
81 81
 // This task remotely executes the `cache:clear` console command on the target server.
82
-task('sw:cache:clear', static function () {
82
+task('sw:cache:clear', static function() {
83 83
     run('cd {{release_path}} && {{bin/console}} cache:clear --no-warmup');
84 84
 });
85 85
 
86 86
 // This task remotely executes the cache warmup console commands on the target server, so that the first user, who
87 87
 // visits the website, doesn't have to wait for the cache to be built up.
88
-task('sw:cache:warmup', static function () {
88
+task('sw:cache:warmup', static function() {
89 89
     run('cd {{release_path}} && {{bin/console}} cache:warmup');
90 90
 
91 91
     // Shopware 6.6+ dropped support for the http:cache:warmup command, so only execute it if the version is less than 6.6
@@ -95,25 +95,25 @@  discard block
 block discarded – undo
95 95
 });
96 96
 
97 97
 // This task remotely executes the `database:migrate` console command on the target server.
98
-task('sw:database:migrate', static function () {
98
+task('sw:database:migrate', static function() {
99 99
     run('cd {{release_path}} && {{bin/console}} database:migrate --all');
100 100
 });
101 101
 
102
-task('sw:plugin:refresh', function () {
102
+task('sw:plugin:refresh', function() {
103 103
     run('cd {{release_path}} && {{bin/console}} plugin:refresh');
104 104
 });
105 105
 
106
-task('sw:scheduled-task:register', function () {
106
+task('sw:scheduled-task:register', function() {
107 107
     run('cd {{release_path}} && {{bin/console}} scheduled-task:register');
108 108
 });
109 109
 
110
-task('sw:theme:refresh', function () {
110
+task('sw:theme:refresh', function() {
111 111
     run('cd {{release_path}} && {{bin/console}} theme:refresh');
112 112
 });
113 113
 
114 114
 // This task is not used per default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
115 115
 // to build the theme remotely instead of locally.
116
-task('sw:theme:compile', function () {
116
+task('sw:theme:compile', function() {
117 117
     run('cd {{release_path}} && {{bin/console}} theme:compile');
118 118
 });
119 119
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     return $plugins;
126 126
 }
127 127
 
128
-task('sw:plugin:update:all', static function () {
128
+task('sw:plugin:update:all', static function() {
129 129
     $plugins = getPlugins();
130 130
     foreach ($plugins as $plugin) {
131 131
         if ($plugin->installedAt && $plugin->upgradeVersion) {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 });
137 137
 
138
-task('sw:writable:jwt', static function () {
138
+task('sw:writable:jwt', static function() {
139 139
     if (!test('[ -d {{deploy_path}}/config/jwt/ ]')) {
140 140
         return;
141 141
     }
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     'deploy:publish',
166 166
 ]);
167 167
 
168
-task('deploy:update_code')->setCallback(static function () {
168
+task('deploy:update_code')->setCallback(static function() {
169 169
     upload('.', '{{release_path}}', [
170 170
         'options' => [
171 171
             '--exclude=.git',
@@ -175,11 +175,11 @@  discard block
 block discarded – undo
175 175
     ]);
176 176
 });
177 177
 
178
-task('sw-build-without-db:get-remote-config', static function () {
178
+task('sw-build-without-db:get-remote-config', static function() {
179 179
     if (!test('[ -d {{current_path}} ]')) {
180 180
         return;
181 181
     }
182
-    within('{{current_path}}', function () {
182
+    within('{{current_path}}', function() {
183 183
         run('{{bin/php}} ./bin/console bundle:dump');
184 184
         download('{{current_path}}/var/plugins.json', './var/');
185 185
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     });
189 189
 });
190 190
 
191
-task('sw-build-without-db:build', static function () {
191
+task('sw-build-without-db:build', static function() {
192 192
     runLocally('CI=1 SHOPWARE_SKIP_BUNDLE_DUMP=1 ./bin/build-js.sh');
193 193
 });
194 194
 
Please login to merge, or discard this patch.