框架升级及修复升级后的bug
This commit is contained in:
Vendored
+1
-1
@@ -40,7 +40,7 @@ final class PsrServerRequestResolver implements ValueResolverInterface
|
||||
|
||||
public function resolve(Request $request, ArgumentMetadata $argument): \Traversable
|
||||
{
|
||||
if (!isset(self::SUPPORTED_TYPES[$argument->getType()])) {
|
||||
if (!isset(self::SUPPORTED_TYPES[$argument->getType() ?? ''])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,9 +23,6 @@ class UploadedFile extends BaseUploadedFile
|
||||
{
|
||||
private bool $test = false;
|
||||
|
||||
/**
|
||||
* @param-immediately-invoked-callable $getTemporaryPath
|
||||
*/
|
||||
public function __construct(
|
||||
private readonly UploadedFileInterface $psrUploadedFile,
|
||||
callable $getTemporaryPath,
|
||||
|
||||
@@ -3,13 +3,6 @@ PSR-7 Bridge
|
||||
|
||||
Provides integration for PSR7.
|
||||
|
||||
Sponsor
|
||||
-------
|
||||
|
||||
This package is looking for a [backer][1].
|
||||
|
||||
Help Symfony by [sponsoring][3] its development!
|
||||
|
||||
Resources
|
||||
---------
|
||||
|
||||
@@ -18,6 +11,3 @@ Resources
|
||||
* [Report issues](https://github.com/symfony/symfony/issues) and
|
||||
[send Pull Requests](https://github.com/symfony/symfony/pulls)
|
||||
in the [main Symfony repository](https://github.com/symfony/symfony)
|
||||
|
||||
[1]: https://symfony.com/backers
|
||||
[3]: https://symfony.com/sponsor
|
||||
|
||||
+11
-10
@@ -16,23 +16,24 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=8.4.1",
|
||||
"php": ">=8.2",
|
||||
"psr/http-message": "^1.0|^2.0",
|
||||
"symfony/http-foundation": "^7.4|^8.0"
|
||||
"symfony/http-foundation": "^6.4|^7.0|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/browser-kit": "^6.4|^7.0|^8.0",
|
||||
"symfony/config": "^6.4|^7.0|^8.0",
|
||||
"symfony/event-dispatcher": "^6.4|^7.0|^8.0",
|
||||
"symfony/framework-bundle": "^6.4.13|^7.1.6|^8.0",
|
||||
"symfony/http-kernel": "^6.4.13|^7.1.6|^8.0",
|
||||
"symfony/runtime": "^6.4.13|^7.1.6|^8.0",
|
||||
"nyholm/psr7": "^1.1",
|
||||
"php-http/discovery": "^1.15",
|
||||
"psr/log": "^1.1.4|^2|^3",
|
||||
"symfony/browser-kit": "^7.4|^8.0",
|
||||
"symfony/config": "^7.4|^8.0",
|
||||
"symfony/event-dispatcher": "^7.4|^8.0",
|
||||
"symfony/framework-bundle": "^7.4|^8.0",
|
||||
"symfony/http-kernel": "^7.4|^8.0",
|
||||
"symfony/runtime": "^7.4|^8.0"
|
||||
"psr/log": "^1.1.4|^2|^3"
|
||||
},
|
||||
"conflict": {
|
||||
"php-http/discovery": "<1.15"
|
||||
"php-http/discovery": "<1.15",
|
||||
"symfony/http-kernel": "<6.4"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
|
||||
Reference in New Issue
Block a user