Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Oct 8, 2024
1 parent 4da9a3e commit 44cd26d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"security-checker security:check": "script"
}
},
"ecs": "ecs check",
"phpstan": "phpstan analyse -c phpstan.neon -l max src/",
"psalm": "vendor/bin/psalm",
"phpunit": "phpunit",
"phpspec": "phpspec run",
"behat": "behat --strict -f progress --no-interaction || behat --strict -f progress --no-interaction --rerun",
"suite": [
"@ecs",
"@phpstan",
"@phpunit",
"@phpspec",
"@behat"
]
}
}
2 changes: 1 addition & 1 deletion ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
return static function (ECSConfig $ecsConfig): void {
$ecsConfig->import('vendor/sylius-labs/coding-standard/ecs.php');

$ecsConfig->parameters()->set(Option::SKIP, [
$ecsConfig->skip([
VisibilityRequiredFixer::class => ['*Spec.php'],
]);

Expand Down

0 comments on commit 44cd26d

Please sign in to comment.