Skip to content

Commit fb32fc6

Browse files
authored
Merge pull request #5 from veewee/php82
Add PHP82 + PSL2 Support
2 parents cfe757f + e92d062 commit fb32fc6

File tree

10 files changed

+9
-10
lines changed

10 files changed

+9
-10
lines changed

.github/workflows/analyzers.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.0', '8.1']
10+
php-versions: ['8.1', '8.2']
1111
fail-fast: false
1212
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313
steps:

.github/workflows/code-style.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.0', '8.1']
10+
php-versions: ['8.1', '8.2']
1111
fail-fast: false
1212
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313
steps:

.github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.0', '8.1']
10+
php-versions: ['8.1', '8.2']
1111
fail-fast: false
1212
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313
steps:

.phive/phars.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="psalm" version="^4.13.1" installed="4.13.1" location="./tools/psalm.phar" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.3.2" installed="3.3.2" location="./tools/php-cs-fixer.phar" copy="true"/>
3+
<phar name="psalm" version="^4.30.0" installed="4.30.0" location="./tools/psalm.phar" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.13.0" installed="3.13.0" location="./tools/php-cs-fixer.phar" copy="true"/>
55
</phive>

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^8.0",
23+
"php": "~8.1.0 || ~8.2.0",
2424
"ext-dom": "*",
25-
"veewee/xml": "^1.0"
25+
"veewee/xml": "^2.2"
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "^9.5"

psalm.xml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<psalm
33
errorLevel="1"
44
resolveFromConfigFile="true"
5-
forbidEcho="true"
65
strictBinaryOperands="true"
76
phpVersion="8.0"
87
allowStringToStandInForClass="true"

src/Builder/SoapHeader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __invoke(DOMNode $node): DOMNode
3737
namespaced_element(
3838
$this->namespace,
3939
$this->name,
40-
...$this->configurators
40+
...$this->configurators,
4141
)
4242
)($node);
4343
}

src/Builder/SoapHeaders.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __invoke(DOMNode $node): DOMNode
3535
return namespaced_element(
3636
root_namespace_uri()($document) ?? '',
3737
'soap:Header',
38-
...$this->configurators
38+
...$this->configurators,
3939
)($node);
4040
}
4141
}

tools/php-cs-fixer.phar

164 KB
Binary file not shown.

tools/psalm.phar

607 KB
Binary file not shown.

0 commit comments

Comments
 (0)