Skip to content

Commit

Permalink
Merge 13da3d7 into afa4193
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed May 22, 2021
2 parents afa4193 + 13da3d7 commit 4cf9499
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Expand Up @@ -154,7 +154,7 @@ into the upstream repository is the same.
* [General GitHub documentation][gh-help]
* [GitHub pull request documentation][gh-help-pr]

[cs-conf]: ../.php_cs.dist
[cs-conf]: ../.php-cs-fixer.dist.php
[cs]: http://cs.sensiolabs.org/
[gh-help]: https://help.github.com
[gh-help-pr]: https://help.github.com/send-pull-requests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Expand Up @@ -19,4 +19,4 @@ jobs:
tools: php-cs-fixer

- name: Run PHP-CS-Fixer
run: php-cs-fixer fix --dry-run --diff --diff-format udiff
run: php-cs-fixer fix --dry-run --diff
6 changes: 3 additions & 3 deletions .php_cs.dist → .php-cs-fixer.dist.php
Expand Up @@ -21,7 +21,7 @@
file that was distributed with this source code.
HEADER;

return Config::create()
return (new Config())
->setUsingCache(true)
->setRiskyAllowed(true)
->setFinder((new Finder())->in(__DIR__))
Expand Down Expand Up @@ -57,7 +57,7 @@
'strategy' => 'no_multi_line',
],
'no_php4_constructor' => true,
'no_short_echo_tag' => true,
'echo_tag_syntax' => true,
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
Expand Down Expand Up @@ -85,7 +85,7 @@
'php_unit_test_class_requires_covers' => true,
'phpdoc_order' => true,
'phpdoc_summary' => false,
'psr4' => true,
'psr_autoloading' => true,
'semicolon_after_instruction' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down

0 comments on commit 4cf9499

Please sign in to comment.