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 ( bdd070...a18fd6 )
by Anton
02:43
created
recipe/shopware.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -72,37 +72,37 @@  discard block
 block discarded – undo
72 72
 ]);
73 73
 
74 74
 // This task remotely executes the `cache:clear` console command on the target server.
75
-task('sw:cache:clear', static function () {
75
+task('sw:cache:clear', static function() {
76 76
     run('cd {{release_path}} && {{bin/console}} cache:clear --no-warmup');
77 77
 });
78 78
 
79 79
 // This task remotely executes the cache warmup console commands on the target server, so that the first user, who
80 80
 // visits the website, doesn't have to wait for the cache to be built up.
81
-task('sw:cache:warmup', static function () {
81
+task('sw:cache:warmup', static function() {
82 82
     run('cd {{release_path}} && {{bin/console}} cache:warmup');
83 83
     run('cd {{release_path}} && {{bin/console}} http:cache:warm:up');
84 84
 });
85 85
 
86 86
 // This task remotely executes the `database:migrate` console command on the target server.
87
-task('sw:database:migrate', static function () {
87
+task('sw:database:migrate', static function() {
88 88
     run('cd {{release_path}} && {{bin/console}} database:migrate --all');
89 89
 });
90 90
 
91
-task('sw:plugin:refresh', function () {
91
+task('sw:plugin:refresh', function() {
92 92
     run('cd {{release_path}} && {{bin/console}} plugin:refresh');
93 93
 });
94 94
 
95
-task('sw:scheduled-task:register', function () {
95
+task('sw:scheduled-task:register', function() {
96 96
     run('cd {{release_path}} && {{bin/console}} scheduled-task:register');
97 97
 });
98 98
 
99
-task('sw:theme:refresh', function () {
99
+task('sw:theme:refresh', function() {
100 100
     run('cd {{release_path}} && {{bin/console}} theme:refresh');
101 101
 });
102 102
 
103 103
 // This task is not used per default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
104 104
 // to build the theme remotely instead of locally.
105
-task('sw:theme:compile', function () {
105
+task('sw:theme:compile', function() {
106 106
     run('cd {{release_path}} && {{bin/console}} theme:compile');
107 107
 });
108 108
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     return $plugins;
115 115
 }
116 116
 
117
-task('sw:plugin:update:all', static function () {
117
+task('sw:plugin:update:all', static function() {
118 118
     $plugins = getPlugins();
119 119
     foreach ($plugins as $plugin) {
120 120
         if ($plugin->installedAt && $plugin->upgradeVersion) {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 });
126 126
 
127
-task('sw:writable:jwt', static function () {
127
+task('sw:writable:jwt', static function() {
128 128
     run('cd {{release_path}} && chmod -R 660 config/jwt/*');
129 129
 });
130 130
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     'deploy:publish',
152 152
 ]);
153 153
 
154
-task('deploy:update_code')->setCallback(static function () {
154
+task('deploy:update_code')->setCallback(static function() {
155 155
     upload('.', '{{release_path}}', [
156 156
         'options' => [
157 157
             '--exclude=.git',
@@ -161,11 +161,11 @@  discard block
 block discarded – undo
161 161
     ]);
162 162
 });
163 163
 
164
-task('sw-build-without-db:get-remote-config', static function () {
164
+task('sw-build-without-db:get-remote-config', static function() {
165 165
     if (!test('[ -d {{current_path}} ]')) {
166 166
         return;
167 167
     }
168
-    within('{{current_path}}', function () {
168
+    within('{{current_path}}', function() {
169 169
         run('{{bin/php}} ./bin/console bundle:dump');
170 170
         download('{{current_path}}/var/plugins.json', './var/');
171 171
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     });
175 175
 });
176 176
 
177
-task('sw-build-without-db:build', static function () {
177
+task('sw-build-without-db:build', static function() {
178 178
     runLocally('CI=1 SHOPWARE_SKIP_BUNDLE_DUMP=1 ./bin/build-js.sh');
179 179
 });
180 180
 
Please login to merge, or discard this patch.