Skip to content

Added extra check for php 8.3 #119

Added extra check for php 8.3

Added extra check for php 8.3 #119

Workflow file for this run

name: PHP Code Sniffer
on: push
jobs:
- phpcs_8_2:
runs-on: ubuntu-latest
steps:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP Code Sniffer
run: |
cd .ci
php --version
composer require --dev dealerdirect/phpcodesniffer-composer-installer
composer require --dev drupal/coder
- name: Check coding standards
run: |
.ci/vendor/bin/phpcs --colors -n --standard=Drupal --extensions=php,module,yml metsis
- phpcs_8_3:
runs-on: ubuntu-latest
steps:

Check failure on line 28 in .github/workflows/phpcs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/phpcs.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP Code Sniffer
run: |
cd .ci
php --version
composer require --dev dealerdirect/phpcodesniffer-composer-installer
composer require --dev drupal/coder
- name: Check coding standards
run: |
.ci/vendor/bin/phpcs --colors -n --standard=Drupal --extensions=php,module,yml metsis