From e8c998ec0706394a6b36776402b5b4f219370170 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Wed, 9 Apr 2025 09:17:21 -0400 Subject: [PATCH 1/2] fix(coding-standard): use magento/php-compatibility-fork --- coding-standard/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding-standard/action.yml b/coding-standard/action.yml index 1777f624..9041145f 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 From d3607bfbba9bc5348653920beb92f0ad53a9dfe9 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Wed, 9 Apr 2025 09:45:34 -0400 Subject: [PATCH 2/2] docs: document compatability --- coding-standard/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coding-standard/README.md b/coding-standard/README.md index 57e667da..cba80c96 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)