Fix merge conflict #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP 8.3 compatibility | |
on: [push, pull_request] | |
env: | |
PHPCS_DIR: /tmp/phpcs | |
PHPCOMPAT_DIR: /tmp/phpcompatibility | |
SNIFFS_DIR: /tmp/sniffs | |
WPCS_DIR: /tmp/wpcs | |
jobs: | |
build: | |
name: Test for PHP 8.3 support | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Setup PHP with Xdebug 2.x | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
coverage: xdebug2 | |
- name: Set up PHPCS and WordPress-Coding-Standards | |
uses: php-actions/composer@v6 | |
env: | |
COMPOSER: "composer.json" | |
with: | |
php_version: "8.3" | |
version: "2.3.7" | |
args: "--ignore-platform-reqs --optimize-autoloader" | |
- name: Run PHP_CodeSniffer | |
run: | | |
vendor/bin/phpcs -p . --extensions=php --ignore=vendor,node_modules,src,js,css,sass --standard=PHPCompatibility --runtime-set testVersion 8.3 |