diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 71dd9d5b8..f5cbeebaa 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -1,4 +1,4 @@ -name: PHP-CS-Fixer +name: Rector on: push: @@ -9,7 +9,7 @@ on: jobs: php-cs-fixer: - name: Validation + name: Rector runs-on: [ubuntu-latest] steps: diff --git a/.github/workflows/test-magento-open-source.yml b/.github/workflows/test-magento-open-source.yml index f393f8c2b..d56c901bd 100644 --- a/.github/workflows/test-magento-open-source.yml +++ b/.github/workflows/test-magento-open-source.yml @@ -68,7 +68,7 @@ jobs: run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV - name: Run tests - run: php -f vendor/bin/phpunit + run: php vendor/bin/phpunit --configuration .phpunit.dist.xml env: COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor" diff --git a/.github/workflows/test-openmage-20.0.yml b/.github/workflows/test-openmage-20.0.yml index 323356871..b6dd5ff60 100644 --- a/.github/workflows/test-openmage-20.0.yml +++ b/.github/workflows/test-openmage-20.0.yml @@ -75,7 +75,7 @@ jobs: run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV - name: Run tests - run: php -f vendor/bin/phpunit + run: php vendor/bin/phpunit --configuration .phpunit.dist.xml env: COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor" diff --git a/.github/workflows/test-openmage-20.1.yml b/.github/workflows/test-openmage-20.1.yml index dfef9d51f..86594118b 100644 --- a/.github/workflows/test-openmage-20.1.yml +++ b/.github/workflows/test-openmage-20.1.yml @@ -76,7 +76,7 @@ jobs: run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV - name: Run tests - run: php -f vendor/bin/phpunit + run: php vendor/bin/phpunit --configuration .phpunit.dist.xml env: COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor" diff --git a/.github/workflows/test-openmage-20.10.yml b/.github/workflows/test-openmage-20.10.yml index 5fc8e380c..73462ee69 100644 --- a/.github/workflows/test-openmage-20.10.yml +++ b/.github/workflows/test-openmage-20.10.yml @@ -76,7 +76,7 @@ jobs: run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV - name: Run tests - run: php -f vendor/bin/phpunit + run: php vendor/bin/phpunit --configuration .phpunit.dist.xml env: COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor" diff --git a/.php_cs b/.php_cs deleted file mode 100644 index f90b5638c..000000000 --- a/.php_cs +++ /dev/null @@ -1,23 +0,0 @@ -in(__DIR__ . '/src') - ->in(__DIR__ . '/tests') -; - -return PhpCsFixer\Config::create() - ->setFinder($finder) - ->setRules([ - '@PSR2' => true, - 'include' => true, - 'no_leading_import_slash' => true, - 'no_extra_consecutive_blank_lines' => true, - 'no_leading_namespace_whitespace' => true, - 'no_multiline_whitespace_around_double_arrow' => true, - 'no_unused_imports' => true, - 'no_whitespace_in_blank_line' => true, - 'ordered_imports' => true, - 'standardize_not_equals' => true, - 'ternary_operator_spaces' => true, - ]) -;