Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Updated libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsenter committed May 14, 2021
1 parent a3fdebd commit f27dd68
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 29 deletions.
4 changes: 1 addition & 3 deletions .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@
'no_binary_string' => true,
'no_empty_phpdoc' => true,
'no_null_property_initialization' => true,
'no_short_echo_tag' => true,
'no_superfluous_elseif' => true,
'no_unneeded_curly_braces' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => true,
'php_unit_internal_class' => true,
'php_unit_ordered_covers' => true,
'php_unit_test_class_requires_covers' => true,
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_order' => true,
Expand Down Expand Up @@ -110,7 +108,7 @@
->ignoreDotFiles(true)
->ignoreVCS(true);

return \PhpCsFixer\Config::create()
return (new \PhpCsFixer\Config())
->setFinder($finder)
->setRules($rules)
->setIndent(' ')
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
],
"scripts": {
"fixer": "php-cs-fixer fix --show-progress=estimating --verbose --ansi",
"fixer": "php-cs-fixer fix --show-progress=dots --verbose --ansi",
"pull": [
"rm -rf ./cache/*/ ./vendor/ ./node_modules/ ./composer.lock ./package-lock.json",
"composer clearcache --ansi",
Expand Down
55 changes: 30 additions & 25 deletions composer.lock

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

0 comments on commit f27dd68

Please sign in to comment.