@@ -25,14 +25,12 @@ |
||
25 | 25 | * Class MozartIssue108Test |
26 | 26 | * @coversNothing |
27 | 27 | */ |
28 | -class MozartIssue108Test extends IntegrationTestCase |
|
29 | -{ |
|
28 | +class MozartIssue108Test extends IntegrationTestCase { |
|
30 | 29 | |
31 | 30 | /** |
32 | 31 | * WooCommerce Action Scheduler ... has no autoload key. But also needs some Mozart patches to work correctly. |
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 | { |
@@ -15,16 +15,14 @@ |
||
15 | 15 | * @package BrianHenryIE\Strauss\Tests\Issues |
16 | 16 | * @coversNothing |
17 | 17 | */ |
18 | -class MozartIssue90Test extends IntegrationTestCase |
|
19 | -{ |
|
18 | +class MozartIssue90Test extends IntegrationTestCase { |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Issue 90. Needs "iio/libmergepdf". |
23 | 22 | * |
24 | 23 | * Error: "File already exists at path: classmap_directory/tecnickcom/tcpdf/tcpdf.php". |
25 | 24 | */ |
26 | - public function testLibpdfmergeSucceeds() |
|
27 | - { |
|
25 | + public function testLibpdfmergeSucceeds() { |
|
28 | 26 | |
29 | 27 | $composerJsonString = <<<'EOD' |
30 | 28 | { |
@@ -16,16 +16,14 @@ discard block |
||
16 | 16 | * Class NamespaceReplacerIntegrationTest |
17 | 17 | * @coversNothing |
18 | 18 | */ |
19 | -class MozartIssue86Test extends IntegrationTestCase |
|
20 | -{ |
|
19 | +class MozartIssue86Test extends IntegrationTestCase { |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * Issue #86 – "class as" appeared in a comment and later the keyword as was prefixed! |
24 | 23 | * |
25 | 24 | * Solved by https://github.com/ziodave |
26 | 25 | */ |
27 | - public function test_do_not_parse_comments_to_classnames() |
|
28 | - { |
|
26 | + public function test_do_not_parse_comments_to_classnames() { |
|
29 | 27 | |
30 | 28 | $composerJsonString = <<<'EOD' |
31 | 29 | { |
@@ -78,8 +76,7 @@ discard block |
||
78 | 76 | * |
79 | 77 | * @see https://github.com/afragen/wp-dependency-installer/ |
80 | 78 | */ |
81 | - public function test_do_not_parse_comments_to_classnames_wp_dependency_installer() |
|
82 | - { |
|
79 | + public function test_do_not_parse_comments_to_classnames_wp_dependency_installer() { |
|
83 | 80 | |
84 | 81 | $composerJsonString = <<<'EOD' |
85 | 82 | { |
@@ -14,16 +14,14 @@ |
||
14 | 14 | * @package BrianHenryIE\Strauss\Tests\Issues |
15 | 15 | * @coversNothing |
16 | 16 | */ |
17 | -class StraussIssue19Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase |
|
18 | -{ |
|
17 | +class StraussIssue19Test extends \BrianHenryIE\Strauss\Tests\Integration\Util\IntegrationTestCase { |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * Need to make the class finder in change enumerator stricter. |
22 | 21 | * |
23 | 22 | * @author BrianHenryIE |
24 | 23 | */ |
25 | - public function testObjectIsNotPrefixed() |
|
26 | - { |
|
24 | + public function testObjectIsNotPrefixed() { |
|
27 | 25 | |
28 | 26 | $composerJsonString = <<<'EOD' |
29 | 27 | { |
@@ -12,8 +12,7 @@ discard block |
||
12 | 12 | * @package BrianHenryIE\Strauss\Tests\Issues |
13 | 13 | * @coversNothing |
14 | 14 | */ |
15 | -class MozartIssue97Test extends IntegrationTestCase |
|
16 | -{ |
|
15 | +class MozartIssue97Test extends IntegrationTestCase { |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * Issue 97. Package named "crewlabs/unsplash" is downloaded to `vendor/crewlabs/unsplash` but their composer.json |
@@ -21,8 +20,7 @@ discard block |
||
21 | 20 | * |
22 | 21 | * "The "/Users/BrianHenryIE/Sites/mozart-97/vendor/unsplash/unsplash/src" directory does not exist." |
23 | 22 | */ |
24 | - public function testCrewlabsUnsplashSucceeds() |
|
25 | - { |
|
23 | + public function testCrewlabsUnsplashSucceeds() { |
|
26 | 24 | |
27 | 25 | $composerJsonString = <<<'EOD' |
28 | 26 | { |
@@ -17,8 +17,7 @@ discard block |
||
17 | 17 | * @package BrianHenryIE\Strauss\Tests\Issues |
18 | 18 | * @coversNothing |
19 | 19 | */ |
20 | -class MozartIssue48Test extends IntegrationTestCase |
|
21 | -{ |
|
20 | +class MozartIssue48Test extends IntegrationTestCase { |
|
22 | 21 | |
23 | 22 | /** |
24 | 23 | * rubix/tensor |
@@ -26,8 +25,7 @@ discard block |
||
26 | 25 | * Mozart was only processing one of the PSR-4 autoload paths, in which case it was not copying (amongst others) |
27 | 26 | * `EigenvalueDecomposition.php` at all. Test for its presence. |
28 | 27 | */ |
29 | - public function testRubixTensorBothPathsPersist() |
|
30 | - { |
|
28 | + public function testRubixTensorBothPathsPersist() { |
|
31 | 29 | |
32 | 30 | $composerJsonString = <<<'EOD' |
33 | 31 | { |
@@ -29,14 +29,12 @@ |
||
29 | 29 | * @package BrianHenryIE\Strauss\Tests\Issues |
30 | 30 | * @coversNothing |
31 | 31 | */ |
32 | -class MozartIssue62Test extends IntegrationTestCase |
|
33 | -{ |
|
32 | +class MozartIssue62Test extends IntegrationTestCase { |
|
34 | 33 | |
35 | 34 | /** |
36 | 35 | * Just confirms `use Guzzle\Common\Collection;` is prefixed. |
37 | 36 | */ |
38 | - public function testGuzzleNamespaceIsPrefixedInS3Client() |
|
39 | - { |
|
37 | + public function testGuzzleNamespaceIsPrefixedInS3Client() { |
|
40 | 38 | $this->markTestSkipped('Very slow to run'); |
41 | 39 | |
42 | 40 | $composerJsonString = <<<'EOD' |
@@ -15,8 +15,7 @@ discard block |
||
15 | 15 | * Class MozartIssue93Test |
16 | 16 | * @coversNothing |
17 | 17 | */ |
18 | -class MozartIssue93Test extends IntegrationTestCase |
|
19 | -{ |
|
18 | +class MozartIssue93Test extends IntegrationTestCase { |
|
20 | 19 | /** |
21 | 20 | * Issue #93 shows a classname being updated inside a class whose namespace has also been updated |
22 | 21 | * by Mozart. |
@@ -26,8 +25,7 @@ discard block |
||
26 | 25 | * |
27 | 26 | * @author BrianHenryIE |
28 | 27 | */ |
29 | - public function test_it_does_not_make_classname_replacement_inside_namespaced_file() |
|
30 | - { |
|
28 | + public function test_it_does_not_make_classname_replacement_inside_namespaced_file() { |
|
31 | 29 | |
32 | 30 | $this->markTestSkipped('Not respecting the pinned commit.'); |
33 | 31 |
@@ -18,8 +18,7 @@ discard block |
||
18 | 18 | * @package BrianHenryIE\Strauss\Tests\Issues |
19 | 19 | * @coversNothing |
20 | 20 | */ |
21 | -class MozartIssue43Test extends IntegrationTestCase |
|
22 | -{ |
|
21 | +class MozartIssue43Test extends IntegrationTestCase { |
|
23 | 22 | |
24 | 23 | /** |
25 | 24 | * Issue 43. Needs "aws/aws-sdk-php". |
@@ -27,8 +26,7 @@ discard block |
||
27 | 26 | * League\Flysystem\FileExistsException : File already exists at path: |
28 | 27 | * dep_directory/vendor/guzzle/guzzle/src/Guzzle/Cache/Zf1CacheAdapter.php |
29 | 28 | */ |
30 | - public function testAwsSdkSucceeds() |
|
31 | - { |
|
29 | + public function testAwsSdkSucceeds() { |
|
32 | 30 | $this->markTestSkipped('Very slow to run'); |
33 | 31 | |
34 | 32 | $composerJsonString = <<<'EOD' |