From 0008e8642db9b997005c3848cf532f4b1cf0a17d Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Wed, 9 Apr 2025 09:46:33 -0400 Subject: [PATCH] fix(coding-standard)!: use magento/php-compatibility-fork (#190) --- coding-standard/README.md | 3 +++ coding-standard/action.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/coding-standard/README.md b/coding-standard/README.md index 57e667d..cba80c9 100644 --- a/coding-standard/README.md +++ b/coding-standard/README.md @@ -2,6 +2,9 @@ A Github Action that runs the Magento Coding Standard. +> [!WARNING] +> This action is only compatible with Magento v2.4.4+. + ## Inputs See the [action.yml](./action.yml) diff --git a/coding-standard/action.yml b/coding-standard/action.yml index 1777f62..9041145 100644 --- a/coding-standard/action.yml +++ b/coding-standard/action.yml @@ -87,7 +87,7 @@ runs: - name: Register Coding Standard shell: bash working-directory: standard - run: vendor/bin/phpcs --config-set installed_paths ${{ github.workspace }}/standard/vendor/magento/magento-coding-standard,${{ github.workspace }}/standard/vendor/phpcompatibility/php-compatibility + run: vendor/bin/phpcs --config-set installed_paths ${{ github.workspace }}/standard/vendor/magento/magento-coding-standard,${{ github.workspace }}/standard/vendor/magento/php-compatibility-fork - name: Set ignore warnings flag shell: bash