Skip to content

Commit 6e95c7e

Browse files
authored
Merge pull request #28 from veewee/php84
Bump dependencies
2 parents 3deec36 + 464e120 commit 6e95c7e

File tree

9 files changed

+22
-16
lines changed

9 files changed

+22
-16
lines changed

.github/workflows/analyzers.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: [ '8.2', '8.3' ]
11+
composer-options: [ '--ignore-platform-req=php+' ]
1112
fail-fast: false
1213
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1314
steps:

.github/workflows/code-style.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: [ '8.2', '8.3', '8.4' ]
11+
composer-options: [ '--ignore-platform-req=php+' ]
1112
fail-fast: false
1213
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1314
steps:

.github/workflows/tests.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: [ '8.2', '8.3', '8.4' ]
11+
composer-options: [ '--ignore-platform-req=php+' ]
1112
dependency-preference: ['current', 'lowest', 'stable']
1213
fail-fast: false
1314
name: PHP ${{ matrix.php-versions }} ${{ matrix.dependency-preference }} deps @ ${{ matrix.operating-system }}
@@ -21,6 +22,6 @@ jobs:
2122
tools: 'composer:v2'
2223
extensions: pcov, mbstring, posix, dom, soap
2324
- name: Install dependencies
24-
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }}
25+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }} ${{ matrix.composer-options }}
2526
- name: Run the tests
2627
run: ./vendor/bin/phpunit

.phive/phars.xml

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

.php-cs-fixer.dist.php

+1
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@
5555
'strict_comparison' => true,
5656
'strict_param' => true,
5757
'native_function_invocation' => true,
58+
'nullable_type_declaration_for_default_null_value' => true,
5859
])
5960
;

composer.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
}
2121
],
2222
"require": {
23-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
24-
"azjezz/psl": "^2.9.0",
25-
"veewee/reflecta": "~0.6",
26-
"veewee/xml": "^3.1",
27-
"php-soap/engine": "^2.9",
28-
"php-soap/wsdl": "^1.6",
29-
"php-soap/xml": "^1.7",
30-
"php-soap/wsdl-reader": "~0.15"
23+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
24+
"azjezz/psl": "^3.0",
25+
"veewee/reflecta": "~0.10",
26+
"veewee/xml": "^3.3",
27+
"php-soap/engine": "^2.13",
28+
"php-soap/wsdl": "^1.12",
29+
"php-soap/xml": "^1.8",
30+
"php-soap/wsdl-reader": "~0.18"
3131
},
3232
"require-dev": {
33-
"vimeo/psalm": "^5.16",
33+
"vimeo/psalm": "^5.26",
3434
"phpunit/phpunit": "^10.5",
3535
"symfony/var-dumper": "^7.0 || ^6.4",
3636
"php-standard-library/psalm-plugin": "^2.3",
37-
"php-soap/engine-integration-tests": "^1.8.1",
38-
"php-soap/psr18-transport": "^1.6",
37+
"php-soap/engine-integration-tests": "^1.9",
38+
"php-soap/psr18-transport": "^1.7",
3939
"guzzlehttp/guzzle": "^7.8"
4040
},
4141
"config": {

src/Exception/RestrictionException.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Soap\Encoding\Formatter\QNameFormatter;
99
use Soap\Engine\Metadata\Model\XsdType;
1010
use function is_scalar;
11+
use function sprintf;
1112

1213
final class RestrictionException extends InvalidArgumentException implements ExceptionInterface
1314
{

src/TypeInference/XsiTypeDetector.php

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use function is_string;
1818
use function Psl\Option\none;
1919
use function Psl\Option\some;
20+
use function sprintf;
2021

2122
final class XsiTypeDetector
2223
{

tools/php-cs-fixer.phar

71 KB
Binary file not shown.

0 commit comments

Comments
 (0)