Skip to content

Commit

Permalink
chore: check for nullable_type_declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jul 29, 2024
1 parent da6ffc2 commit bd663fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
$config = new PhpCsFixer\Config();
$config->setRules([
'@PSR1' => true,
'@Symfony' => true
'@Symfony' => true,
'nullable_type_declaration' => [
'syntax' => 'question_mark',
],
'nullable_type_declaration_for_default_null_value' => true,
]);
$config->setFinder($finder);
return $config;

0 comments on commit bd663fd

Please sign in to comment.