Skip to content

Commit

Permalink
[shopsys] fixed split packages builds (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin authored Jul 17, 2023
2 parents 6fadf11 + 6777a74 commit 8480a7a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

declare(strict_types=1);

use PhpCsFixer\Fixer\FunctionNotation\PhpdocToPropertyTypeFixer;
use PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer;
use Shopsys\CodingStandards\CsFixer\ForbiddenPrivateVisibilityFixer;
use Shopsys\CodingStandards\Sniffs\ForceLateStaticBindingForProtectedConstantsSniff;
use Shopsys\CodingStandards\Sniffs\ObjectIsCreatedByFactorySniff;
Expand All @@ -28,11 +30,16 @@
]);

$ecsConfig->skip([
ObjectIsCreatedByFactorySniff::class =>
[
__DIR__ . '/src/Product/Detail/ProductDetailViewElasticsearchFactory.php',
__DIR__ . '/tests/*',
],
ObjectIsCreatedByFactorySniff::class => [
__DIR__ . '/src/Product/Detail/ProductDetailViewElasticsearchFactory.php',
__DIR__ . '/tests/*',
],
PhpdocToPropertyTypeFixer::class => [
__DIR__ . '/src/*',
],
DeclareStrictTypesFixer::class => [
__DIR__ . '/src/*',
],
]);

$ecsConfig->import(__DIR__ . '/vendor/shopsys/coding-standards/ecs.php', null, true);
Expand Down

0 comments on commit 8480a7a

Please sign in to comment.