Skip to content

Commit

Permalink
Added php-cs-fixer rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jul 4, 2024
1 parent e685a16 commit 7e6d4fe
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 7e6d4fe

Please sign in to comment.