Completed
Push — master ( a6d514...c357a0 )
by Michael
03:06
created
Tests/Unit/CleanCode/MethodOneTryCatchTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     protected function getRule()
79 79
     {
80
-        $rule =  new MethodOneTryCatch();
80
+        $rule = new MethodOneTryCatch();
81 81
         $rule->addProperty('delimiter', ',');
82 82
         $rule->addProperty('allowedChildren', 'catch,finally');
83 83
 
Please login to merge, or discard this patch.
Tests/Unit/CleanCode/ClassNameSingleResponsibilityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     protected function getRule()
47 47
     {
48
-        $rule =  new ClassNameSingleResponsibility();
48
+        $rule = new ClassNameSingleResponsibility();
49 49
         $rule->addProperty('delimiter', ',');
50 50
         $rule->addProperty('suffixes', 'Manager,Handler');
51 51
 
Please login to merge, or discard this patch.
Tests/Unit/CleanCode/SuperfluousCommentTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     protected function getRule()
62 62
     {
63
-        $rule =  new SuperfluousComment();
63
+        $rule = new SuperfluousComment();
64 64
         $rule->addProperty('percent', '60');
65 65
         $rule->addProperty('checkClass', '1');
66 66
         $rule->addProperty('checkProperties', '1');
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,10 +71,10 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * @param string $docComment
74
-     * @param array  $properties
75
-     * @param array  $methods
74
+     * @param \Mockery\MockInterface[]  $properties
75
+     * @param \Mockery\MockInterface[]  $methods
76 76
      *
77
-     * @return \Mockery\MockInterface|AbstractNode
77
+     * @return AbstractNode
78 78
      */
79 79
     private function getClassNode($docComment = '', $properties = [], $methods = [])
80 80
     {
Please login to merge, or discard this patch.
Tests/Functional/AbstractProcessTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
     protected function runPhpmd($filename, $ruleset)
22 22
     {
23 23
         $processBuilder = new ProcessBuilder();
24
-        $processBuilder->setPrefix(__DIR__ . '/../../vendor/bin/phpmd');
24
+        $processBuilder->setPrefix(__DIR__.'/../../vendor/bin/phpmd');
25 25
 
26 26
         $processBuilder
27
-            ->add(__DIR__ . '/../Fixtures/AppBundle/' . $filename)
27
+            ->add(__DIR__.'/../Fixtures/AppBundle/'.$filename)
28 28
             ->add('text')
29
-            ->add(__DIR__ . '/../../Rulesets/' . $ruleset);
29
+            ->add(__DIR__.'/../../Rulesets/'.$ruleset);
30 30
 
31 31
         $process = $processBuilder->getProcess();
32 32
         $process->run();
Please login to merge, or discard this patch.
Tests/Unit/AbstractApplyTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param int $violationNumber
37 37
      *
38
-     * @return \Mockery\MockInterface|Report
38
+     * @return Report
39 39
      */
40 40
     protected function getReport($violationNumber)
41 41
     {
Please login to merge, or discard this patch.