Merge pull request #19602 from kamil-tekiela/vimeo/psalm

Upgrade Psalm to 6.7 and silence issues
This commit is contained in:
Maurício Meneghini Fauth 2025-02-17 17:31:19 -03:00 committed by GitHub
commit 81a057a46b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 734 additions and 57 deletions

784
composer.lock generated
View File

@ -2407,6 +2407,244 @@
],
"time": "2024-02-17T04:49:38+00:00"
},
{
"name": "amphp/cache",
"version": "v2.0.1",
"source": {
"type": "git",
"url": "https://github.com/amphp/cache.git",
"reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/cache/zipball/46912e387e6aa94933b61ea1ead9cf7540b7797c",
"reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/serialization": "^1",
"amphp/sync": "^2",
"php": ">=8.1",
"revolt/event-loop": "^1 || ^0.2"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.4"
},
"type": "library",
"autoload": {
"psr-4": {
"Amp\\Cache\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
},
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
},
{
"name": "Daniel Lowrey",
"email": "rdlowrey@php.net"
}
],
"description": "A fiber-aware cache API based on Amp and Revolt.",
"homepage": "https://amphp.org/cache",
"support": {
"issues": "https://github.com/amphp/cache/issues",
"source": "https://github.com/amphp/cache/tree/v2.0.1"
},
"funding": [
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2024-04-19T03:38:06+00:00"
},
{
"name": "amphp/dns",
"version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/amphp/dns.git",
"reference": "78eb3db5fc69bf2fc0cb503c4fcba667bc223c71"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/dns/zipball/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71",
"reference": "78eb3db5fc69bf2fc0cb503c4fcba667bc223c71",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/cache": "^2",
"amphp/parser": "^1",
"amphp/process": "^2",
"daverandom/libdns": "^2.0.2",
"ext-filter": "*",
"ext-json": "*",
"php": ">=8.1",
"revolt/event-loop": "^1 || ^0.2"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "5.20"
},
"type": "library",
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Amp\\Dns\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Chris Wright",
"email": "addr@daverandom.com"
},
{
"name": "Daniel Lowrey",
"email": "rdlowrey@php.net"
},
{
"name": "Bob Weinand",
"email": "bobwei9@hotmail.com"
},
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
},
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
}
],
"description": "Async DNS resolution for Amp.",
"homepage": "https://github.com/amphp/dns",
"keywords": [
"amp",
"amphp",
"async",
"client",
"dns",
"resolve"
],
"support": {
"issues": "https://github.com/amphp/dns/issues",
"source": "https://github.com/amphp/dns/tree/v2.4.0"
},
"funding": [
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2025-01-19T15:43:40+00:00"
},
{
"name": "amphp/parallel",
"version": "v2.3.1",
"source": {
"type": "git",
"url": "https://github.com/amphp/parallel.git",
"reference": "5113111de02796a782f5d90767455e7391cca190"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/parallel/zipball/5113111de02796a782f5d90767455e7391cca190",
"reference": "5113111de02796a782f5d90767455e7391cca190",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/cache": "^2",
"amphp/parser": "^1",
"amphp/pipeline": "^1",
"amphp/process": "^2",
"amphp/serialization": "^1",
"amphp/socket": "^2",
"amphp/sync": "^2",
"php": ">=8.1",
"revolt/event-loop": "^1"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.18"
},
"type": "library",
"autoload": {
"files": [
"src/Context/functions.php",
"src/Context/Internal/functions.php",
"src/Ipc/functions.php",
"src/Worker/functions.php"
],
"psr-4": {
"Amp\\Parallel\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
},
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
},
{
"name": "Stephen Coakley",
"email": "me@stephencoakley.com"
}
],
"description": "Parallel processing component for Amp.",
"homepage": "https://github.com/amphp/parallel",
"keywords": [
"async",
"asynchronous",
"concurrent",
"multi-processing",
"multi-threading"
],
"support": {
"issues": "https://github.com/amphp/parallel/issues",
"source": "https://github.com/amphp/parallel/tree/v2.3.1"
},
"funding": [
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2024-12-21T01:56:09+00:00"
},
{
"name": "amphp/parser",
"version": "v1.1.1",
@ -2536,6 +2774,74 @@
],
"time": "2025-01-19T15:42:46+00:00"
},
{
"name": "amphp/process",
"version": "v2.0.3",
"source": {
"type": "git",
"url": "https://github.com/amphp/process.git",
"reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/process/zipball/52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d",
"reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/sync": "^2",
"php": ">=8.1",
"revolt/event-loop": "^1 || ^0.2"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.4"
},
"type": "library",
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Amp\\Process\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bob Weinand",
"email": "bobwei9@hotmail.com"
},
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
},
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
}
],
"description": "A fiber-aware process manager based on Amp and Revolt.",
"homepage": "https://amphp.org/process",
"support": {
"issues": "https://github.com/amphp/process/issues",
"source": "https://github.com/amphp/process/tree/v2.0.3"
},
"funding": [
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2024-04-19T03:13:44+00:00"
},
{
"name": "amphp/serialization",
"version": "v1.0.0",
@ -2594,6 +2900,90 @@
},
"time": "2020-03-25T21:39:07+00:00"
},
{
"name": "amphp/socket",
"version": "v2.3.1",
"source": {
"type": "git",
"url": "https://github.com/amphp/socket.git",
"reference": "58e0422221825b79681b72c50c47a930be7bf1e1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/socket/zipball/58e0422221825b79681b72c50c47a930be7bf1e1",
"reference": "58e0422221825b79681b72c50c47a930be7bf1e1",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/dns": "^2",
"ext-openssl": "*",
"kelunik/certificate": "^1.1",
"league/uri": "^6.5 | ^7",
"league/uri-interfaces": "^2.3 | ^7",
"php": ">=8.1",
"revolt/event-loop": "^1 || ^0.2"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3",
"amphp/process": "^2",
"phpunit/phpunit": "^9",
"psalm/phar": "5.20"
},
"type": "library",
"autoload": {
"files": [
"src/functions.php",
"src/Internal/functions.php",
"src/SocketAddress/functions.php"
],
"psr-4": {
"Amp\\Socket\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Daniel Lowrey",
"email": "rdlowrey@gmail.com"
},
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
},
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
}
],
"description": "Non-blocking socket connection / server implementations based on Amp and Revolt.",
"homepage": "https://github.com/amphp/socket",
"keywords": [
"amp",
"async",
"encryption",
"non-blocking",
"sockets",
"tcp",
"tls"
],
"support": {
"issues": "https://github.com/amphp/socket/issues",
"source": "https://github.com/amphp/socket/tree/v2.3.1"
},
"funding": [
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2024-04-21T14:33:03+00:00"
},
{
"name": "amphp/sync",
"version": "v2.3.0",
@ -3134,6 +3524,51 @@
],
"time": "2024-05-06T16:37:16+00:00"
},
{
"name": "danog/advanced-json-rpc",
"version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/danog/php-advanced-json-rpc.git",
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/danog/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447",
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447",
"shasum": ""
},
"require": {
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
"php": "^7.1 || ^8.0",
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^8.0"
},
"type": "library",
"autoload": {
"psr-4": {
"AdvancedJsonRpc\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"ISC"
],
"authors": [
{
"name": "Felix Becker",
"email": "felix.b@outlook.com"
}
],
"description": "A more advanced JSONRPC implementation",
"support": {
"issues": "https://github.com/danog/php-advanced-json-rpc/issues",
"source": "https://github.com/danog/php-advanced-json-rpc/tree/v3.2.1"
},
"time": "2021-06-11T22:34:44+00:00"
},
{
"name": "dasprid/enum",
"version": "1.0.6",
@ -3184,6 +3619,50 @@
},
"time": "2024-08-09T14:30:48+00:00"
},
{
"name": "daverandom/libdns",
"version": "v2.1.0",
"source": {
"type": "git",
"url": "https://github.com/DaveRandom/LibDNS.git",
"reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a",
"reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"php": ">=7.1"
},
"suggest": {
"ext-intl": "Required for IDN support"
},
"type": "library",
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"LibDNS\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "DNS protocol implementation written in pure PHP",
"keywords": [
"dns"
],
"support": {
"issues": "https://github.com/DaveRandom/LibDNS/issues",
"source": "https://github.com/DaveRandom/LibDNS/tree/v2.1.0"
},
"time": "2024-04-12T12:12:48+00:00"
},
{
"name": "dealerdirect/phpcodesniffer-composer-installer",
"version": "v1.0.0",
@ -3400,51 +3879,6 @@
},
"time": "2024-12-07T21:18:45+00:00"
},
{
"name": "felixfbecker/advanced-json-rpc",
"version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447",
"reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447",
"shasum": ""
},
"require": {
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
"php": "^7.1 || ^8.0",
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^8.0"
},
"type": "library",
"autoload": {
"psr-4": {
"AdvancedJsonRpc\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"ISC"
],
"authors": [
{
"name": "Felix Becker",
"email": "felix.b@outlook.com"
}
],
"description": "A more advanced JSONRPC implementation",
"support": {
"issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",
"source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1"
},
"time": "2021-06-11T22:34:44+00:00"
},
{
"name": "felixfbecker/language-server-protocol",
"version": "v1.5.3",
@ -3741,6 +4175,64 @@
},
"time": "2024-08-09T07:13:21+00:00"
},
{
"name": "kelunik/certificate",
"version": "v1.1.3",
"source": {
"type": "git",
"url": "https://github.com/kelunik/certificate.git",
"reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kelunik/certificate/zipball/7e00d498c264d5eb4f78c69f41c8bd6719c0199e",
"reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e",
"shasum": ""
},
"require": {
"ext-openssl": "*",
"php": ">=7.0"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2",
"phpunit/phpunit": "^6 | 7 | ^8 | ^9"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Kelunik\\Certificate\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
}
],
"description": "Access certificate details and transform between different formats.",
"keywords": [
"DER",
"certificate",
"certificates",
"openssl",
"pem",
"x509"
],
"support": {
"issues": "https://github.com/kelunik/certificate/issues",
"source": "https://github.com/kelunik/certificate/tree/v1.1.3"
},
"time": "2023-02-03T21:26:53+00:00"
},
{
"name": "laminas/laminas-diactoros",
"version": "3.5.0",
@ -3893,6 +4385,180 @@
],
"time": "2024-09-24T20:45:14+00:00"
},
{
"name": "league/uri",
"version": "7.5.1",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/uri.git",
"reference": "81fb5145d2644324614cc532b28efd0215bda430"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri/zipball/81fb5145d2644324614cc532b28efd0215bda430",
"reference": "81fb5145d2644324614cc532b28efd0215bda430",
"shasum": ""
},
"require": {
"league/uri-interfaces": "^7.5",
"php": "^8.1"
},
"conflict": {
"league/uri-schemes": "^1.0"
},
"suggest": {
"ext-bcmath": "to improve IPV4 host parsing",
"ext-fileinfo": "to create Data URI from file contennts",
"ext-gmp": "to improve IPV4 host parsing",
"ext-intl": "to handle IDN host with the best performance",
"jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain",
"league/uri-components": "Needed to easily manipulate URI objects components",
"php-64bit": "to improve IPV4 host parsing",
"symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "7.x-dev"
}
},
"autoload": {
"psr-4": {
"League\\Uri\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ignace Nyamagana Butera",
"email": "nyamsprod@gmail.com",
"homepage": "https://nyamsprod.com"
}
],
"description": "URI manipulation library",
"homepage": "https://uri.thephpleague.com",
"keywords": [
"data-uri",
"file-uri",
"ftp",
"hostname",
"http",
"https",
"middleware",
"parse_str",
"parse_url",
"psr-7",
"query-string",
"querystring",
"rfc3986",
"rfc3987",
"rfc6570",
"uri",
"uri-template",
"url",
"ws"
],
"support": {
"docs": "https://uri.thephpleague.com",
"forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri/tree/7.5.1"
},
"funding": [
{
"url": "https://github.com/sponsors/nyamsprod",
"type": "github"
}
],
"time": "2024-12-08T08:40:02+00:00"
},
{
"name": "league/uri-interfaces",
"version": "7.5.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/uri-interfaces.git",
"reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/08cfc6c4f3d811584fb09c37e2849e6a7f9b0742",
"reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742",
"shasum": ""
},
"require": {
"ext-filter": "*",
"php": "^8.1",
"psr/http-factory": "^1",
"psr/http-message": "^1.1 || ^2.0"
},
"suggest": {
"ext-bcmath": "to improve IPV4 host parsing",
"ext-gmp": "to improve IPV4 host parsing",
"ext-intl": "to handle IDN host with the best performance",
"php-64bit": "to improve IPV4 host parsing",
"symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "7.x-dev"
}
},
"autoload": {
"psr-4": {
"League\\Uri\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ignace Nyamagana Butera",
"email": "nyamsprod@gmail.com",
"homepage": "https://nyamsprod.com"
}
],
"description": "Common interfaces and classes for URI representation and interaction",
"homepage": "https://uri.thephpleague.com",
"keywords": [
"data-uri",
"file-uri",
"ftp",
"hostname",
"http",
"https",
"parse_str",
"parse_url",
"psr-7",
"query-string",
"querystring",
"rfc3986",
"rfc3987",
"rfc6570",
"uri",
"url",
"ws"
],
"support": {
"docs": "https://uri.thephpleague.com",
"forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri-interfaces/tree/7.5.0"
},
"funding": [
{
"url": "https://github.com/sponsors/nyamsprod",
"type": "github"
}
],
"time": "2024-12-08T08:18:47+00:00"
},
{
"name": "myclabs/deep-copy",
"version": "1.12.1",
@ -8719,24 +9385,26 @@
},
{
"name": "vimeo/psalm",
"version": "6.0.0",
"version": "6.7.0",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
"reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9"
"reference": "11a32693fb9e33d4f0505de17af41c8fcac698a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/b8e96bb617bf59382113b1b56cef751f648a7dc9",
"reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/11a32693fb9e33d4f0505de17af41c8fcac698a7",
"reference": "11a32693fb9e33d4f0505de17af41c8fcac698a7",
"shasum": ""
},
"require": {
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/parallel": "^2.3",
"composer-runtime-api": "^2",
"composer/semver": "^1.4 || ^2.0 || ^3.0",
"composer/xdebug-handler": "^2.0 || ^3.0",
"danog/advanced-json-rpc": "^3.1",
"dnoegel/php-xdg-base-dir": "^0.1.1",
"ext-ctype": "*",
"ext-dom": "*",
@ -8745,16 +9413,15 @@
"ext-mbstring": "*",
"ext-simplexml": "*",
"ext-tokenizer": "*",
"felixfbecker/advanced-json-rpc": "^3.1",
"felixfbecker/language-server-protocol": "^1.5.3",
"fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0",
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
"nikic/php-parser": "^5.0.0",
"php": "~8.1.17 || ~8.2.4 || ~8.3.0 || ~8.4.0",
"sebastian/diff": "^4.0 || ^5.0 || ^6.0",
"php": "~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3",
"sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"spatie/array-to-xml": "^2.17.0 || ^3.0",
"symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0",
"symfony/filesystem": "^5.4 || ^6.0 || ^7.0"
"symfony/console": "^6.0 || ^7.0",
"symfony/filesystem": "~6.3.12 || ~6.4.3 || ^7.0.3"
},
"provide": {
"psalm/psalm": "self.version"
@ -8774,7 +9441,7 @@
"psalm/plugin-phpunit": "^0.19",
"slevomat/coding-standard": "^8.4",
"squizlabs/php_codesniffer": "^3.6",
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0"
"symfony/process": "^6.0 || ^7.0"
},
"suggest": {
"ext-curl": "In order to send data to shepherd",
@ -8785,6 +9452,7 @@
"psalm-language-server",
"psalm-plugin",
"psalm-refactor",
"psalm-review",
"psalter"
],
"type": "project",
@ -8811,6 +9479,10 @@
"authors": [
{
"name": "Matthew Brown"
},
{
"name": "Daniil Gentili",
"email": "daniil@daniil.it"
}
],
"description": "A static analysis tool for finding errors in PHP applications",
@ -8825,7 +9497,7 @@
"issues": "https://github.com/vimeo/psalm/issues",
"source": "https://github.com/vimeo/psalm"
},
"time": "2025-01-26T12:03:19+00:00"
"time": "2025-02-17T10:39:14+00:00"
},
{
"name": "web-auth/cose-lib",

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="6.0.0@b8e96bb617bf59382113b1b56cef751f648a7dc9">
<files psalm-version="6.7.0@11a32693fb9e33d4f0505de17af41c8fcac698a7">
<file src="app/services_loader.php">
<MixedArgument>
<code><![CDATA[$argumentName]]></code>

View File

@ -14,6 +14,8 @@
errorBaseline="psalm-baseline.xml"
ignoreInternalFunctionFalseReturn="true"
ignoreInternalFunctionNullReturn="true"
ensureOverrideAttribute="false"
strictBinaryOperands="false"
>
<projectFiles>
<directory name="app"/>
@ -38,4 +40,7 @@
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<issueHandlers>
<ClassMustBeFinal errorLevel="suppress" />
</issueHandlers>
</psalm>