Completed
Push — master ( f9f23c...8f70e2 )
by Alex
23:34 queued 28s
created
Tests/Controller/AbstractGeneratorControllerTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
     use RequestTestTrait;
28 28
 
29 29
     /**
30
-     * @param MockObject|StepResolverInterface    $resolver
31
-     * @param MockObject|TranslatorInterface      $translator
32
-     * @param MockObject|RouterInterface          $router
33
-     * @param MockObject|ActionsRegistryInterface $actionsRegistry
30
+     * @param StepResolverInterface    $resolver
31
+     * @param TranslatorInterface      $translator
32
+     * @param RouterInterface          $router
33
+     * @param ActionsRegistryInterface $actionsRegistry
34 34
      *
35 35
      * @return GeneratorController
36 36
      */
Please login to merge, or discard this patch.
Tests/DependencyInjection/StepsPassTest.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
 
54 54
     public function provideNonWorkingConfigurations()
55 55
     {
56
-        $dir = __DIR__ . '/../Fixtures/App/compiler_pass_test_non_working/';
56
+        $dir = __DIR__.'/../Fixtures/App/compiler_pass_test_non_working/';
57 57
 
58
-        $configFiles = glob($dir . 'compiler_config_*.yaml');
58
+        $configFiles = glob($dir.'compiler_config_*.yaml');
59 59
 
60 60
         sort($configFiles);
61 61
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
         $inlineStub1 = new class extends ConcreteAbstractActionStub
170 170
         {};
171
-        $inlineStub2 = new class extends ConcreteAbstractActionStub{};
171
+        $inlineStub2 = new class extends ConcreteAbstractActionStub {};
172 172
 
173 173
         $container->setParameter('pierstoval_character_manager.managers', [
174 174
             'main' => [
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@  discard block
 block discarded – undo
33 33
         string $expectedException,
34 34
         string $expectedExceptionMessage,
35 35
         string $stepClass
36
-    )
37
-    {
36
+    ) {
38 37
         $this->expectException($expectedException);
39 38
         $this->expectExceptionMessage($expectedExceptionMessage);
40 39
 
@@ -167,8 +166,11 @@  discard block
 block discarded – undo
167 166
         $container->register(ActionsRegistry::class);
168 167
 
169 168
         $inlineStub1 = new class extends ConcreteAbstractActionStub
170
-        {};
171
-        $inlineStub2 = new class extends ConcreteAbstractActionStub{};
169
+        {
170
+};
171
+        $inlineStub2 = new class extends ConcreteAbstractActionStub
172
+        {
173
+};
172 174
 
173 175
         $container->setParameter('pierstoval_character_manager.managers', [
174 176
             'main' => [
Please login to merge, or discard this patch.
Action/AbstractStepAction.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -102,14 +102,14 @@
 block discarded – undo
102 102
         $this->translator = $translator;
103 103
     }
104 104
 
105
-     public function getStep(): StepInterface
106
-     {
107
-         if (!$this->step) {
108
-             throw new \RuntimeException('Step is not defined in current step action. Did you run the "configure()" method?');
109
-         }
110
-
111
-         return $this->step;
112
-     }
105
+        public function getStep(): StepInterface
106
+        {
107
+            if (!$this->step) {
108
+                throw new \RuntimeException('Step is not defined in current step action. Did you run the "configure()" method?');
109
+            }
110
+
111
+            return $this->step;
112
+        }
113 113
 
114 114
     /**
115 115
      * {@inheritdoc}
Please login to merge, or discard this patch.
Resolver/StepResolver.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $managerName = $this->resolveManagerName($managerName);
40 40
 
41 41
         if (!isset($this->steps[$managerName][$stepName])) {
42
-            throw new StepNotFoundException("Step $stepName does not exist in manager $managerName.");
42
+            throw new StepNotFoundException("step $stepName does not exist in manager $managerName.");
43 43
         }
44 44
 
45 45
         return $this->steps[$managerName][$stepName];
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
 
108 108
         if (!isset($this->managersConfiguration[$managerName])) {
109
-            throw new \InvalidArgumentException("Manager $managerName does not exist, or is not initialized yet.");
109
+            throw new \InvalidArgumentException("manager $managerName does not exist, or is not initialized yet.");
110 110
         }
111 111
 
112 112
         return $managerName;
Please login to merge, or discard this patch.