Skip to content

Commit

Permalink
DevKit updates for 3.x branch (#1588)
Browse files Browse the repository at this point in the history
* DevKit updates

* DevKit updates
  • Loading branch information
SonataCI committed Sep 4, 2022
1 parent 565b9c5 commit 9389aab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .php-cs-fixer.dist.php
Expand Up @@ -45,6 +45,11 @@
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
'ordered_class_elements' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']],
'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']],
'phpdoc_separation' => ['groups' => [
['phpstan-template', 'phpstan-template-covariant', 'phpstan-extends', 'phpstan-implements', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return'],
['psalm-suppress', 'phpstan-ignore-next-line'],
]],
'php_unit_strict' => true,
'php_unit_test_case_static_method_calls' => true,
'phpdoc_to_comment' => ['ignored_tags' => ['psalm-suppress', 'phpstan-var']],
Expand Down

0 comments on commit 9389aab

Please sign in to comment.