-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd16b8e
commit ff0d62d
Showing
9 changed files
with
118 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,40 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of Nexus CS Config. | ||
* | ||
* (c) 2020 John Paul E. Balandan, CPA <paulbalandan@gmail.com> | ||
* | ||
* For the full copyright and license information, please view | ||
* the LICENSE file that was distributed with this source code. | ||
*/ | ||
<?php declare(strict_types = 1); | ||
|
||
$ignoreErrors = []; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with arguments "\\\\n", string and string will always evaluate to true\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php', | ||
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with arguments "\\\\n", string and string will always evaluate to true\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/src/Test/AbstractCustomFixerTestCase.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Method Nexus\\\\CsConfig\\\\Test\\\\AbstractCustomFixerTestCase\\:\\:getLinter\\(\\) should return PhpCsFixer\\\\Linter\\\\LinterInterface but returns mixed\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/src/Test/AbstractCustomFixerTestCase.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Method Nexus\\\\CsConfig\\\\Test\\\\AbstractCustomFixerTestCase\\:\\:getLinter\\(\\) should return PhpCsFixer\\\\Linter\\\\LinterInterface but returns mixed\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php', | ||
'message' => '#^Cannot access offset \'header\' on array\\<string, mixed\\>\\|bool\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/tests/FactoryTest.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Only numeric types are allowed in pre\\-increment, int\\<0, max\\>\\|false given\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__.'/src/Test/AbstractCustomFixerTestCase.php', | ||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\NoCodeSeparatorCommentFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/tests/Fixer/Comment/NoCodeSeparatorCommentFixerTest.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Cannot access offset \'header\' on array\\<string, mixed\\>\\|bool\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__.'/tests/FactoryTest.php', | ||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\SpaceAfterCommentStartFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/tests/Fixer/Comment/SpaceAfterCommentStartFixerTest.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__.'/tests/Test/FixerProviderTest.php', | ||
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/tests/Test/FixerProviderTest.php', | ||
]; | ||
$ignoreErrors[] = [ | ||
'message' => '#^Method \\S+Test\\:\\:\\S+ return type has no value type specified in iterable type iterable\\.$#', | ||
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Test\\\\FixerProviderTest\\:\\:provideCreateMethodGivesNoDeprecatedBuiltInFixersCases\\(\\) return type has no value type specified in iterable type iterable\\.$#', | ||
'count' => 1, | ||
'path' => __DIR__ . '/tests/Test/FixerProviderTest.php', | ||
]; | ||
|
||
return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters