From d7283ad5eade4fedbe9e90c08c324ad69eb7f385 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 6 May 2024 20:32:15 +0200 Subject: [PATCH] Fix ECS --- .github/workflows/build.yml | 10 ++++++---- .../Object/ExecuteKw/ExecuteKwOperationsTrait.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 239ae55..3250185 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,10 +106,12 @@ jobs: run: composer install --no-interaction - - name: Run analysis - run: | - composer validate --strict - vendor/bin/ecs check src tests + name: Composer validate + run: composer validate --strict + + - + name: ECS chekc + run: vendor/bin/ecs check src tests - name: Wait until odoo is ready diff --git a/tests/Operations/Object/ExecuteKw/ExecuteKwOperationsTrait.php b/tests/Operations/Object/ExecuteKw/ExecuteKwOperationsTrait.php index 8904e90..218a7c0 100644 --- a/tests/Operations/Object/ExecuteKw/ExecuteKwOperationsTrait.php +++ b/tests/Operations/Object/ExecuteKw/ExecuteKwOperationsTrait.php @@ -50,7 +50,7 @@ protected function buildModelFieldsProvider(): ModelFieldsProviderInterface ],*/ ]; - foreach ($modelFieldsToRemove as $modelName=>$fieldsToRemove) { + foreach ($modelFieldsToRemove as $modelName => $fieldsToRemove) { $modelFieldsProvider = new ModelFieldsRemoverProvider( $modelFieldsProvider, $modelName,