mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-08-02 04:03:10 +02:00
Enable all CS Fixer rules, mask last Psalm errors.
This commit is contained in:
+27
-1
@@ -13,13 +13,39 @@ return (new PhpCsFixer\Config())
|
|||||||
'@PhpCsFixer:risky' => true,
|
'@PhpCsFixer:risky' => true,
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
'@Symfony:risky' => true,
|
'@Symfony:risky' => true,
|
||||||
|
'@PHP54Migration' => true,
|
||||||
|
'@PHP56Migration:risky' => true,
|
||||||
|
'@PHP70Migration' => true,
|
||||||
|
'@PHP70Migration:risky' => true,
|
||||||
|
'@PHP71Migration' => true,
|
||||||
|
'@PHP71Migration:risky' => true,
|
||||||
|
'@PHP73Migration' => true,
|
||||||
|
'@PHP74Migration' => true,
|
||||||
|
'@PHP74Migration:risky' => true,
|
||||||
|
'@PHP80Migration' => true,
|
||||||
|
'@PHP80Migration:risky' => true,
|
||||||
|
'@PHPUnit30Migration:risky' => true,
|
||||||
|
'@PHPUnit32Migration:risky' => true,
|
||||||
|
'@PHPUnit35Migration:risky' => true,
|
||||||
|
'@PHPUnit43Migration:risky' => true,
|
||||||
|
'@PHPUnit48Migration:risky' => true,
|
||||||
|
'@PHPUnit50Migration:risky' => true,
|
||||||
|
'@PHPUnit52Migration:risky' => true,
|
||||||
|
'@PHPUnit54Migration:risky' => true,
|
||||||
|
'@PHPUnit55Migration:risky' => true,
|
||||||
|
'@PHPUnit56Migration:risky' => true,
|
||||||
|
'@PHPUnit57Migration:risky' => true,
|
||||||
|
'@PHPUnit60Migration:risky' => true,
|
||||||
|
'@PHPUnit75Migration:risky' => true,
|
||||||
|
'@PHPUnit84Migration:risky' => true,
|
||||||
'concat_space' => false,
|
'concat_space' => false,
|
||||||
'native_constant_invocation' => false,
|
'native_constant_invocation' => false,
|
||||||
'native_function_invocation' => false,
|
'native_function_invocation' => false,
|
||||||
'php_unit_fqcn_annotation' => false,
|
'php_unit_fqcn_annotation' => false,
|
||||||
'php_unit_test_case_static_method_calls' => false,
|
'php_unit_test_case_static_method_calls' => false,
|
||||||
])
|
])
|
||||||
->setFinder(PhpCsFixer\Finder::create()
|
->setFinder(
|
||||||
|
PhpCsFixer\Finder::create()
|
||||||
->exclude('vendor')
|
->exclude('vendor')
|
||||||
->in('Examples')
|
->in('Examples')
|
||||||
->in('SourceQuery')
|
->in('SourceQuery')
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ use xPaw\SourceQuery\SourceQuery;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
* @coversNothing
|
* @covers \xPaw\SourceQuery\SourceQuery
|
||||||
|
*
|
||||||
|
* @psalm-suppress PropertyNotSetInConstructor
|
||||||
*/
|
*/
|
||||||
final class Tests extends TestCase
|
final class Tests extends TestCase
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user