Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/executors/php74.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: PHPCS executor
docker:
- image: "cimg/php:<<parameters.tag>>"
parameters:
tag:
default: 7.4-node
description: PHP image version
type: string
3 changes: 2 additions & 1 deletion src/jobs/lint-php.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >
Lint PHP files.

executor: default
# Run PHPCS on PHP 7.4 to avoid Fatal errors. See https://github.com/WordPress/WordPress-Coding-Standards/commit/7cd46bed1e6a7a2af3fe24c7f4a044da3076d8f4
executor: php74

steps:
- checkout
Expand Down