diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index ea25865..57a524e 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -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, ]) diff --git a/composer.json b/composer.json index 7d1c3dc..dca4717 100644 --- a/composer.json +++ b/composer.json @@ -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/"