Files
pcm-metadata-bundle/.php-cs-fixer.dist.php
2025-11-27 14:59:45 +00:00

34 lines
998 B
PHP
Executable File

<?php
declare(strict_types=1);
return new PhpCsFixer\Config()->setRules([
'@Symfony' => true,
'binary_operator_spaces' => [
'operators' => [
'=' => 'align_single_space',
'=>' => 'align_single_space',
],
],
'single_blank_line_at_eof' => true,
'phpdoc_align' => false,
'phpdoc_to_comment' => false,
'strict_comparison' => true,
'declare_strict_types' => true,
'single_trait_insert_per_statement' => false,
'nullable_type_declaration_for_default_null_value' => true,
'increment_style' => [
'style' => 'post',
],
])
->setFinder(
new PhpCsFixer\Finder()
->in(__DIR__)
->exclude('var')
)
;