Skip to content

Commit bcdb8d4

Browse files
committed
Enable tests for PHP 8.1
1 parent 9d60fbf commit bcdb8d4

File tree

3 files changed

+341
-225
lines changed

3 files changed

+341
-225
lines changed

.drone.jsonnet

+4-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ local composer(phpversion, params) = {
2525
local phpunit(phpversion) = {
2626
name: "PHPUnit",
2727
image: "joomlaprojects/docker-images:php" + phpversion,
28-
[if phpversion == "8.1" then "failure"]: "ignore",
28+
[if phpversion == "8.2" then "failure"]: "ignore",
2929
commands: ["vendor/bin/phpunit"]
3030
};
3131

@@ -61,7 +61,7 @@ local pipeline(name, phpversion, params) = {
6161
depends: [ "composer" ],
6262
commands: [
6363
"vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards",
64-
"vendor/bin/phpcs -p --report=full --extensions=php --standard=ruleset.xml src/"
64+
"vendor/bin/phpcs --standard=ruleset.xml src/"
6565
]
6666
},
6767
{
@@ -111,5 +111,6 @@ local pipeline(name, phpversion, params) = {
111111
pipeline("7.3", "7.3", "--prefer-stable"),
112112
pipeline("7.4", "7.4", "--prefer-stable"),
113113
pipeline("8.0", "8.0", "--prefer-stable"),
114-
pipeline("8.1", "8.1", "--prefer-stable")
114+
pipeline("8.1", "8.1", "--prefer-stable"),
115+
pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"),
115116
]

0 commit comments

Comments
 (0)