Skip to content

feat: systemCheckCommand to display system information and enhance Vers… #42

feat: systemCheckCommand to display system information and enhance Vers…

feat: systemCheckCommand to display system information and enhance Vers… #42

Workflow file for this run

name: Check phpcs
on: [pull_request]
permissions:
contents: read
env:
PHP_VERSION: "8.3"
jobs:
check-phpcs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
- name: Install Magento Coding Standard
run: composer create-project magento/magento-coding-standard --stability=dev /tmp/magento-coding-standard
- name: Run PHPCS
run: /tmp/magento-coding-standard/vendor/bin/phpcs -p -s --standard=Magento2 src/