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.
Completed
Push — master ( 33710e...dbdc92 )
by Alex
14:24 queued 11:45
created
Schedule/ScheduledTransition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Returns offset date interval
66 66
      *
67
-     * @return DateInterval
67
+     * @return string
68 68
      */
69 69
     public function getOffset()
70 70
     {
Please login to merge, or discard this patch.
Tests/Functional/Kernel/BaseTestKernel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Returns base bundle list
113 113
      *
114
-     * @return array
114
+     * @return \Symfony\Bundle\FrameworkBundle\FrameworkBundle[]
115 115
      */
116 116
     protected function getBaseBundles()
117 117
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
         $this->setRootDir($rootDir);
66 66
 
67 67
         $this->configDir = realpath($configDir);
68
-        if (!is_dir($this->configDir . '/' . $testCase)) {
68
+        if (!is_dir($this->configDir.'/'.$testCase)) {
69 69
             throw new \InvalidArgumentException(sprintf('The test case "%s" does not exist.', $testCase));
70 70
         }
71 71
         $this->testCase = $testCase;
72 72
 
73 73
         $fs = new Filesystem();
74 74
         if (!$fs->isAbsolutePath($rootConfig) &&
75
-            !file_exists($rootConfig = $this->configDir . '/' . $testCase . '/' . $rootConfig)) {
75
+            !file_exists($rootConfig = $this->configDir.'/'.$testCase.'/'.$rootConfig)) {
76 76
             throw new \InvalidArgumentException(sprintf('The root config "%s" does not exist.', $rootConfig));
77 77
         }
78 78
         $this->rootConfig = $rootConfig;
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     {
128 128
         $bundles     = array();
129 129
         $baseBundles = $this->getBaseBundles();
130
-        if (file_exists($filename = $this->configDir . '/' . $this->testCase . '/bundles.php')) {
130
+        if (file_exists($filename = $this->configDir.'/'.$this->testCase.'/bundles.php')) {
131 131
             $bundles = include $filename;
132 132
         }
133 133
         return array_merge($baseBundles, $bundles);
Please login to merge, or discard this patch.
Tests/Functional/ScheduleCaseTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
     /**
98 98
      * @param ContainerInterface $container
99
-     * @param array|string|false $fixturesPath
99
+     * @param string $fixturesPath
100 100
      * @param string $em
101 101
      * @param bool|true $append
102 102
      * @return array
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         // load fixtures
52 52
         $fixturesBundle = new ClientBundle();
53
-        $fixturesPath = $fixturesBundle->getPath() . '/DataFixtures/ORM';
53
+        $fixturesPath = $fixturesBundle->getPath().'/DataFixtures/ORM';
54 54
         $this->loadFixtures($this->client->getContainer(), $fixturesPath);
55 55
     }
56 56
 
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
                 "app_name"    => "ScheduleCaseTest",
68 68
                 "test_case"   => "ScheduleCase",
69 69
                 "root_config" => "config.yml",
70
-                "config_dir"  => __DIR__ . "/Configuration",
71
-                "root_dir"    => __DIR__ . "/Configuration/ScheduleCase",
70
+                "config_dir"  => __DIR__."/Configuration",
71
+                "root_dir"    => __DIR__."/Configuration/ScheduleCase",
72 72
                 "environment" => "test",
73 73
                 "debug"       => false
74 74
             )
Please login to merge, or discard this patch.
TransitionApplier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param object $subject      subject
66 66
      * @param string $workflowName workflow name
67
-     * @param string $transitions  transition to be applied
67
+     * @param string $transition  transition to be applied
68 68
      */
69 69
     public function applyTransition($subject, $workflowName, $transition)
70 70
     {
Please login to merge, or discard this patch.
Tests/Guard/ExpressionGuardTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $event->expects(self::never())->method("setBlocked");
77 77
 
78 78
         $guard->registerGuardExpression("eventName", "workflow", "expression");
79
-        $guard->guardTransition($event ,"eventName");
79
+        $guard->guardTransition($event, "eventName");
80 80
     }
81 81
 
82 82
     /**
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $logger->expects($this->exactly($loggerInvocationCount))->method("debug");
114 114
 
115 115
         $guard->registerGuardExpression("eventName", "workflow", $expression);
116
-        $guard->guardTransition($event ,"eventName");
116
+        $guard->guardTransition($event, "eventName");
117 117
     }
118 118
 
119 119
     public function expressionProvider()
Please login to merge, or discard this patch.
Tests/Schedule/TransitionSchedulerTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@  discard block
 block discarded – undo
69 69
         $transition = new ScheduledTransition('t1', 'PT1S');
70 70
 
71 71
         $transitionTriggerJobArgs = [
72
-            '--transition='   . $transition->getTransitionName(),
73
-            '--workflow='     . $workflowName,
74
-            '--subjectClass=' . $subjectClass,
75
-            '--subjectId='    . $subjectId,
72
+            '--transition='.$transition->getTransitionName(),
73
+            '--workflow='.$workflowName,
74
+            '--subjectClass='.$subjectClass,
75
+            '--subjectId='.$subjectId,
76 76
         ];
77 77
 
78 78
         Carbon::setTestNow(Carbon::now());
@@ -82,14 +82,14 @@  discard block
 block discarded – undo
82 82
         /** @var $em \PHPUnit_Framework_MockObject_MockObject|ObjectManager */
83 83
         $em->expects(self::exactly(2))->method('persist')->withConsecutive(
84 84
             [self::callback(
85
-                function (Job $job) use ($transitionTriggerJobArgs, $executeJobAfter) {
85
+                function(Job $job) use ($transitionTriggerJobArgs, $executeJobAfter) {
86 86
                     return
87 87
                         $job->getArgs() == $transitionTriggerJobArgs &&
88 88
                         $job->getExecuteAfter() == $executeJobAfter;
89 89
                 }
90 90
             )],
91 91
             [self::callback(
92
-                function (ScheduledJob $job) use ($subjectClass, $subjectId, $transition, $workflowName) {
92
+                function(ScheduledJob $job) use ($subjectClass, $subjectId, $transition, $workflowName) {
93 93
                     return
94 94
                         $job->getSubjectClass() == $subjectClass &&
95 95
                         $job->getSubjectId() == $subjectId &&
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         /** @var $em \PHPUnit_Framework_MockObject_MockObject|ObjectManager */
128 128
         $em->expects(self::once())->method('persist')->withConsecutive(
129 129
             [self::callback(
130
-                function (Job $job) use ($newExecuteJobAfter) {
130
+                function(Job $job) use ($newExecuteJobAfter) {
131 131
                     return $job->getExecuteAfter() == $newExecuteJobAfter;
132 132
                 }
133 133
             )]
Please login to merge, or discard this patch.
Tests/Functional/EventTriggerWithGuardsCaseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                 "app_name" => "EventTriggerWithGuardsCaseTest",
37 37
                 "test_case" => "EventTriggerWithGuardsCase",
38 38
                 "root_config" => "config.yml",
39
-                "config_dir" => __DIR__ . "/Configuration",
39
+                "config_dir" => __DIR__."/Configuration",
40 40
                 "environment" => "test",
41 41
                 "debug" => false
42 42
             )
Please login to merge, or discard this patch.
Schedule/TransitionScheduler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -141,10 +141,10 @@
 block discarded – undo
141 141
     {
142 142
         $transitionTriggerJob = new Job('workflow:transition:trigger',
143 143
             [
144
-                '--transition='   . $scheduledTransition->getTransitionName(),
145
-                '--workflow='     . $workflowName,
146
-                '--subjectClass=' . $subjectClass,
147
-                '--subjectId='    . $subjectId,
144
+                '--transition='.$scheduledTransition->getTransitionName(),
145
+                '--workflow='.$workflowName,
146
+                '--subjectClass='.$subjectClass,
147
+                '--subjectId='.$subjectId,
148 148
             ]
149 149
         );
150 150
 
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
                                             ->isRequired()
96 96
                                             ->cannotBeEmpty()
97 97
                                             ->info('Holds period defines offset from time of event catching for transition scheduling. '.
98
-                                             'See https://en.wikipedia.org/wiki/ISO_8601#Durations for format description')
98
+                                                'See https://en.wikipedia.org/wiki/ISO_8601#Durations for format description')
99 99
                                             ->validate()
100 100
                                                 ->always()
101 101
                                                 ->then(function ($v) {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                                 ->defaultValue([])
78 78
                                 ->beforeNormalization()
79 79
                                     ->ifString()
80
-                                    ->then(function ($v) { return array($v); })
80
+                                    ->then(function($v) { return array($v); })
81 81
                                 ->end()
82 82
                                 ->useAttributeAsKey('name')
83 83
                                 ->prototype('scalar')
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                                              'See https://en.wikipedia.org/wiki/ISO_8601#Durations for format description')
99 99
                                             ->validate()
100 100
                                                 ->always()
101
-                                                ->then(function ($v) {
101
+                                                ->then(function($v) {
102 102
                                                     try {
103 103
                                                         new DateInterval($v);
104 104
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                     ->prototype('array')
157 157
                         ->beforeNormalization()
158 158
                             ->ifString()
159
-                            ->then(function ($v) { return ['expression' => $v]; })
159
+                            ->then(function($v) { return ['expression' => $v]; })
160 160
                         ->end()
161 161
                         ->children()
162 162
                             ->scalarNode('expression')
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
             ->beforeNormalization()
188 188
                 ->always()
189 189
                 ->then(
190
-                    function ($v) {
190
+                    function($v) {
191 191
                         if (isset($v) && is_array($v)) {
192 192
                             foreach ($v as $key => $value) {
193 193
                                 unset($v[$key]);
Please login to merge, or discard this patch.