From e272eb64b34a434708541a273a09a524fdb33806 Mon Sep 17 00:00:00 2001 From: martinyde Date: Fri, 30 Jan 2026 09:00:43 +0100 Subject: [PATCH 1/5] Updated symfony string dependency --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f4d60f1c..f6e6e131 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "symfony/http-client": "^5.4 || ^6.0", "symfony/options-resolver": "^5.4 || ^6.0", "symfony/property-access": "^4.4 || ^5.4 || ^6.0", - "symfony/string": "^5.4 || ^6.0", + "symfony/string": "^5.4 || ^6.0 || ^7.0", "symfony/uid": "^5.4 || ^6.0", "wsdltophp/packagebase": "^5.0" }, From 3b7a15de92ebe41e3b33112f49d79d17bef18b12 Mon Sep 17 00:00:00 2001 From: martinyde Date: Fri, 30 Jan 2026 09:02:34 +0100 Subject: [PATCH 2/5] Updated changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5103b780..99092daf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- [PR-46](https://github.com/itk-dev/serviceplatformen/pull/46) + Update composer/string dependency + ## [1.7.2] - 2025-11-24 - [PR-45](https://github.com/itk-dev/serviceplatformen/pull/45) From aef029db256bb456c1a81d246825f88fec5e3bb5 Mon Sep 17 00:00:00 2001 From: martinyde Date: Fri, 30 Jan 2026 13:37:03 +0100 Subject: [PATCH 3/5] Updated changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99092daf..8d03adbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - [PR-46](https://github.com/itk-dev/serviceplatformen/pull/46) - Update composer/string dependency + Update symfony/string dependency ## [1.7.2] - 2025-11-24 From c1a97017f0f213e98b44ff16283f5c28488f1e86 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Mon, 2 Feb 2026 09:43:18 +0100 Subject: [PATCH 4/5] Added support for Symfony 7 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index f6e6e131..8b86d1da 100644 --- a/composer.json +++ b/composer.json @@ -31,12 +31,12 @@ "itk-dev/azure-key-vault-php": "^1.0", "jms/serializer": "^3.18", "php-http/guzzle7-adapter": "^1.0", - "symfony/cache": "^5.4 || ^6.0", - "symfony/http-client": "^5.4 || ^6.0", - "symfony/options-resolver": "^5.4 || ^6.0", - "symfony/property-access": "^4.4 || ^5.4 || ^6.0", + "symfony/cache": "^5.4 || ^6.0 || ^7.0", + "symfony/http-client": "^5.4 || ^6.0 || ^7.0", + "symfony/options-resolver": "^5.4 || ^6.0 || ^7.0", + "symfony/property-access": "^5.4 || ^6.0 || ^7.0", "symfony/string": "^5.4 || ^6.0 || ^7.0", - "symfony/uid": "^5.4 || ^6.0", + "symfony/uid": "^5.4 || ^6.0 || ^7.0", "wsdltophp/packagebase": "^5.0" }, "require-dev": { @@ -46,8 +46,8 @@ "phpstan/phpstan": "^1.8", "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.7", - "symfony/console": "^5.4 || ^6.0", - "symfony/mime": "^5.4 || ^6.0", + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "symfony/mime": "^5.4 || ^6.0 || ^7.0", "wsdltophp/packagegenerator": "^4.1" }, "config": { From 6d4961c11e3d924e8dc4a4d533b1c81d8606e9e2 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Mon, 2 Feb 2026 09:50:40 +0100 Subject: [PATCH 5/5] Added return types --- src/Command/SF1500/SF1500LookupCommand.php | 2 +- src/Command/SF1500/SF1500ReadCommand.php | 6 +++--- src/Command/SF1500/SF1500SearchCommand.php | 2 +- src/Command/SF1601/KombiPostAfsendCommand.php | 2 +- src/Command/SF1601/PostForespoergCommand.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Command/SF1500/SF1500LookupCommand.php b/src/Command/SF1500/SF1500LookupCommand.php index 1ca7bb01..d27ad91f 100644 --- a/src/Command/SF1500/SF1500LookupCommand.php +++ b/src/Command/SF1500/SF1500LookupCommand.php @@ -86,7 +86,7 @@ protected function configure() /** * @throws SF1500Exception */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $options = $this->resolveOptions( array_filter(array_filter($input->getOptions()), fn ($name) => isset($this->inputOptions[$name]), ARRAY_FILTER_USE_KEY) diff --git a/src/Command/SF1500/SF1500ReadCommand.php b/src/Command/SF1500/SF1500ReadCommand.php index 5abd8a05..4efcd2b0 100644 --- a/src/Command/SF1500/SF1500ReadCommand.php +++ b/src/Command/SF1500/SF1500ReadCommand.php @@ -53,10 +53,10 @@ protected function configure() &name=organisation &secret=test &version=bbcbd812-0d7c-420b-9b93-7318e3769578 - + If using path option make sure the path is relative to project root to the certificate file, e.g. '/app/src/Command/SF1500/certificate.p12' - + certificate-passphrase: the passphrase for p12 certificate, i.e. 'XYZ' @@ -79,7 +79,7 @@ protected function configure() /** * @throws SF1500Exception */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $options = $this->resolveOptions( array_filter( diff --git a/src/Command/SF1500/SF1500SearchCommand.php b/src/Command/SF1500/SF1500SearchCommand.php index 3157d321..39e46d88 100644 --- a/src/Command/SF1500/SF1500SearchCommand.php +++ b/src/Command/SF1500/SF1500SearchCommand.php @@ -92,7 +92,7 @@ protected function configure() /** * @throws SF1500Exception */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $options = $this->resolveOptions( array_filter( diff --git a/src/Command/SF1601/KombiPostAfsendCommand.php b/src/Command/SF1601/KombiPostAfsendCommand.php index 810aace1..b0b5e55a 100644 --- a/src/Command/SF1601/KombiPostAfsendCommand.php +++ b/src/Command/SF1601/KombiPostAfsendCommand.php @@ -131,7 +131,7 @@ protected function configure() $this->inputOptions = array_combine(array_map(fn (InputOption $option) => $option->getName(), $inputOptions), $inputOptions); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->setLogger(new ConsoleLogger($output)); diff --git a/src/Command/SF1601/PostForespoergCommand.php b/src/Command/SF1601/PostForespoergCommand.php index 03c81a33..107dd74b 100644 --- a/src/Command/SF1601/PostForespoergCommand.php +++ b/src/Command/SF1601/PostForespoergCommand.php @@ -69,7 +69,7 @@ protected function configure() $this->buildInputOptions($definition); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $options = $this->resolveOptions( array_filter(