Skip to content

Commit

Permalink
PHP CS Fixer min version 3.57
Browse files Browse the repository at this point in the history
Because parallel execution was introduced with that version. Also seems
that single_class_element_per_statement isn't necessary. It does not
change anything when ran without it. And also add funding block to
composer.json.
  • Loading branch information
otsch committed Nov 6, 2024
1 parent 2022f59 commit 2116947
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
->setRules([
'@PER-CS' => true,
'strict_param' => true,
'single_class_element_per_statement' => false,
'array_syntax' => ['syntax' => 'short'],
'no_unused_imports' => true,
])
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@
"phpstan/phpstan-mockery": "^1.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-phpunit": "^1.0",
"friendsofphp/php-cs-fixer": "^3.6",
"friendsofphp/php-cs-fixer": "^3.57",
"spatie/invade": "^2.0",
"symfony/process": "^6.0|^7.0"
},
"suggest": {
"ext-zlib": "Needed to uncompress compressed responses"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/otsch"
}
],
"autoload": {
"psr-4": {
"Crwlr\\Crawler\\": "src/"
Expand Down

0 comments on commit 2116947

Please sign in to comment.