Completed
Pull Request — master (#39)
by
unknown
09:03
created
tests/Sniffs/Namespaces/UseInAlphabeticalOrder/wrong.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use A;
4
-use X;
5
-use B;
6
-use D;
7
-
8 3
 
9 4
 class Presenter
10 5
 {
Please login to merge, or discard this patch.
tests/Sniffs/Namespaces/UseInAlphabeticalOrder/wrong2.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use MyNamespace\InTheEnd;
4
-use MyNamespace\AtTheStart as Top;
5
-
6 3
 
7 4
 class Presenter
8 5
 {
Please login to merge, or discard this patch.
tests/Sniffs/Namespaces/UseInAlphabeticalOrder/wrong3.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use A;
4
-use C;
5
-
6 3
 
7 4
 class Presenter
8 5
 {
Please login to merge, or discard this patch.
tests/Sniffs/Naming/Bool/correct.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
 	/**
25 25
 	 * @param bool $strict Check if boolean value has changed.
26
-	 * @return bool
26
+	 * @return integer|null
27 27
 	 */
28 28
 	public function hasChanged($strict = FALSE)
29 29
 	{
Please login to merge, or discard this patch.
tests/Sniffs/Naming/Bool/wrong.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 	/**
20 20
 	 * @param boolean $strict Check if boolean value has changed.
21
-	 * @return boolean
21
+	 * @return integer|null
22 22
 	 */
23 23
 	public function hasChanged($strict = FALSE)
24 24
 	{
Please login to merge, or discard this patch.
tests/Sniffs/Naming/Int/correct.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
 
24 24
 	/**
25
-	 * @param int $count Check if integer value is > 0.
25
+	 * @param boolean $count Check if integer value is > 0.
26 26
 	 * @return int
27 27
 	 */
28 28
 	public function hasChanged($count = 0)
Please login to merge, or discard this patch.
tests/Sniffs/Naming/Int/wrong.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
 
19 19
 	/**
20
-	 * @param integer $strict Check if integer value has changed.
20
+	 * @param boolean $strict Check if integer value has changed.
21 21
 	 * @return integer
22 22
 	 */
23 23
 	public function hasChanged($strict = 0)
Please login to merge, or discard this patch.