diff --git a/CHANGELOG.md b/CHANGELOG.md index 5103b78..8d03adb 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 symfony/string dependency + ## [1.7.2] - 2025-11-24 - [PR-45](https://github.com/itk-dev/serviceplatformen/pull/45) diff --git a/composer.json b/composer.json index f4d60f1..8b86d1d 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/string": "^5.4 || ^6.0", - "symfony/uid": "^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 || ^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": { diff --git a/src/Command/SF1500/SF1500LookupCommand.php b/src/Command/SF1500/SF1500LookupCommand.php index 1ca7bb0..d27ad91 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 5abd8a0..4efcd2b 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 3157d32..39e46d8 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 810aace..b0b5e55 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 03c81a3..107dd74 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(