Skip to content

Commit

Permalink
build(deps-dev): update friendsofphp/php-cs-fixer requirement from 2.…
Browse files Browse the repository at this point in the history
…19.0 to 3.0.0 (#4669)

Co-authored-by: Gregor Harlan <330436+gharlan@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and gharlan committed May 7, 2021
1 parent c127074 commit b1fe7a8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.php_cs.cache
.php-cs-fixer.cache
/.htaccess
/.phpunit.result.cache
/composer.lock
Expand Down
2 changes: 1 addition & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/scopes/core___core_addons.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
})
;

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setUsingCache(true)
->setRiskyAllowed(true)
->setRules([
Expand All @@ -51,6 +51,7 @@
'echo_tag_syntax' => false,
'heredoc_to_nowdoc' => true,
'list_syntax' => ['syntax' => 'short'],
'method_argument_space' => ['on_multiline' => 'ignore'],
'native_constant_invocation' => false,
'no_alternative_syntax' => false,
'no_blank_lines_after_phpdoc' => false,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"php": ">=7.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.19.0",
"friendsofphp/php-cs-fixer": "3.0.0",
"friendsofredaxo/linter": "1.3.0",
"phpstan/extension-installer": "1.1.0",
"phpstan/phpstan": "0.12.85",
Expand Down

0 comments on commit b1fe7a8

Please sign in to comment.