Enable all CS Fixer rules, mask last Psalm errors.

pull/150/head
Anthony Birkett 4 years ago
parent 0e84574eda
commit ca9edb41c3

@ -13,16 +13,42 @@ return (new PhpCsFixer\Config())
'@PhpCsFixer:risky' => true,
'@Symfony' => 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,
'native_constant_invocation' => false,
'native_function_invocation' => false,
'php_unit_fqcn_annotation' => false,
'php_unit_test_case_static_method_calls' => false,
])
->setFinder(PhpCsFixer\Finder::create()
->exclude('vendor')
->in('Examples')
->in('SourceQuery')
->in('Tests')
->setFinder(
PhpCsFixer\Finder::create()
->exclude('vendor')
->in('Examples')
->in('SourceQuery')
->in('Tests')
)
;

@ -13,7 +13,9 @@ use xPaw\SourceQuery\SourceQuery;
/**
* @internal
* @coversNothing
* @covers \xPaw\SourceQuery\SourceQuery
*
* @psalm-suppress PropertyNotSetInConstructor
*/
final class Tests extends TestCase
{

Loading…
Cancel
Save