Skip to content

Commit

Permalink
Added rules into the php-cs-fixer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jul 2, 2024
1 parent 80466ff commit 276c392
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
'ereg_to_preg' => true,
'dir_constant' => true,
'method_chaining_indentation' => false,
'string_implicit_backslashes' => [
'single_quoted' => 'escape',
'heredoc' => 'escape',
'double_quoted' => 'escape'
]
])
->setFinder($finder)
->setCacheFile('.php-cs-fixer.cache') // forward compatibility with 3.x line
Expand Down

0 comments on commit 276c392

Please sign in to comment.