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 ( af736d...64dffd )
by Odiseo
09:41
created
src/Fixture/Factory/BannerExampleFactory.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -65,22 +65,22 @@  discard block
 block discarded – undo
65 65
             ->setAllowedTypes('channels', 'array')
66 66
             ->setNormalizer('channels', LazyOption::findBy($this->channelRepository, 'code'))
67 67
 
68
-            ->setDefault('image', function (Options $options): string {
68
+            ->setDefault('image', function(Options $options): string {
69 69
                 return __DIR__.'/../../Resources/fixtures/banner/images/0'.rand(1, 4).'.png';
70 70
             })
71
-            ->setAllowedTypes('image', ['string'])
71
+            ->setAllowedTypes('image', [ 'string' ])
72 72
 
73
-            ->setDefault('mobile_image', function (Options $options): string {
73
+            ->setDefault('mobile_image', function(Options $options): string {
74 74
                 return __DIR__.'/../../Resources/fixtures/banner/mobile-images/0'.rand(1, 4).'.png';
75 75
             })
76
-            ->setAllowedTypes('mobile_image', ['string'])
76
+            ->setAllowedTypes('mobile_image', [ 'string' ])
77 77
         ;
78 78
     }
79 79
 
80 80
     /**
81 81
      * {@inheritdoc}
82 82
      */
83
-    public function create(array $options = []): BannerInterface
83
+    public function create(array $options = [ ]): BannerInterface
84 84
     {
85 85
         $options = $this->optionsResolver->resolve($options);
86 86
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $banner = $this->bannerFactory->createNew();
89 89
         $banner->setCode($this->faker->slug);
90 90
 
91
-        foreach ($options['channels'] as $channel) {
91
+        foreach ($options[ 'channels' ] as $channel) {
92 92
             $banner->addChannel($channel);
93 93
         }
94 94
 
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
 
100 100
             $banner->setUrl($this->faker->url);
101 101
 
102
-            $banner->setImageFile($this->createImage($options['image']));
103
-            $banner->setMobileImageFile($this->createImage($options['mobile_image']));
102
+            $banner->setImageFile($this->createImage($options[ 'image' ]));
103
+            $banner->setMobileImageFile($this->createImage($options[ 'mobile_image' ]));
104 104
         }
105 105
 
106 106
         return $banner;
Please login to merge, or discard this patch.