Completed
Pull Request — develop (#1492)
by Zack
28:58 queued 09:00
created
php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class InlineHTMLUnitTest extends AbstractSniffUnitTest
15
-{
14
+class InlineHTMLUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -25,8 +24,7 @@  discard block
 block discarded – undo
25 24
      *
26 25
      * @return array<int, int>
27 26
      */
28
-    public function getErrorList($testFile='')
29
-    {
27
+    public function getErrorList($testFile='') {
30 28
         switch ($testFile) {
31 29
         case 'InlineHTMLUnitTest.3.inc':
32 30
             return [4 => 1];
@@ -55,8 +53,7 @@  discard block
 block discarded – undo
55 53
      *
56 54
      * @return array<int, int>
57 55
      */
58
-    public function getWarningList($testFile='')
59
-    {
56
+    public function getWarningList($testFile='') {
60 57
         return [];
61 58
 
62 59
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class LowercasedFilenameUnitTest extends AbstractSniffUnitTest
15
-{
14
+class LowercasedFilenameUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array<int, int>
25 24
      */
26
-    public function getErrorList()
27
-    {
25
+    public function getErrorList() {
28 26
         return [1 => 1];
29 27
 
30 28
     }//end getErrorList()
@@ -38,8 +36,7 @@  discard block
 block discarded – undo
38 36
      *
39 37
      * @return array<int, int>
40 38
      */
41
-    public function getWarningList()
42
-    {
39
+    public function getWarningList() {
43 40
         return [];
44 41
 
45 42
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class OneClassPerFileUnitTest extends AbstractSniffUnitTest
15
-{
14
+class OneClassPerFileUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array<int, int>
25 24
      */
26
-    public function getErrorList()
27
-    {
25
+    public function getErrorList() {
28 26
         return [
29 27
             6  => 1,
30 28
             10 => 1,
@@ -41,8 +39,7 @@  discard block
 block discarded – undo
41 39
      *
42 40
      * @return array<int, int>
43 41
      */
44
-    public function getWarningList()
45
-    {
42
+    public function getWarningList() {
46 43
         return [];
47 44
 
48 45
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.6.inc 1 patch
Braces   -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,1 @@
 block discarded – undo
1 1
 <?php
2
-/** Why me?
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class LineLengthUnitTest extends AbstractSniffUnitTest
15
-{
14
+class LineLengthUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return void
25 24
      */
26
-    public function setCliValues($testFile, $config)
27
-    {
25
+    public function setCliValues($testFile, $config) {
28 26
         $config->tabWidth = 4;
29 27
 
30 28
     }//end setCliValues()
@@ -40,8 +38,7 @@  discard block
 block discarded – undo
40 38
      *
41 39
      * @return array<int, int>
42 40
      */
43
-    public function getErrorList($testFile='')
44
-    {
41
+    public function getErrorList($testFile='') {
45 42
         switch ($testFile) {
46 43
         case 'LineLengthUnitTest.1.inc':
47 44
             return [
@@ -73,8 +70,7 @@  discard block
 block discarded – undo
73 70
      *
74 71
      * @return array<int, int>
75 72
      */
76
-    public function getWarningList($testFile='')
77
-    {
73
+    public function getWarningList($testFile='') {
78 74
         switch ($testFile) {
79 75
         case 'LineLengthUnitTest.1.inc':
80 76
             return [
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class OneObjectStructurePerFileUnitTest extends AbstractSniffUnitTest
15
-{
14
+class OneObjectStructurePerFileUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array<int, int>
25 24
      */
26
-    public function getErrorList()
27
-    {
25
+    public function getErrorList() {
28 26
         return [
29 27
             6  => 1,
30 28
             10 => 1,
@@ -43,8 +41,7 @@  discard block
 block discarded – undo
43 41
      *
44 42
      * @return array<int, int>
45 43
      */
46
-    public function getWarningList()
47
-    {
44
+    public function getWarningList() {
48 45
         return [];
49 46
 
50 47
     }//end getWarningList()
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class LineEndingsUnitTest extends AbstractSniffUnitTest
15
-{
14
+class LineEndingsUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return void
25 24
      */
26
-    public function setCliValues($testFile, $config)
27
-    {
25
+    public function setCliValues($testFile, $config) {
28 26
         $config->tabWidth = 4;
29 27
 
30 28
     }//end setCliValues()
@@ -38,8 +36,7 @@  discard block
 block discarded – undo
38 36
      *
39 37
      * @return array<int, int>
40 38
      */
41
-    public function getErrorList()
42
-    {
39
+    public function getErrorList() {
43 40
         return [1 => 1];
44 41
 
45 42
     }//end getErrorList()
@@ -53,8 +50,7 @@  discard block
 block discarded – undo
53 50
      *
54 51
      * @return array<int, int>
55 52
      */
56
-    public function getWarningList()
57
-    {
53
+    public function getWarningList() {
58 54
         return [];
59 55
 
60 56
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class EndFileNoNewlineUnitTest extends AbstractSniffUnitTest
15
-{
14
+class EndFileNoNewlineUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -25,8 +24,7 @@  discard block
 block discarded – undo
25 24
      *
26 25
      * @return array<int, int>
27 26
      */
28
-    public function getErrorList($testFile='')
29
-    {
27
+    public function getErrorList($testFile='') {
30 28
         switch ($testFile) {
31 29
         case 'EndFileNoNewlineUnitTest.1.inc':
32 30
         case 'EndFileNoNewlineUnitTest.1.css':
@@ -54,8 +52,7 @@  discard block
 block discarded – undo
54 52
      *
55 53
      * @return array<int, int>
56 54
      */
57
-    public function getWarningList($testFile='')
58
-    {
55
+    public function getWarningList($testFile='') {
59 56
         return [];
60 57
 
61 58
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13 13
 
14
-class OneTraitPerFileUnitTest extends AbstractSniffUnitTest
15
-{
14
+class OneTraitPerFileUnitTest extends AbstractSniffUnitTest {
16 15
 
17 16
 
18 17
     /**
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array(int => int)
25 24
      */
26
-    public function getErrorList()
27
-    {
25
+    public function getErrorList() {
28 26
         return [
29 27
             6  => 1,
30 28
             10 => 1,
@@ -41,8 +39,7 @@  discard block
 block discarded – undo
41 39
      *
42 40
      * @return array(int => int)
43 41
      */
44
-    public function getWarningList()
45
-    {
42
+    public function getWarningList() {
46 43
         return [];
47 44
 
48 45
     }//end getWarningList()
Please login to merge, or discard this patch.