Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
vendor/phpspec/phpspec/spec/PhpSpec/Loader/SuiteSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Loader\Node\SpecificationNode;
9 8
 
10 9
 class SuiteSpec extends ObjectBehavior
Please login to merge, or discard this patch.
phpspec/spec/PhpSpec/Loader/Transformer/InMemoryTypeHintIndexSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\CodeAnalysis\DisallowedScalarTypehintException;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class InMemoryTypeHintIndexSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
phpspec/phpspec/spec/PhpSpec/Loader/Transformer/TypeHintRewriterSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Loader\Transformer;
4 4
 
5 5
 use PhpSpec\CodeAnalysis\TypeHintRewriter;
6
-use PhpSpec\Loader\Transformer\TypeHintIndex;
7 6
 use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 7
 
10 8
 class TypeHintRewriterSpec extends ObjectBehavior
11 9
 {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Locator/PSR0/PSR0LocatorSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -521,6 +521,9 @@
 block discarded – undo
521 521
         $this->supportsQuery('Test\\Namespace\\PhpSpec\\Console\\Application')->shouldReturn(true);
522 522
     }
523 523
 
524
+    /**
525
+     * @param string $path
526
+     */
524 527
     private function convert_to_path($path)
525 528
     {
526 529
         if ('/' === DIRECTORY_SEPARATOR) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use PhpSpec\Util\Filesystem;
7
-
8 7
 use SplFileInfo;
9 8
 
10 9
 class PSR0LocatorSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Locator/PSR0/PSR0ResourceSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Locator\PSR0;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use PhpSpec\Locator\PSR0\PSR0Locator as Locator;
8 7
 
9 8
 class PSR0ResourceSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@
 block discarded – undo
107 107
         $this->getSpecFilename()->shouldReturn($this->convert_to_path('/local/spec/usr/lib/config_testSpec.php'));
108 108
     }
109 109
 
110
+    /**
111
+     * @param string $path
112
+     */
110 113
     private function convert_to_path($path)
111 114
     {
112 115
         if ('/' === DIRECTORY_SEPARATOR) {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Locator/ResourceManagerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Locator;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use PhpSpec\Locator\ResourceLocatorInterface;
8 7
 use PhpSpec\Locator\ResourceInterface;
9 8
 
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/ArrayContainMatcherSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class ArrayContainMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
 
35 35
     function it_does_not_match_array_without_specified_value()
36 36
     {
37
-        $this->shouldThrow()->duringPositiveMatch('contain', array(1,2,3), array('abc'));
37
+        $this->shouldThrow()->duringPositiveMatch('contain', array(1, 2, 3), array('abc'));
38 38
         $this->shouldThrow('PhpSpec\Exception\Example\FailureException')
39
-            ->duringPositiveMatch('contain', array(1,2,3), array(new \stdClass()));
39
+            ->duringPositiveMatch('contain', array(1, 2, 3), array(new \stdClass()));
40 40
     }
41 41
 
42 42
     function it_matches_array_without_specified_value()
43 43
     {
44
-        $this->shouldNotThrow()->duringNegativeMatch('contain', array(1,2,3), array('abc'));
44
+        $this->shouldNotThrow()->duringNegativeMatch('contain', array(1, 2, 3), array('abc'));
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/ArrayCountMatcherSpec.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 use PhpSpec\Exception\Example\FailureException;
10
-
11 9
 use ArrayObject;
12 10
 
13 11
 class ArrayCountMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     function it_matches_proper_array_count()
34 34
     {
35
-        $this->shouldNotThrow()->duringPositiveMatch('haveCount', array(1,2,3), array(3));
35
+        $this->shouldNotThrow()->duringPositiveMatch('haveCount', array(1, 2, 3), array(3));
36 36
     }
37 37
 
38 38
     function it_matches_proper_countable_count(ArrayObject $countable)
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     function it_does_not_match_wrong_array_count()
46 46
     {
47 47
         $this->shouldThrow(new FailureException('Expected countable to have 2 items, but got 3.'))
48
-            ->duringPositiveMatch('haveCount', array(1,2,3), array(2));
48
+            ->duringPositiveMatch('haveCount', array(1, 2, 3), array(2));
49 49
     }
50 50
 
51 51
     function it_does_not_match_proper_countable_count(ArrayObject $countable)
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     function it_mismatches_wrong_array_count()
60 60
     {
61
-        $this->shouldNotThrow()->duringNegativeMatch('haveCount', array(1,2,3), array(2));
61
+        $this->shouldNotThrow()->duringNegativeMatch('haveCount', array(1, 2, 3), array(2));
62 62
     }
63 63
 
64 64
     function it_mismatches_wrong_countable_count(ArrayObject $countable)
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/ArrayKeyMatcherSpec.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9
-
10 8
 use ArrayObject;
11 9
 
12 10
 class ArrayKeyMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     function it_does_not_match_array_without_specified_key()
50 50
     {
51
-        $this->shouldThrow()->duringPositiveMatch('haveKey', array(1,2,3), array('abc'));
51
+        $this->shouldThrow()->duringPositiveMatch('haveKey', array(1, 2, 3), array('abc'));
52 52
     }
53 53
 
54 54
     function it_does_not_match_ArrayObject_without_provided_offset(ArrayObject $array)
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     function it_matches_array_without_specified_key()
62 62
     {
63
-        $this->shouldNotThrow()->duringNegativeMatch('haveKey', array(1,2,3), array('abc'));
63
+        $this->shouldNotThrow()->duringNegativeMatch('haveKey', array(1, 2, 3), array('abc'));
64 64
     }
65 65
 
66 66
     function it_matches_ArrayObject_without_specified_offset(ArrayObject $array)
Please login to merge, or discard this patch.