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 ( 218b29...ff0709 )
by Anton
03:10
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
     run('cd {{release_path}} && chmod -R 660 config/jwt/*');
140 140
 });
141 141
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     'deploy:publish',
163 163
 ]);
164 164
 
165
-task('deploy:update_code')->setCallback(static function () {
165
+task('deploy:update_code')->setCallback(static function() {
166 166
     upload('.', '{{release_path}}', [
167 167
         'options' => [
168 168
             '--exclude=.git',
@@ -172,11 +172,11 @@  discard block
 block discarded – undo
172 172
     ]);
173 173
 });
174 174
 
175
-task('sw-build-without-db:get-remote-config', static function () {
175
+task('sw-build-without-db:get-remote-config', static function() {
176 176
     if (!test('[ -d {{current_path}} ]')) {
177 177
         return;
178 178
     }
179
-    within('{{current_path}}', function () {
179
+    within('{{current_path}}', function() {
180 180
         run('{{bin/php}} ./bin/console bundle:dump');
181 181
         download('{{current_path}}/var/plugins.json', './var/');
182 182
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     });
186 186
 });
187 187
 
188
-task('sw-build-without-db:build', static function () {
188
+task('sw-build-without-db:build', static function() {
189 189
     runLocally('CI=1 SHOPWARE_SKIP_BUNDLE_DUMP=1 ./bin/build-js.sh');
190 190
 });
191 191
 
Please login to merge, or discard this patch.