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 ( 6ebeae...65090f )
by
unknown
06:06 queued 02:44
created
src/Menu/AdminMenuListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $item = $menu;
21 21
         }
22 22
 
23
-        $item->addChild('banners', ['route' => 'odiseo_sylius_banner_admin_banner_index'])
23
+        $item->addChild('banners', [ 'route' => 'odiseo_sylius_banner_admin_banner_index' ])
24 24
             ->setLabel('odiseo_sylius_banner.ui.banners')
25 25
             ->setLabelAttribute('icon', 'image')
26 26
         ;
Please login to merge, or discard this patch.
src/Fixture/BannerFixture.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 $banner->setUrl($this->faker->url);
153 153
 
154 154
                 $imageFinder = new Finder();
155
-                $imagesPath = __DIR__ . '/../Resources/fixtures/banner';
155
+                $imagesPath = __DIR__.'/../Resources/fixtures/banner';
156 156
 
157 157
                 foreach ($imageFinder->files()->in($imagesPath)->name('01.png') as $img) {
158 158
                     /** @var string $path */
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         /** @var ChannelInterface $channel */
171 171
         foreach ($channels as $channel) {
172 172
             $imageIndex = 1;
173
-            for ($i=1; $i <= $options['banners_per_channel']; $i++) {
173
+            for ($i = 1; $i <= $options[ 'banners_per_channel' ]; $i++) {
174 174
                 /** @var BannerInterface $banner */
175 175
                 $banner = $this->bannerFactory->createNew();
176 176
 
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                     $banner->setUrl($this->faker->url);
185 185
 
186 186
                     $imageFinder = new Finder();
187
-                    $imagesPath = __DIR__ . '/../Resources/fixtures/banner';
187
+                    $imagesPath = __DIR__.'/../Resources/fixtures/banner';
188 188
 
189 189
                     foreach ($imageFinder->files()->in($imagesPath)->name('0'.$imageIndex.'.png') as $img) {
190 190
                         /** @var string $path */
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
                         $file = new UploadedFile($path, $filename);
195 195
                         $banner->setImageFile($file);
196 196
                     }
197
-                    $imageIndex = $imageIndex>=4?1:$imageIndex+1;
197
+                    $imageIndex = $imageIndex >= 4 ? 1 : $imageIndex+1;
198 198
                 }
199 199
 
200 200
                 $this->objectManager->persist($banner);
Please login to merge, or discard this patch.