diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index b885676..2443f84 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -17,9 +17,15 @@ return $config 'phpdoc_var_annotation_correct_order' => true, 'single_line_empty_body' => true, 'ternary_to_null_coalescing' => true, + 'phpdoc_align' => ['align' => 'left'], + 'concat_space' => ['spacing' => 'one'], + 'global_namespace_import' => [ + 'import_classes' => true, + 'import_constants' => true, + 'import_functions' => true, + ], ]) ->setFinder(PhpCsFixer\Finder::create() - // ->exclude('folder-to-exclude') // if you want to exclude some folders, you can do it like this! ->in(__DIR__.'/src') ->in(__DIR__.'/tests') ); diff --git a/phpstan.neon b/phpstan.neon index bc72a37..cc317e6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,4 @@ parameters: level: max paths: - - src - - tests \ No newline at end of file + - src \ No newline at end of file