Skip to content

Commit 301aabf

Browse files
committed
chore(dependencies): support php 8.3
1 parent a2babc4 commit 301aabf

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ vendor/
22
build/
33
.idea/
44
.php_cs.cache
5+
.phpunit.result.cache

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,20 @@ Using docker:
5858

5959
```shell
6060
# Example
61-
docker build -t xml-lint:php-8.2 --build-arg=PHP_VERSION="8.2" .
61+
docker build -t xml-lint:php-8.3 --build-arg=PHP_VERSION="8.3" .
6262

63-
# PHP_VERSION: choose between 8.0, 8.1 and 8.2
63+
# PHP_VERSION: choose between 8.0, 8.1, 8.2 and 8.3
6464
docker build -t xml-lint:php-8.0 --build-arg=PHP_VERSION="8.0" .
6565
docker build -t xml-lint:php-8.1 --build-arg=PHP_VERSION="8.1" .
6666
docker build -t xml-lint:php-8.2 --build-arg=PHP_VERSION="8.2" .
67+
docker build -t xml-lint:php-8.3 --build-arg=PHP_VERSION="8.3" .
6768

6869
# Run with code style check
69-
docker build -t xml-lint:php-8.2 --build-arg=PHP_VERSION="8.2" --build-arg=PHP_CS_FIXER=true .
70+
docker build -t xml-lint:php-8.3 --build-arg=PHP_VERSION="8.3" --build-arg=PHP_CS_FIXER=true .
7071

7172
# Use this image to run xml-lint:
7273
cd tests/functional/_testdata
73-
docker run -it --rm -v "$PWD":/var/src -w /var/src xml-lint:php-8.2 -r -v -- ./
74+
docker run -it --rm -v "$PWD":/var/src -w /var/src xml-lint:php-8.3 -r -v -- ./
7475
```
7576

7677

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"bin": ["bin/xmllint"],
1919
"require": {
20-
"php": "8.0.*|8.1.*|8.2.*",
20+
"php": "8.0.*|8.1.*|8.2.*|8.3.*",
2121
"symfony/console": "4.4.*|5.3.*|5.4.*|6.*",
2222
"symfony/finder": "4.4.*|5.3.*|5.4.*|6.*",
2323
"ext-libxml": "*",

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/php/console/command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private function lintDir($dir)
162162
}
163163

164164
if ($this->input->hasOption(self::OPTION_EXCLUDE)) {
165-
$exclude = explode(',', $this->input->getOption(self::OPTION_EXCLUDE));
165+
$exclude = explode(',', (string) $this->input->getOption(self::OPTION_EXCLUDE));
166166
$finder->exclude($exclude);
167167
}
168168

0 commit comments

Comments
 (0)