@@ -20,11 +20,9 @@ discard block |
||
| 20 | 20 | * @package BrianHenryIE\Strauss\Tests\Integration |
| 21 | 21 | * @coversNothing |
| 22 | 22 | */ |
| 23 | -class ReplacerIntegrationTest extends IntegrationTestCase |
|
| 24 | -{ |
|
| 23 | +class ReplacerIntegrationTest extends IntegrationTestCase { |
|
| 25 | 24 | |
| 26 | - public function testReplaceNamespace() |
|
| 27 | - { |
|
| 25 | + public function testReplaceNamespace() { |
|
| 28 | 26 | |
| 29 | 27 | $composerJsonString = <<<'EOD' |
| 30 | 28 | { |
@@ -87,8 +85,7 @@ discard block |
||
| 87 | 85 | } |
| 88 | 86 | |
| 89 | 87 | |
| 90 | - public function testReplaceClass() |
|
| 91 | - { |
|
| 88 | + public function testReplaceClass() { |
|
| 92 | 89 | |
| 93 | 90 | $composerJsonString = <<<'EOD' |
| 94 | 91 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * @package BrianHenryIE\Strauss\Tests\Integration |
| 7 | 7 | * @coversNothing |
| 8 | 8 | */ |
| 9 | -class CleanupIntegrationTest |
|
| 10 | -{ |
|
| 9 | +class CleanupIntegrationTest { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -16,11 +16,9 @@ discard block |
||
| 16 | 16 | * @package BrianHenryIE\Strauss |
| 17 | 17 | * @coversNothing |
| 18 | 18 | */ |
| 19 | -class FileEnumeratorIntegrationTest extends IntegrationTestCase |
|
| 20 | -{ |
|
| 19 | +class FileEnumeratorIntegrationTest extends IntegrationTestCase { |
|
| 21 | 20 | |
| 22 | - public function testBuildFileList() |
|
| 23 | - { |
|
| 21 | + public function testBuildFileList() { |
|
| 24 | 22 | |
| 25 | 23 | $composerJsonString = <<<'EOD' |
| 26 | 24 | { |
@@ -65,14 +63,12 @@ discard block |
||
| 65 | 63 | } |
| 66 | 64 | |
| 67 | 65 | |
| 68 | - public function testClassmapAutoloader() |
|
| 69 | - { |
|
| 66 | + public function testClassmapAutoloader() { |
|
| 70 | 67 | $this->markTestIncomplete(); |
| 71 | 68 | } |
| 72 | 69 | |
| 73 | 70 | |
| 74 | - public function testFilesAutoloader() |
|
| 75 | - { |
|
| 71 | + public function testFilesAutoloader() { |
|
| 76 | 72 | $this->markTestIncomplete(); |
| 77 | 73 | } |
| 78 | 74 | } |
@@ -15,14 +15,12 @@ |
||
| 15 | 15 | * @package BrianHenryIE\Strauss |
| 16 | 16 | * @coversNothing |
| 17 | 17 | */ |
| 18 | -class ChangeEnumeratorIntegrationTest extends IntegrationTestCase |
|
| 19 | -{ |
|
| 18 | +class ChangeEnumeratorIntegrationTest extends IntegrationTestCase { |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * Given a list of files, find all the global classes and the namespaces. |
| 23 | 22 | */ |
| 24 | - public function testOne() |
|
| 25 | - { |
|
| 23 | + public function testOne() { |
|
| 26 | 24 | |
| 27 | 25 | $composerJsonString = <<<'EOD' |
| 28 | 26 | { |
@@ -19,8 +19,7 @@ discard block |
||
| 19 | 19 | * @package BrianHenryIE\Strauss\Tests\Issues |
| 20 | 20 | * @coversNothing |
| 21 | 21 | */ |
| 22 | -class MozartIssue66Test extends IntegrationTestCase |
|
| 23 | -{ |
|
| 22 | +class MozartIssue66Test extends IntegrationTestCase { |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * |
@@ -35,8 +34,7 @@ discard block |
||
| 35 | 34 | * ] |
| 36 | 35 | * }, |
| 37 | 36 | */ |
| 38 | - public function testFilesAutoloaderIsUsed() |
|
| 39 | - { |
|
| 37 | + public function testFilesAutoloaderIsUsed() { |
|
| 40 | 38 | |
| 41 | 39 | $composerJsonString = <<<'EOD' |
| 42 | 40 | { |
@@ -14,14 +14,12 @@ |
||
| 14 | 14 | * @package BrianHenryIE\Strauss\Tests\Issues |
| 15 | 15 | * @coversNothing |
| 16 | 16 | */ |
| 17 | -class StraussIssue8Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase |
|
| 18 | -{ |
|
| 17 | +class StraussIssue8Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase { |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * @author BrianHenryIE |
| 22 | 21 | */ |
| 23 | - public function test_delete_vendor_files() |
|
| 24 | - { |
|
| 22 | + public function test_delete_vendor_files() { |
|
| 25 | 23 | |
| 26 | 24 | $composerJsonString = <<<'EOD' |
| 27 | 25 | { |
@@ -19,14 +19,12 @@ |
||
| 19 | 19 | * @package BrianHenryIE\Strauss\Tests\Issues |
| 20 | 20 | * @coversNothing |
| 21 | 21 | */ |
| 22 | -class MozartIssue130Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase |
|
| 23 | -{ |
|
| 22 | +class MozartIssue130Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase { |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * @author BrianHenryIE |
| 27 | 26 | */ |
| 28 | - public function test_config_copied() |
|
| 29 | - { |
|
| 27 | + public function test_config_copied() { |
|
| 30 | 28 | |
| 31 | 29 | $composerJsonString = <<<'EOD' |
| 32 | 30 | { |
@@ -15,15 +15,13 @@ |
||
| 15 | 15 | * Class MozartIssue128Test |
| 16 | 16 | * @coversNothing |
| 17 | 17 | */ |
| 18 | -class MozartIssue128Test extends IntegrationTestCase |
|
| 19 | -{ |
|
| 18 | +class MozartIssue128Test extends IntegrationTestCase { |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * Because the neither package was a sub-package of the other, the replacing was not occurring |
| 23 | 22 | * throughout. |
| 24 | 23 | */ |
| 25 | - public function test_it_does_not_make_classname_replacement_inside_namespaced_file() |
|
| 26 | - { |
|
| 24 | + public function test_it_does_not_make_classname_replacement_inside_namespaced_file() { |
|
| 27 | 25 | |
| 28 | 26 | $this->markTestSkipped("Failing on PHP 8"); |
| 29 | 27 | |
@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | * Class MozartIssue124Test |
| 18 | 18 | * @coversNothing |
| 19 | 19 | */ |
| 20 | -class MozartIssue124Test extends IntegrationTestCase |
|
| 21 | -{ |
|
| 20 | +class MozartIssue124Test extends IntegrationTestCase { |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * After PR #84, running Mozart on Mpdf began prefixing the class name inside the namespaced file. |
@@ -31,8 +30,7 @@ discard block |
||
| 31 | 30 | * |
| 32 | 31 | * Should be: "class Mpdf implements" because its namespace has already been prefixed. |
| 33 | 32 | */ |
| 34 | - public function test_it_does_not_make_classname_replacement_inside_namespaced_file() |
|
| 35 | - { |
|
| 33 | + public function test_it_does_not_make_classname_replacement_inside_namespaced_file() { |
|
| 36 | 34 | |
| 37 | 35 | $composerJsonString = <<<'EOD' |
| 38 | 36 | { |
@@ -82,8 +80,7 @@ discard block |
||
| 82 | 80 | * |
| 83 | 81 | * @see https://github.com/coenjacobs/mozart/issues/124 |
| 84 | 82 | */ |
| 85 | - public function test_it_does_not_prefix_function_argument_types_whose_classname_matches_the_namespace() |
|
| 86 | - { |
|
| 83 | + public function test_it_does_not_prefix_function_argument_types_whose_classname_matches_the_namespace() { |
|
| 87 | 84 | |
| 88 | 85 | |
| 89 | 86 | $composerJsonString = <<<'EOD' |
@@ -131,8 +128,7 @@ discard block |
||
| 131 | 128 | * |
| 132 | 129 | * @see mpdf/mpdf/src/Barcode/BarcodeException.php |
| 133 | 130 | */ |
| 134 | - public function testItDoesPrefixNamespacedExtends() |
|
| 135 | - { |
|
| 131 | + public function testItDoesPrefixNamespacedExtends() { |
|
| 136 | 132 | |
| 137 | 133 | |
| 138 | 134 | $composerJsonString = <<<'EOD' |