diff --git a/composer.json b/composer.json
index b0c7a482..e64c99a9 100644
--- a/composer.json
+++ b/composer.json
@@ -48,15 +48,12 @@
"php-http/psr7-integration-tests": "^1.3",
"phpunit/phpunit": "^9.5.28",
"psalm/plugin-phpunit": "^0.18.4",
- "vimeo/psalm": "^5.6"
+ "vimeo/psalm": "^5.9"
},
"provide": {
"psr/http-factory-implementation": "1.0",
"psr/http-message-implementation": "1.0"
},
- "conflict": {
- "zendframework/zend-diactoros": "*"
- },
"autoload": {
"files": [
"src/functions/create_uploaded_file.php",
@@ -66,15 +63,7 @@
"src/functions/marshal_uri_from_sapi.php",
"src/functions/normalize_server.php",
"src/functions/normalize_uploaded_files.php",
- "src/functions/parse_cookie_header.php",
- "src/functions/create_uploaded_file.legacy.php",
- "src/functions/marshal_headers_from_sapi.legacy.php",
- "src/functions/marshal_method_from_sapi.legacy.php",
- "src/functions/marshal_protocol_version_from_sapi.legacy.php",
- "src/functions/marshal_uri_from_sapi.legacy.php",
- "src/functions/normalize_server.legacy.php",
- "src/functions/normalize_uploaded_files.legacy.php",
- "src/functions/parse_cookie_header.legacy.php"
+ "src/functions/parse_cookie_header.php"
],
"psr-4": {
"Laminas\\Diactoros\\": "src/"
diff --git a/composer.lock b/composer.lock
index df101525..374b4f92 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "7e672869013f70d75ddb58f532efe73f",
+ "content-hash": "c0dbef991657278ec00fc58f809172f3",
"packages": [
{
"name": "psr/http-factory",
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 23ba42ad..90d56ad1 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -276,11 +276,6 @@
parseUri
-
-
- func_get_args()
-
-
@@ -289,11 +284,6 @@
-
-
- func_get_args()
-
-
$headers[$name]
@@ -301,11 +291,6 @@
$value
-
-
- func_get_args()
-
-
string
@@ -315,22 +300,11 @@
-
-
- func_get_args()
-
-
-
-
- func_get_args()
- func_get_args()
-
-
$default
@@ -377,12 +351,6 @@
-
-
- func_get_args()
- func_get_args()
-
-
@@ -394,11 +362,6 @@
-
-
- func_get_args()
-
-
$normalized
@@ -440,11 +403,6 @@
)]]>
-
-
- func_get_args()
-
-
$cookies
diff --git a/src/functions/create_uploaded_file.legacy.php b/src/functions/create_uploaded_file.legacy.php
deleted file mode 100644
index fff753ff..00000000
--- a/src/functions/create_uploaded_file.legacy.php
+++ /dev/null
@@ -1,18 +0,0 @@
- key/value cookie pairs.
- */
-function parseCookieHeader($cookieHeader): array
-{
- return laminas_parseCookieHeader(...func_get_args());
-}