Skip to content

Bump qs from 6.14.1 to 6.14.2 in the npm_and_yarn group across 1 directory #477

Bump qs from 6.14.1 to 6.14.2 in the npm_and_yarn group across 1 directory

Bump qs from 6.14.1 to 6.14.2 in the npm_and_yarn group across 1 directory #477

name: PHP Compatibility
on:
push:
branches:
- develop
- trunk
pull_request:
branches:
- develop
jobs:
php-compatibility:
name: PHP minimum 7.4
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set PHP version
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
with:
php-version: '7.4'
tools: composer:v2
coverage: none
- name: Install dependencies
run: composer install
- name: Run PHP Compatibility on all files.
run: vendor/bin/phpcs inc --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-
- name: Run PHP Compatibility on main file.
run: vendor/bin/phpcs insert-special-characters.php --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6-