Skip to content

Commit 8d09d1e

Browse files
committed
Enable CI for PHP 8.2
1 parent d38f199 commit 8d09d1e

File tree

5 files changed

+346
-201
lines changed

5 files changed

+346
-201
lines changed

.drone.jsonnet

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ local composer(phpversion, params) = {
1818
volumes: volumes,
1919
commands: [
2020
"php -v",
21-
"composer update " + params
21+
"composer update " + params,
2222
]
2323
};
2424

2525
local phpunit(phpversion) = {
2626
name: "PHPUnit",
2727
image: "joomlaprojects/docker-images:php" + phpversion,
28-
[if phpversion == "8.0" 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
{
@@ -110,5 +110,7 @@ local pipeline(name, phpversion, params) = {
110110
pipeline("7.2", "7.2", "--prefer-stable"),
111111
pipeline("7.3", "7.3", "--prefer-stable"),
112112
pipeline("7.4", "7.4", "--prefer-stable"),
113-
pipeline("8.0", "8.0", "--ignore-platform-reqs --prefer-stable")
113+
pipeline("8.0", "8.0", "--prefer-stable"),
114+
pipeline("8.1", "8.1", "--prefer-stable"),
115+
pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"),
114116
]

0 commit comments

Comments
 (0)