Skip to content

Commit

Permalink
cs (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Jan 23, 2024
1 parent aaae00b commit 585e750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 4 additions & 6 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
declare(strict_types=1);

use Symplify\EasyCodingStandard\Config\ECSConfig;
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;

return static function (ECSConfig $ecsConfig): void {
$ecsConfig->paths([__DIR__ . '/ecs.php', __DIR__ . '/rector.php', __DIR__ . '/src', __DIR__ . '/tests']);

$ecsConfig->sets([SetList::COMMON, SetList::PSR_12, SetList::SYMPLIFY]);
};
return ECSConfig::configure()
->withPaths([__DIR__ . '/src', __DIR__ . '/tests'])
->withRootFiles()
->withPreparedSets(psr12: true, common: true, symplify: true);
1 change: 0 additions & 1 deletion scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
),
);


// see https://github.com/humbug/php-scoper
return [
'prefix' => 'VendorPatches' . $timestamp,
Expand Down

0 comments on commit 585e750

Please sign in to comment.