mirror of
https://github.com/deployphp/deployer.git
synced 2025-04-22 14:21:56 +02:00
wip
This commit is contained in:
parent
f57018cdb7
commit
e25bedc78b
@ -9,6 +9,14 @@ $finder = (new PhpCsFixer\Finder())
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
'@PER-CS' => true,
|
||||
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'array_destructuring', 'arrays']], // For PHP 7.4 compatibility
|
||||
|
||||
// Due to historical reasons we have to keep this.
|
||||
// Docs parser expects comment right after php tag.
|
||||
'blank_line_after_opening_tag' => false,
|
||||
|
||||
// For PHP 7.4 compatibility.
|
||||
'trailing_comma_in_multiline' => [
|
||||
'elements' => ['arguments', 'array_destructuring', 'arrays']
|
||||
],
|
||||
])
|
||||
->setFinder($finder);
|
||||
|
Loading…
x
Reference in New Issue
Block a user