mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
fix(coding-standard)!: use magento/php-compatibility-fork (#190)
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
A Github Action that runs the Magento Coding Standard.
|
A Github Action that runs the Magento Coding Standard.
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> This action is only compatible with Magento v2.4.4+.
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
See the [action.yml](./action.yml)
|
See the [action.yml](./action.yml)
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ runs:
|
|||||||
- name: Register Coding Standard
|
- name: Register Coding Standard
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: standard
|
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
|
- name: Set ignore warnings flag
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user