Skip to content

Expand Symfony version constraints to support 8.0 #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@
"psr/clock": "^1.0",
"psr/event-dispatcher": "^1.0",
"spomky-labs/pki-framework": "^1.2.1",
"symfony/config": "^7.0",
"symfony/console": "^7.0",
"symfony/dependency-injection": "^7.0",
"symfony/event-dispatcher": "^7.0",
"symfony/config": "^7.0|^8.0",
"symfony/console": "^7.0|^8.0",
"symfony/dependency-injection": "^7.0|^8.0",
"symfony/event-dispatcher": "^7.0|^8.0",
"symfony/http-client-contracts": "^3.4",
"symfony/http-kernel": "^7.0"
"symfony/http-kernel": "^7.0|^8.0"
},
"require-dev": {
"ext-curl": "*",
"ext-gmp": "*",
"ext-sodium": "*",
"ekino/phpstan-banned-code": "^2.0|^3.0",
"ergebnis/phpunit-slow-test-detector": "^2.14",
"infection/infection": "^0.29",
"infection/infection": "^0.31",
"matthiasnoback/symfony-config-test": "^6.0",
"paragonie/sodium_compat": "^1.20|^2.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
Expand All @@ -78,21 +78,21 @@
"phpstan/phpstan-strict-rules": "^1.4|^2.0",
"phpstan/phpstan-symfony": "^1.3|^2.0",
"phpunit/phpunit": "^10.5.10|^11.0|^12.0",
"deptrac/deptrac": "^2.0|^3.0",
"deptrac/deptrac": "^2.0|^3.0|^4.0",
"rector/rector": "^1.0|^2.0",
"roave/security-advisories": "dev-latest",
"spomky-labs/aes-key-wrap": "^7.0",
"spomky-labs/aes-key-wrap": "^7.0|^8.0",
"staabm/phpstan-dba": "^0.2.79|^0.3|^0.4",
"staabm/phpstan-todo-by": "^0.1.25|^0.2",
"staabm/phpstan-todo-by": "^0.1.25|^0.2|^0.3",
"struggle-for-php/sfp-phpstan-psr-log": "^0.20|^0.21|^0.22|^0.23|^0.24",
"symfony/browser-kit": "^7.0",
"symfony/http-client": "^7.0",
"symfony/clock": "^7.0",
"symfony/finder": "^7.0",
"symfony/framework-bundle": "^7.0",
"symfony/serializer": "^7.0",
"symfony/var-dumper": "^7.0",
"symfony/yaml": "^7.0",
"symfony/browser-kit": "^7.0|^8.0",
"symfony/http-client": "^7.0|^8.0",
"symfony/clock": "^7.0|^8.0",
"symfony/finder": "^7.0|^8.0",
"symfony/framework-bundle": "^7.0|^8.0",
"symfony/serializer": "^7.0|^8.0",
"symfony/var-dumper": "^7.0|^8.0",
"symfony/yaml": "^7.0|^8.0",
"symplify/easy-coding-standard": "^12.0"
},
"replace": {
Expand All @@ -116,5 +116,6 @@
"php-http/discovery": true,
"infection/extension-installer": false
}
}
},
"minimum-stability": "dev"
}
20 changes: 19 additions & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ parameters:
count: 1
path: src/Bundle/DependencyInjection/Compiler/KeySetControllerCompilerPass.php

-
message: '#^Class Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension extends internal class Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension\.$#'
identifier: class.extendsInternalClass
count: 1
path: src/Bundle/DependencyInjection/JoseFrameworkExtension.php

-
message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:getConfiguration\(\) has parameter \$configs with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
Expand Down Expand Up @@ -2365,7 +2371,7 @@ parameters:
path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php

-
message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:load\(\) expects array, mixed given\.$#'
message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php
Expand Down Expand Up @@ -3798,6 +3804,12 @@ parameters:
count: 1
path: src/Bundle/Resources/config/Algorithms/signature_experimental.php

-
message: '#^Access to constant on internal class Jose\\Component\\Core\\Util\\Ecc\\NistCurve\.$#'
identifier: classConstant.internalClass
count: 1
path: src/Bundle/Resources/config/analyzers.php

-
message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:getRecipientIndex\(\) has parameter \$context with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
Expand Down Expand Up @@ -5598,6 +5610,12 @@ parameters:
count: 1
path: src/Library/Signature/Algorithm/ECDSA.php

-
message: '#^Call to internal static method ParagonIE_Sodium_Core_Ed25519\:\:publickey_from_secretkey\(\)\.$#'
identifier: staticMethod.internal
count: 1
path: src/Library/Signature/Algorithm/EdDSA.php

-
message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:sign\(\) should return string but returns mixed\.$#'
identifier: return.type
Expand Down
10 changes: 5 additions & 5 deletions src/Bundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"require": {
"php": ">=8.2",
"psr/event-dispatcher": "^1.0",
"symfony/config": "^7.0",
"symfony/console": "^7.0",
"symfony/dependency-injection": "^7.0",
"symfony/event-dispatcher": "^7.0",
"symfony/config": "^7.0|^8.0",
"symfony/console": "^7.0|^8.0",
"symfony/dependency-injection": "^7.0|^8.0",
"symfony/event-dispatcher": "^7.0|^8.0",
"symfony/http-client-contracts": "^3.4",
"symfony/http-kernel": "^7.0",
"symfony/http-kernel": "^7.0|^8.0",
"web-token/jwt-library": "^4.0"
},
"suggest": {
Expand Down