Skip to content

Commit

Permalink
Force Line Ending + diff
Browse files Browse the repository at this point in the history
  • Loading branch information
b-viguier committed Aug 19, 2024
1 parent 026a737 commit 643db68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
'ordered_class_elements' => ['order' => ['use_trait', 'public', 'protected', 'private']],
'single_line_empty_body' => true,
])
->setLineEnding("\n")
->setLineEnding(PHP_EOL)
->setFinder($finder);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"scripts": {
"siglot:phpstan": "phpstan analyse -v --memory-limit 1G",
"siglot:phpunit": "phpunit",
"siglot:cs-fixer": "php-cs-fixer check -v",
"siglot:cs-fixer": "php-cs-fixer check -v --diff",
"siglot:cs-fixer:fix": "php-cs-fixer fix",
"siglot:local-ci": [
"@siglot:phpstan",
Expand Down

0 comments on commit 643db68

Please sign in to comment.