Skip to content

Commit

Permalink
minor Sylius#13909 [Maintenance] Specify the default path in the ECS …
Browse files Browse the repository at this point in the history
…configuration (coldic3)

This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
| License         | MIT

It makes ECS execution a little bit easier 🙂 

Before:
```bash
vendor/bin/ecs check --fix src/Sylius
```

After:
```bash
vendor/bin/ecs check --fix
```

Yet it is still possible to set any argument in the command, then `src/Sylius` will be overwritten.

Commits
-------

dce26c7 [Maintenance] Specify the default path in the ECS configuration
  • Loading branch information
Zales0123 authored Apr 29, 2022
2 parents d103a8b + dce26c7 commit ea775bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

$parameters = $containerConfigurator->parameters();
$parameters->set(Option::PARALLEL, true);
$parameters->set(Option::PATHS, ['src/Sylius']);
$parameters->set(Option::SKIP, [
InlineDocCommentDeclarationSniff::class . '.MissingVariable',
InlineDocCommentDeclarationSniff::class . '.NoAssignment',
Expand Down

0 comments on commit ea775bf

Please sign in to comment.