Passed
Push — main ( 01fb06...c551fb )
by Siad
06:07
created
tests/Phing/Task/System/EchoXMLTest.php 5 patches
Indentation   -12 removed lines patch added patch discarded remove patch
@@ -50,15 +50,3 @@
 block discarded – undo
50 50
         $this->assertStringEqualsFile(
51 51
             $this->getProject()->getProperty('file'),
52 52
             <<< 'XML'
53
-                <project name="failure" default="" basedir=".">
54
-                  <fail message="foo=bar"/>
55
-                </project>
56
-                XML
57
-        );
58
-    }
59
-
60
-    public function testEmpty(): void
61
-    {
62
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
63
-    }
64
-}
Please login to merge, or discard this patch.
Switch Indentation   -12 removed lines patch added patch discarded remove patch
@@ -50,15 +50,3 @@
 block discarded – undo
50 50
         $this->assertStringEqualsFile(
51 51
             $this->getProject()->getProperty('file'),
52 52
             <<< 'XML'
53
-                <project name="failure" default="" basedir=".">
54
-                  <fail message="foo=bar"/>
55
-                </project>
56
-                XML
57
-        );
58
-    }
59
-
60
-    public function testEmpty(): void
61
-    {
62
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
63
-    }
64
-}
Please login to merge, or discard this patch.
Spacing   -12 removed lines patch added patch discarded remove patch
@@ -50,15 +50,3 @@
 block discarded – undo
50 50
         $this->assertStringEqualsFile(
51 51
             $this->getProject()->getProperty('file'),
52 52
             <<< 'XML'
53
-                <project name="failure" default="" basedir=".">
54
-                  <fail message="foo=bar"/>
55
-                </project>
56
-                XML
57
-        );
58
-    }
59
-
60
-    public function testEmpty(): void
61
-    {
62
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
63
-    }
64
-}
Please login to merge, or discard this patch.
Braces   -12 removed lines patch added patch discarded remove patch
@@ -50,15 +50,3 @@
 block discarded – undo
50 50
         $this->assertStringEqualsFile(
51 51
             $this->getProject()->getProperty('file'),
52 52
             <<< 'XML'
53
-                <project name="failure" default="" basedir=".">
54
-                  <fail message="foo=bar"/>
55
-                </project>
56
-                XML
57
-        );
58
-    }
59
-
60
-    public function testEmpty(): void
61
-    {
62
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
63
-    }
64
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -12 removed lines patch added patch discarded remove patch
@@ -50,15 +50,3 @@
 block discarded – undo
50 50
         $this->assertStringEqualsFile(
51 51
             $this->getProject()->getProperty('file'),
52 52
             <<< 'XML'
53
-                <project name="failure" default="" basedir=".">
54
-                  <fail message="foo=bar"/>
55
-                </project>
56
-                XML
57
-        );
58
-    }
59
-
60
-    public function testEmpty(): void
61
-    {
62
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
63
-    }
64
-}
Please login to merge, or discard this patch.
tests/Phing/Filter/StripWhitespaceTest.php 5 patches
Indentation   -9 removed lines patch added patch discarded remove patch
@@ -47,12 +47,3 @@
 block discarded – undo
47 47
         $resultFile = $this->getProject()->resolveFile('result/stripwhitespace.test');
48 48
 
49 49
         $expected = <<<'EXPECTED'
50
-            <?php
51
-            class { public function __construct() { return ''; } }
52
-            EXPECTED;
53
-
54
-        $result = file_get_contents($resultFile->getAbsolutePath());
55
-
56
-        $this->assertEquals($expected, $result, "Files don't match!");
57
-    }
58
-}
Please login to merge, or discard this patch.
Switch Indentation   -9 removed lines patch added patch discarded remove patch
@@ -47,12 +47,3 @@
 block discarded – undo
47 47
         $resultFile = $this->getProject()->resolveFile('result/stripwhitespace.test');
48 48
 
49 49
         $expected = <<<'EXPECTED'
50
-            <?php
51
-            class { public function __construct() { return ''; } }
52
-            EXPECTED;
53
-
54
-        $result = file_get_contents($resultFile->getAbsolutePath());
55
-
56
-        $this->assertEquals($expected, $result, "Files don't match!");
57
-    }
58
-}
Please login to merge, or discard this patch.
Spacing   -9 removed lines patch added patch discarded remove patch
@@ -47,12 +47,3 @@
 block discarded – undo
47 47
         $resultFile = $this->getProject()->resolveFile('result/stripwhitespace.test');
48 48
 
49 49
         $expected = <<<'EXPECTED'
50
-            <?php
51
-            class { public function __construct() { return ''; } }
52
-            EXPECTED;
53
-
54
-        $result = file_get_contents($resultFile->getAbsolutePath());
55
-
56
-        $this->assertEquals($expected, $result, "Files don't match!");
57
-    }
58
-}
Please login to merge, or discard this patch.
Braces   -9 removed lines patch added patch discarded remove patch
@@ -47,12 +47,3 @@
 block discarded – undo
47 47
         $resultFile = $this->getProject()->resolveFile('result/stripwhitespace.test');
48 48
 
49 49
         $expected = <<<'EXPECTED'
50
-            <?php
51
-            class { public function __construct() { return ''; } }
52
-            EXPECTED;
53
-
54
-        $result = file_get_contents($resultFile->getAbsolutePath());
55
-
56
-        $this->assertEquals($expected, $result, "Files don't match!");
57
-    }
58
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -9 removed lines patch added patch discarded remove patch
@@ -47,12 +47,3 @@
 block discarded – undo
47 47
         $resultFile = $this->getProject()->resolveFile('result/stripwhitespace.test');
48 48
 
49 49
         $expected = <<<'EXPECTED'
50
-            <?php
51
-            class { public function __construct() { return ''; } }
52
-            EXPECTED;
53
-
54
-        $result = file_get_contents($resultFile->getAbsolutePath());
55
-
56
-        $this->assertEquals($expected, $result, "Files don't match!");
57
-    }
58
-}
Please login to merge, or discard this patch.