Skip to content

Commit 8cc264e

Browse files
committed
Bump dependencies
1 parent 893ab16 commit 8cc264e

12 files changed

+20
-16
lines changed

.github/workflows/analyzers.yaml

Lines changed: 2 additions & 1 deletion
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/code-style.yaml

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

Lines changed: 3 additions & 2 deletions
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:
@@ -20,6 +21,6 @@ jobs:
2021
tools: 'composer:v2'
2122
extensions: pcov, mbstring, posix, dom, soap
2223
- name: Install dependencies
23-
run: composer update --prefer-dist --no-progress --no-suggest
24+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
2425
- name: Run the tests
2526
run: ./vendor/bin/phpunit

.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="^5.9.0" installed="5.16.0" location="./tools/psalm.phar" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.13.0" installed="3.39.0" location="./tools/php-cs-fixer.phar" copy="true"/>
3+
<phar name="psalm" version="^5.9.0" installed="5.26.1" location="./tools/psalm.phar" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.13.0" installed="3.64.0" location="./tools/php-cs-fixer.phar" copy="true"/>
55
</phive>

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
'static_lambda' => true,
5454
'strict_comparison' => true,
5555
'strict_param' => true,
56+
'nullable_type_declaration_for_default_null_value' => true,
5657
])
5758
;

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
}
2121
],
2222
"require": {
23-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
23+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
2424
"ext-soap": "*",
2525
"ext-dom": "*",
26-
"azjezz/psl": "^2.1",
27-
"php-soap/engine": "^1.3|^2.0",
28-
"php-soap/wsdl": "^1.3",
26+
"azjezz/psl": "^3.0",
27+
"php-soap/engine": "^2.13",
28+
"php-soap/wsdl": "^1.12",
2929
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0"
3030
},
3131
"require-dev": {
32-
"php-soap/engine-integration-tests": "^1.4",
33-
"php-soap/xml": "^1.4",
32+
"php-soap/engine-integration-tests": "^1.9",
33+
"php-soap/xml": "^1.8",
3434
"phpunit/phpunit": "^10.0.19"
3535
}
3636
}

src/ErrorHandling/ExtSoapErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function handleInternalErrors(callable $fun)
5454
{
5555
[$result, $lastMessage] = (new self)($fun);
5656

57-
if ($lastMessage) {
57+
if ($lastMessage !== null) {
5858
throw RequestException::internalSoapError($lastMessage);
5959
}
6060

src/ExtSoapOptionsResolverFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class ExtSoapOptionsResolverFactory
1717
public static function createForWsdl(?string $wsdl): OptionsResolver
1818
{
1919
$resolver = self::create();
20-
if (!$wsdl) {
20+
if ($wsdl === null) {
2121
$resolver = clone $resolver;
2222
$resolver->setRequired(['uri', 'location']);
2323
}

src/Wsdl/PermanentWsdlLoaderProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __invoke(string $location): string
3131
return $file;
3232
}
3333

34-
write($file, ($this->loader)($location), WriteMode::TRUNCATE);
34+
write($file, ($this->loader)($location), WriteMode::Truncate);
3535

3636
return $file;
3737
}

src/Wsdl/TemporaryWsdlLoaderProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __invoke(string $location): string
2424
$namingStrategy = $this->namingStrategy ?? new Md5Strategy();
2525
$file = $cacheDir . DIRECTORY_SEPARATOR . $namingStrategy($location);
2626

27-
write($file, ($this->loader)($location), WriteMode::TRUNCATE);
27+
write($file, ($this->loader)($location), WriteMode::Truncate);
2828

2929
return $file;
3030
}

tools/php-cs-fixer.phar

456 KB
Binary file not shown.

tools/psalm.phar

136 KB
Binary file not shown.

0 commit comments

Comments
 (0)