From 7154b23a0fbea6be3f8911fc0eef395cfd9ff787 Mon Sep 17 00:00:00 2001 From: Toon Verwerft Date: Fri, 25 Oct 2024 12:38:45 +0200 Subject: [PATCH] Bump dependencies v4 --- .github/workflows/grumphp.yml | 2 +- composer.json | 18 +++++++++--------- .../Assembler/ConstructorAssembler.php | 2 +- .../Assembler/FluentSetterAssembler.php | 2 +- .../Assembler/GetterAssembler.php | 2 +- .../Assembler/ImmutableSetterAssembler.php | 2 +- .../Assembler/ResultProviderAssembler.php | 2 +- .../Assembler/SetterAssembler.php | 2 +- .../CodeGenerator/Assembler/UseAssembler.php | 2 +- .../CodeGenerator/Util/Normalizer.php | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 3471b198..fbaf7537 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: operating-system: ['windows-latest', 'ubuntu-latest'] - php-versions: ['8.1', '8.2', '8.3'] + php-versions: ['8.2', '8.3', '8.4'] composer-options: ['', '--prefer-lowest'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }} diff --git a/composer.json b/composer.json index 800251be..ba173bd1 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,14 @@ } ], "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "azjezz/psl": "^2.1", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "azjezz/psl": "^3.0", "laminas/laminas-code": "^4.14.0", - "php-soap/cached-engine": "~0.2", - "php-soap/engine": "^2.10.1", - "php-soap/encoding": "~0.4", - "php-soap/psr18-transport": "^1.6", - "php-soap/wsdl-reader": "~0.16", + "php-soap/cached-engine": "~0.3", + "php-soap/engine": "^2.13.0", + "php-soap/encoding": "~0.13", + "php-soap/psr18-transport": "^1.7", + "php-soap/wsdl-reader": "~0.18", "psr/event-dispatcher": "^1.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/console": "~5.4 || ~6.0 || ~7.0", @@ -35,8 +35,8 @@ "phpro/grumphp-shim": "^2.3", "phpspec/phpspec": "~7.2", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^1.10.15", - "phpunit/phpunit": "~9.5", + "phpstan/phpstan": "^1.12.7", + "phpunit/phpunit": "~10.5", "squizlabs/php_codesniffer": "^3.7.1", "symfony/cache": "^6.4 || ^7.0" }, diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/ConstructorAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/ConstructorAssembler.php index fa36a240..685a713e 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/ConstructorAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/ConstructorAssembler.php @@ -27,7 +27,7 @@ class ConstructorAssembler implements AssemblerInterface * * @param ConstructorAssemblerOptions|null $options */ - public function __construct(ConstructorAssemblerOptions $options = null) + public function __construct(?ConstructorAssemblerOptions $options = null) { $this->options = $options ?? new ConstructorAssemblerOptions(); } diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/FluentSetterAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/FluentSetterAssembler.php index 32347c7e..4e726131 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/FluentSetterAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/FluentSetterAssembler.php @@ -29,7 +29,7 @@ class FluentSetterAssembler implements AssemblerInterface * * @param FluentSetterAssemblerOptions|null $options */ - public function __construct(FluentSetterAssemblerOptions $options = null) + public function __construct(?FluentSetterAssemblerOptions $options = null) { $this->options = $options ?? new FluentSetterAssemblerOptions(); } diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/GetterAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/GetterAssembler.php index b8ad663f..9810f8b9 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/GetterAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/GetterAssembler.php @@ -28,7 +28,7 @@ class GetterAssembler implements AssemblerInterface * * @param GetterAssemblerOptions|null $options */ - public function __construct(GetterAssemblerOptions $options = null) + public function __construct(?GetterAssemblerOptions $options = null) { $this->options = $options ?? new GetterAssemblerOptions(); } diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/ImmutableSetterAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/ImmutableSetterAssembler.php index 76b7a2e7..d9126583 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/ImmutableSetterAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/ImmutableSetterAssembler.php @@ -28,7 +28,7 @@ class ImmutableSetterAssembler implements AssemblerInterface * * @param ImmutableSetterAssemblerOptions|null $options */ - public function __construct(ImmutableSetterAssemblerOptions $options = null) + public function __construct(?ImmutableSetterAssemblerOptions $options = null) { $this->options = $options ?? new ImmutableSetterAssemblerOptions(); } diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/ResultProviderAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/ResultProviderAssembler.php index f9defcea..f7e01b2a 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/ResultProviderAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/ResultProviderAssembler.php @@ -30,7 +30,7 @@ class ResultProviderAssembler implements AssemblerInterface * * @param non-empty-string $wrapperClass */ - public function __construct(string $wrapperClass = null) + public function __construct(?string $wrapperClass = null) { $wrapperClass = ($wrapperClass !== null) ? ltrim($wrapperClass, '\\') : null; diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/SetterAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/SetterAssembler.php index efcdf756..afe3b21c 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/SetterAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/SetterAssembler.php @@ -27,7 +27,7 @@ class SetterAssembler implements AssemblerInterface * * @param SetterAssemblerOptions|null $options */ - public function __construct(SetterAssemblerOptions $options = null) + public function __construct(?SetterAssemblerOptions $options = null) { $this->options = $options ?? new SetterAssemblerOptions(); } diff --git a/src/Phpro/SoapClient/CodeGenerator/Assembler/UseAssembler.php b/src/Phpro/SoapClient/CodeGenerator/Assembler/UseAssembler.php index b804928c..f2103fba 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Assembler/UseAssembler.php +++ b/src/Phpro/SoapClient/CodeGenerator/Assembler/UseAssembler.php @@ -31,7 +31,7 @@ class UseAssembler implements AssemblerInterface * @param non-empty-string $useName * @param non-empty-string|null $useAlias */ - public function __construct(string $useName, string $useAlias = null) + public function __construct(string $useName, ?string $useAlias = null) { $this->useName = $useName; $this->useAlias = $useAlias; diff --git a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php index f1872b41..2d6b3950 100644 --- a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php +++ b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php @@ -268,7 +268,7 @@ public static function getNamespaceFromFQN($name): string * * @return non-empty-string */ - public static function getCompleteUseStatement(string $useName, string $useAlias = null): string + public static function getCompleteUseStatement(string $useName, ?string $useAlias = null): string { $use = $useName; if (null !== $useAlias && $useAlias !== '') {