Skip to content

Commit 0986a22

Browse files
committed
Add PHP82 + PSL2 Support
1 parent b872caf commit 0986a22

19 files changed

+50
-27
lines changed

.github/workflows/analyzers.yaml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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.17" installed="4.17.0" 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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^8.0",
23+
"php": "~8.1.0 || ~8.2.0",
2424
"ext-soap": "*",
2525
"ext-dom": "*",
26-
"azjezz/psl": "^1.9",
27-
"php-soap/engine": "^1.1",
28-
"php-soap/wsdl": "^1.0",
29-
"symfony/options-resolver": "^5.3 || ^6.0"
26+
"azjezz/psl": "^2.1",
27+
"php-soap/engine": "^1.3",
28+
"php-soap/wsdl": "^1.3",
29+
"symfony/options-resolver": "^5.4 || ^6.0"
3030
},
3131
"require-dev": {
32-
"php-soap/engine-integration-tests": "^1.1",
33-
"php-soap/xml": "^1.0",
32+
"php-soap/engine-integration-tests": "^1.3",
33+
"php-soap/xml": "^1.4",
3434
"phpunit/phpunit": "^9.5"
3535
}
3636
}

psalm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
errorLevel="2"
44
resolveFromConfigFile="true"
55
strictBinaryOperands="true"
6-
phpVersion="8.0"
6+
phpVersion="8.1"
77
allowStringToStandInForClass="true"
88
rememberPropertyAssignmentsAfterCall="false"
99
skipChecksOnUnresolvableIncludes="false"

src/Configuration/TypeConverter/DateTimeTypeConverter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public function getTypeName(): string
2424
return 'dateTime';
2525
}
2626

27+
/**
28+
* @param non-empty-string $xml
29+
*/
2730
public function convertXmlToPhp(string $xml)
2831
{
2932
$doc = new DOMDocument();

src/Configuration/TypeConverter/DateTypeConverter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public function getTypeName(): string
2323
return 'date';
2424
}
2525

26+
/**
27+
* @param non-empty-string $xml
28+
*/
2629
public function convertXmlToPhp(string $xml)
2730
{
2831
$doc = new DOMDocument();

src/Configuration/TypeConverter/DecimalTypeConverter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public function getTypeName(): string
2121
return 'decimal';
2222
}
2323

24+
/**
25+
* @param non-empty-string $xml
26+
*/
2427
public function convertXmlToPhp(string $xml)
2528
{
2629
$doc = new DOMDocument();

src/Configuration/TypeConverter/DoubleTypeConverter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public function getTypeName(): string
2121
return 'double';
2222
}
2323

24+
/**
25+
* @param non-empty-string $xml
26+
*/
2427
public function convertXmlToPhp(string $xml)
2528
{
2629
$doc = new DOMDocument();

0 commit comments

Comments
 (0)