From b0b56f1c40787e37d2a4afeaadb7fabb5e99c909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Tue, 1 Apr 2025 12:50:08 -0300 Subject: [PATCH] Update Composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removing composer/package-versions-deprecated (1.11.99.5) - Upgrading amphp/byte-stream (v2.1.1 => v2.1.2) - Upgrading amphp/pipeline (v1.2.2 => v1.2.3) - Upgrading guzzlehttp/psr7 (2.7.0 => 2.7.1) - Upgrading phpmyadmin/motranslator (dev-master 37e080d => dev-master 0b0b217) - Upgrading phpmyadmin/sql-parser (dev-master ebcca8b => dev-master 8fb3e83) - Upgrading phpstan/phpstan (2.1.8 => 2.1.11) - Upgrading phpstan/phpstan-phpunit (2.0.4 => 2.0.6) - Upgrading phpstan/phpstan-strict-rules (2.0.3 => 2.0.4) - Upgrading phpunit/phpunit (11.5.12 => 11.5.15) - Upgrading psalm/plugin-phpunit (0.19.2 => 0.19.5) - Upgrading roave/security-advisories (dev-latest 9e474e1 => dev-latest bd7c044) - Upgrading sebastian/code-unit (3.0.2 => 3.0.3) - Upgrading sebastian/type (5.1.0 => 5.1.2) - Upgrading slevomat/coding-standard (8.16.0 => 8.16.2) - Upgrading squizlabs/php_codesniffer (3.11.3 => 3.12.0) - Upgrading symfony/cache (v7.2.4 => v7.2.5) - Upgrading symfony/console (v7.2.1 => v7.2.5) - Upgrading symfony/dependency-injection (v7.2.4 => v7.2.5) - Upgrading symfony/process (v7.2.4 => v7.2.5) - Upgrading symfony/var-exporter (v7.2.4 => v7.2.5) - Upgrading tecnickcom/tcpdf (6.8.2 => 6.9.0) - Upgrading vimeo/psalm (6.8.9 => 6.10.0) Signed-off-by: Maurício Meneghini Fauth --- composer.lock | 369 ++++++--------- phpstan-baseline.neon | 164 ++++--- psalm-baseline.xml | 1013 ++++++++++------------------------------- 3 files changed, 494 insertions(+), 1052 deletions(-) diff --git a/composer.lock b/composer.lock index 3291b5a4a0..eab78aa36e 100644 --- a/composer.lock +++ b/composer.lock @@ -313,12 +313,12 @@ "source": { "type": "git", "url": "https://github.com/phpmyadmin/motranslator.git", - "reference": "37e080dfc684e2b55afc6dd4a88dafb2fb4a5903" + "reference": "0b0b2171de6b6eb7284106d3e17309527ed38810" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmyadmin/motranslator/zipball/37e080dfc684e2b55afc6dd4a88dafb2fb4a5903", - "reference": "37e080dfc684e2b55afc6dd4a88dafb2fb4a5903", + "url": "https://api.github.com/repos/phpmyadmin/motranslator/zipball/0b0b2171de6b6eb7284106d3e17309527ed38810", + "reference": "0b0b2171de6b6eb7284106d3e17309527ed38810", "shasum": "" }, "require": { @@ -377,7 +377,7 @@ "issues": "https://github.com/phpmyadmin/motranslator/issues", "source": "https://github.com/phpmyadmin/motranslator" }, - "time": "2025-02-26T00:07:50+00:00" + "time": "2025-04-01T03:50:44+00:00" }, { "name": "phpmyadmin/shapefile", @@ -456,12 +456,12 @@ "source": { "type": "git", "url": "https://github.com/phpmyadmin/sql-parser.git", - "reference": "ebcca8b500b5edcda403a227ee6cb1fec40aece7" + "reference": "8fb3e83289abec9d13a6a3686b17495a2353bc28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/ebcca8b500b5edcda403a227ee6cb1fec40aece7", - "reference": "ebcca8b500b5edcda403a227ee6cb1fec40aece7", + "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/8fb3e83289abec9d13a6a3686b17495a2353bc28", + "reference": "8fb3e83289abec9d13a6a3686b17495a2353bc28", "shasum": "" }, "require": { @@ -539,7 +539,7 @@ "type": "other" } ], - "time": "2025-03-12T13:20:09+00:00" + "time": "2025-03-22T07:14:31+00:00" }, { "name": "psr/cache", @@ -1042,16 +1042,16 @@ }, { "name": "symfony/cache", - "version": "v7.2.4", + "version": "v7.2.5", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "d33cd9e14326e14a4145c21e600602eaf17cc9e7" + "reference": "9131e3018872d2ebb6fe8a9a4d6631273513d42c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/d33cd9e14326e14a4145c21e600602eaf17cc9e7", - "reference": "d33cd9e14326e14a4145c21e600602eaf17cc9e7", + "url": "https://api.github.com/repos/symfony/cache/zipball/9131e3018872d2ebb6fe8a9a4d6631273513d42c", + "reference": "9131e3018872d2ebb6fe8a9a4d6631273513d42c", "shasum": "" }, "require": { @@ -1120,7 +1120,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v7.2.4" + "source": "https://github.com/symfony/cache/tree/v7.2.5" }, "funding": [ { @@ -1136,7 +1136,7 @@ "type": "tidelift" } ], - "time": "2025-02-26T09:57:54+00:00" + "time": "2025-03-25T15:54:33+00:00" }, { "name": "symfony/cache-contracts", @@ -1291,16 +1291,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v7.2.4", + "version": "v7.2.5", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "f0a1614cccb4b8431a97076f9debc08ddca321ca" + "reference": "58ab71379f14a741755717cece2868bf41ed45d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f0a1614cccb4b8431a97076f9debc08ddca321ca", - "reference": "f0a1614cccb4b8431a97076f9debc08ddca321ca", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/58ab71379f14a741755717cece2868bf41ed45d8", + "reference": "58ab71379f14a741755717cece2868bf41ed45d8", "shasum": "" }, "require": { @@ -1308,7 +1308,7 @@ "psr/container": "^1.1|^2.0", "symfony/deprecation-contracts": "^2.5|^3", "symfony/service-contracts": "^3.5", - "symfony/var-exporter": "^6.4|^7.0" + "symfony/var-exporter": "^6.4.20|^7.2.5" }, "conflict": { "ext-psr": "<1.1|>=2", @@ -1351,7 +1351,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v7.2.4" + "source": "https://github.com/symfony/dependency-injection/tree/v7.2.5" }, "funding": [ { @@ -1367,7 +1367,7 @@ "type": "tidelift" } ], - "time": "2025-02-21T09:47:16+00:00" + "time": "2025-03-13T12:21:46+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1890,16 +1890,16 @@ }, { "name": "symfony/var-exporter", - "version": "v7.2.4", + "version": "v7.2.5", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "4ede73aa7a73d81506002d2caadbbdad1ef5b69a" + "reference": "c37b301818bd7288715d40de634f05781b686ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/4ede73aa7a73d81506002d2caadbbdad1ef5b69a", - "reference": "4ede73aa7a73d81506002d2caadbbdad1ef5b69a", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/c37b301818bd7288715d40de634f05781b686ace", + "reference": "c37b301818bd7288715d40de634f05781b686ace", "shasum": "" }, "require": { @@ -1946,7 +1946,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v7.2.4" + "source": "https://github.com/symfony/var-exporter/tree/v7.2.5" }, "funding": [ { @@ -1962,7 +1962,7 @@ "type": "tidelift" } ], - "time": "2025-02-13T10:27:23+00:00" + "time": "2025-03-13T12:21:46+00:00" }, { "name": "twig/twig", @@ -2257,16 +2257,16 @@ }, { "name": "amphp/byte-stream", - "version": "v2.1.1", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/amphp/byte-stream.git", - "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93" + "reference": "55a6bd071aec26fa2a3e002618c20c35e3df1b46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/daa00f2efdbd71565bf64ffefa89e37542addf93", - "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/55a6bd071aec26fa2a3e002618c20c35e3df1b46", + "reference": "55a6bd071aec26fa2a3e002618c20c35e3df1b46", "shasum": "" }, "require": { @@ -2320,7 +2320,7 @@ ], "support": { "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v2.1.1" + "source": "https://github.com/amphp/byte-stream/tree/v2.1.2" }, "funding": [ { @@ -2328,7 +2328,7 @@ "type": "github" } ], - "time": "2024-02-17T04:49:38+00:00" + "time": "2025-03-16T17:10:27+00:00" }, { "name": "amphp/cache", @@ -2632,16 +2632,16 @@ }, { "name": "amphp/pipeline", - "version": "v1.2.2", + "version": "v1.2.3", "source": { "type": "git", "url": "https://github.com/amphp/pipeline.git", - "reference": "97cbf289f4d8877acfe58dd90ed5a4370a43caa4" + "reference": "7b52598c2e9105ebcddf247fc523161581930367" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/pipeline/zipball/97cbf289f4d8877acfe58dd90ed5a4370a43caa4", - "reference": "97cbf289f4d8877acfe58dd90ed5a4370a43caa4", + "url": "https://api.github.com/repos/amphp/pipeline/zipball/7b52598c2e9105ebcddf247fc523161581930367", + "reference": "7b52598c2e9105ebcddf247fc523161581930367", "shasum": "" }, "require": { @@ -2687,7 +2687,7 @@ ], "support": { "issues": "https://github.com/amphp/pipeline/issues", - "source": "https://github.com/amphp/pipeline/tree/v1.2.2" + "source": "https://github.com/amphp/pipeline/tree/v1.2.3" }, "funding": [ { @@ -2695,7 +2695,7 @@ "type": "github" } ], - "time": "2025-01-19T15:42:46+00:00" + "time": "2025-03-16T16:33:53+00:00" }, { "name": "amphp/process", @@ -3148,79 +3148,6 @@ }, "time": "2024-07-24T15:01:10+00:00" }, - { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.5", - "source": { - "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" - }, - "replace": { - "ocramius/package-versions": "1.11.99" - }, - "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" - }, - "type": "composer-plugin", - "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "PackageVersions\\": "src/PackageVersions" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" - } - ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", - "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-01-17T14:14:24+00:00" - }, { "name": "composer/pcre", "version": "3.3.2", @@ -3928,16 +3855,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", "shasum": "" }, "require": { @@ -4024,7 +3951,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.0" + "source": "https://github.com/guzzle/psr7/tree/2.7.1" }, "funding": [ { @@ -4040,7 +3967,7 @@ "type": "tidelift" } ], - "time": "2024-07-18T11:15:46+00:00" + "time": "2025-03-27T12:30:47+00:00" }, { "name": "httpsoft/http-message", @@ -5302,16 +5229,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.8", + "version": "2.1.11", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f" + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f9adff3b87c03b12cc7e46a30a524648e497758f", - "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30", + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30", "shasum": "" }, "require": { @@ -5356,7 +5283,7 @@ "type": "github" } ], - "time": "2025-03-09T09:30:48+00:00" + "time": "2025-03-24T13:45:00+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -5407,16 +5334,16 @@ }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.4", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "d09e152f403c843998d7a52b5d87040c937525dd" + "reference": "6b92469f8a7995e626da3aa487099617b8dfa260" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d09e152f403c843998d7a52b5d87040c937525dd", - "reference": "d09e152f403c843998d7a52b5d87040c937525dd", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6b92469f8a7995e626da3aa487099617b8dfa260", + "reference": "6b92469f8a7995e626da3aa487099617b8dfa260", "shasum": "" }, "require": { @@ -5427,7 +5354,9 @@ "phpunit/phpunit": "<7.0" }, "require-dev": { + "nikic/php-parser": "^5", "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^9.6" }, @@ -5452,22 +5381,22 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.4" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.6" }, - "time": "2025-01-22T13:07:38+00:00" + "time": "2025-03-26T12:47:06+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "8b88b5f818bfa301e0c99154ab622dace071c3ba" + "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/8b88b5f818bfa301e0c99154ab622dace071c3ba", - "reference": "8b88b5f818bfa301e0c99154ab622dace071c3ba", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", + "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", "shasum": "" }, "require": { @@ -5500,9 +5429,9 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.3" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.4" }, - "time": "2025-01-21T10:52:14+00:00" + "time": "2025-03-18T11:42:40+00:00" }, { "name": "phpstan/phpstan-webmozart-assert", @@ -5880,16 +5809,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.12", + "version": "11.5.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "d42785840519401ed2113292263795eb4c0f95da" + "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d42785840519401ed2113292263795eb4c0f95da", - "reference": "d42785840519401ed2113292263795eb4c0f95da", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c", + "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c", "shasum": "" }, "require": { @@ -5909,14 +5838,14 @@ "phpunit/php-text-template": "^4.0.1", "phpunit/php-timer": "^7.0.1", "sebastian/cli-parser": "^3.0.2", - "sebastian/code-unit": "^3.0.2", + "sebastian/code-unit": "^3.0.3", "sebastian/comparator": "^6.3.1", "sebastian/diff": "^6.0.2", "sebastian/environment": "^7.2.0", "sebastian/exporter": "^6.3.0", "sebastian/global-state": "^7.0.2", "sebastian/object-enumerator": "^6.0.1", - "sebastian/type": "^5.1.0", + "sebastian/type": "^5.1.2", "sebastian/version": "^5.0.2", "staabm/side-effects-detector": "^1.0.5" }, @@ -5961,7 +5890,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.12" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.15" }, "funding": [ { @@ -5977,7 +5906,7 @@ "type": "tidelift" } ], - "time": "2025-03-07T07:31:03+00:00" + "time": "2025-03-23T16:02:11+00:00" }, { "name": "pragmarx/google2fa", @@ -6100,34 +6029,32 @@ }, { "name": "psalm/plugin-phpunit", - "version": "0.19.2", + "version": "0.19.5", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-phpunit.git", - "reference": "7b7a5cde988f83ccdbdf3ebaecd88192e01c5eb1" + "reference": "143f9d5e049fffcdbc0da3fbb99f6149f9d3e2dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/7b7a5cde988f83ccdbdf3ebaecd88192e01c5eb1", - "reference": "7b7a5cde988f83ccdbdf3ebaecd88192e01c5eb1", + "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/143f9d5e049fffcdbc0da3fbb99f6149f9d3e2dc", + "reference": "143f9d5e049fffcdbc0da3fbb99f6149f9d3e2dc", "shasum": "" }, "require": { - "composer/package-versions-deprecated": "^1.10", - "composer/semver": "^1.4 || ^2.0 || ^3.0", "ext-simplexml": "*", "php": ">=8.1", - "vimeo/psalm": "dev-master || ^6" + "vimeo/psalm": "dev-master || ^6.10.0" }, "conflict": { - "phpunit/phpunit": "<7.5" + "phpspec/prophecy": "<1.20.0", + "phpspec/prophecy-phpunit": "<2.3.0", + "phpunit/phpunit": "<8.5.1" }, "require-dev": { - "codeception/codeception": "^4.0.3", "php": "^7.3 || ^8.0", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", + "phpunit/phpunit": "^10.0 || ^11.0 || ^12.0", "squizlabs/php_codesniffer": "^3.3.1", - "weirdan/codeception-psalm-module": "^0.11.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "type": "psalm-plugin", @@ -6154,9 +6081,9 @@ "description": "Psalm plugin for PHPUnit", "support": { "issues": "https://github.com/psalm/psalm-plugin-phpunit/issues", - "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.19.2" + "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.19.5" }, - "time": "2025-01-26T11:39:17+00:00" + "time": "2025-03-31T18:49:55+00:00" }, { "name": "psr/clock", @@ -6386,12 +6313,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "9e474e1c4987ea63445e2eaefed17e4a87acf2df" + "reference": "bd7c044c1ed8548dbfb9c4753be1c99a60809a41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/9e474e1c4987ea63445e2eaefed17e4a87acf2df", - "reference": "9e474e1c4987ea63445e2eaefed17e4a87acf2df", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/bd7c044c1ed8548dbfb9c4753be1c99a60809a41", + "reference": "bd7c044c1ed8548dbfb9c4753be1c99a60809a41", "shasum": "" }, "conflict": { @@ -6420,7 +6347,7 @@ "andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<1.0.2|>=2,<2.2.5", "apache-solr-for-typo3/solr": "<2.8.3", "apereo/phpcas": "<1.6", - "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3", + "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3|>=3.3.8,<3.3.15", "appwrite/server-ce": "<=1.2.1", "arc/web": "<3", "area17/twill": "<1.2.5|>=2,<2.5.3", @@ -6484,12 +6411,14 @@ "chriskacerguis/codeigniter-restserver": "<=2.7.1", "civicrm/civicrm-core": ">=4.2,<4.2.9|>=4.3,<4.3.3", "ckeditor/ckeditor": "<4.25", + "clickstorm/cs-seo": ">=6,<6.7|>=7,<7.4|>=8,<8.3|>=9,<9.2", "cockpit-hq/cockpit": "<2.7|==2.7", "codeception/codeception": "<3.1.3|>=4,<4.1.22", "codeigniter/framework": "<3.1.9", "codeigniter4/framework": "<4.5.8", "codeigniter4/shield": "<1.0.0.0-beta8", "codiad/codiad": "<=2.8.4", + "codingms/additional-tca": ">=1.7,<1.15.17|>=1.16,<1.16.9", "components/jquery": ">=1.0.3,<3.5", "composer/composer": "<1.10.27|>=2,<2.2.24|>=2.3,<2.7.7", "concrete5/concrete5": "<9.4.0.0-RC1-dev", @@ -6498,7 +6427,7 @@ "contao/comments-bundle": ">=2,<4.13.40|>=5.0.0.0-RC1-dev,<5.3.4", "contao/contao": "<=5.4.1", "contao/core": "<3.5.39", - "contao/core-bundle": "<4.13.49|>=5,<5.3.15|>=5.4,<5.4.3", + "contao/core-bundle": "<4.13.54|>=5,<5.3.30|>=5.4,<5.5.6", "contao/listing-bundle": ">=3,<=3.5.30|>=4,<4.4.8", "contao/managed-edition": "<=1.5", "corveda/phpsandbox": "<1.3.5", @@ -6620,7 +6549,7 @@ "funadmin/funadmin": "<=5.0.2", "gaoming13/wechat-php-sdk": "<=1.10.2", "genix/cms": "<=1.1.11", - "getformwork/formwork": "<=2.0.0.0-beta3", + "getformwork/formwork": "<1.13.1|>=2.0.0.0-beta1,<2.0.0.0-beta4", "getgrav/grav": "<1.7.46", "getkirby/cms": "<=3.6.6.5|>=3.7,<=3.7.5.4|>=3.8,<=3.8.4.3|>=3.9,<=3.9.8.1|>=3.10,<=3.10.1|>=4,<=4.3", "getkirby/kirby": "<=2.5.12", @@ -6892,7 +6821,7 @@ "pimcore/ecommerce-framework-bundle": "<1.0.10", "pimcore/perspective-editor": "<1.5.1", "pimcore/pimcore": "<11.5.4", - "pixelfed/pixelfed": "<0.11.11", + "pixelfed/pixelfed": "<0.12.5", "plotly/plotly.js": "<2.25.2", "pocketmine/bedrock-protocol": "<8.0.2", "pocketmine/pocketmine-mp": "<5.25.2", @@ -6954,7 +6883,7 @@ "shopware/production": "<=6.3.5.2", "shopware/shopware": "<=5.7.17", "shopware/storefront": "<=6.4.8.1|>=6.5.8,<6.5.8.7-dev", - "shopxo/shopxo": "<=6.1", + "shopxo/shopxo": "<=6.4", "showdoc/showdoc": "<2.10.4", "shuchkin/simplexlsx": ">=1.0.12,<1.1.13", "silverstripe-australia/advancedreports": ">=1,<=2", @@ -7020,7 +6949,7 @@ "sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", "sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", "sylius/grid-bundle": "<1.10.1", - "sylius/paypal-plugin": ">=1,<1.2.4|>=1.3,<1.3.1", + "sylius/paypal-plugin": "<1.6.2|>=1.7,<1.7.2|>=2,<2.0.2", "sylius/resource-bundle": ">=1,<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4", "sylius/sylius": "<1.12.19|>=1.13.0.0-alpha1,<1.13.4", "symbiote/silverstripe-multivaluefield": ">=3,<3.1", @@ -7066,7 +6995,7 @@ "t3/dce": "<0.11.5|>=2.2,<2.6.2", "t3g/svg-sanitizer": "<1.0.3", "t3s/content-consent": "<1.0.3|>=2,<2.0.2", - "tastyigniter/tastyigniter": "<3.3", + "tastyigniter/tastyigniter": "<4", "tcg/voyager": "<=1.8", "tecnickcom/tc-lib-pdf-font": "<2.6.4", "tecnickcom/tcpdf": "<6.8", @@ -7173,7 +7102,7 @@ "yiisoft/yii2": "<2.0.49.4-dev", "yiisoft/yii2-authclient": "<2.2.15", "yiisoft/yii2-bootstrap": "<2.0.4", - "yiisoft/yii2-dev": "<2.0.43", + "yiisoft/yii2-dev": "<=2.0.45", "yiisoft/yii2-elasticsearch": "<2.0.5", "yiisoft/yii2-gii": "<=2.2.4", "yiisoft/yii2-jui": "<2.0.4", @@ -7256,7 +7185,7 @@ "type": "tidelift" } ], - "time": "2025-03-14T19:04:21+00:00" + "time": "2025-04-01T15:06:22+00:00" }, { "name": "sebastian/cli-parser", @@ -7317,16 +7246,16 @@ }, { "name": "sebastian/code-unit", - "version": "3.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca" + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", - "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/54391c61e4af8078e5b276ab082b6d3c54c9ad64", + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64", "shasum": "" }, "require": { @@ -7362,7 +7291,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", "security": "https://github.com/sebastianbergmann/code-unit/security/policy", - "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.3" }, "funding": [ { @@ -7370,7 +7299,7 @@ "type": "github" } ], - "time": "2024-12-12T09:59:06+00:00" + "time": "2025-03-19T07:56:08+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -8075,16 +8004,16 @@ }, { "name": "sebastian/type", - "version": "5.1.0", + "version": "5.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac" + "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/461b9c5da241511a2a0e8f240814fb23ce5c0aac", - "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", + "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", "shasum": "" }, "require": { @@ -8120,7 +8049,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/type/issues", "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/type/tree/5.1.2" }, "funding": [ { @@ -8128,7 +8057,7 @@ "type": "github" } ], - "time": "2024-09-17T13:12:04+00:00" + "time": "2025-03-18T13:35:50+00:00" }, { "name": "sebastian/version", @@ -8186,16 +8115,16 @@ }, { "name": "slevomat/coding-standard", - "version": "8.16.0", + "version": "8.16.2", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "7748a4282df19daf966fda1d8c60a8aec803c83a" + "reference": "8bf0408a9cf30687d87957d364de9a3d5d00d948" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/7748a4282df19daf966fda1d8c60a8aec803c83a", - "reference": "7748a4282df19daf966fda1d8c60a8aec803c83a", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/8bf0408a9cf30687d87957d364de9a3d5d00d948", + "reference": "8bf0408a9cf30687d87957d364de9a3d5d00d948", "shasum": "" }, "require": { @@ -8207,11 +8136,11 @@ "require-dev": { "phing/phing": "3.0.1", "php-parallel-lint/php-parallel-lint": "1.4.0", - "phpstan/phpstan": "2.1.6", + "phpstan/phpstan": "2.1.11", "phpstan/phpstan-deprecation-rules": "2.0.1", - "phpstan/phpstan-phpunit": "2.0.4", - "phpstan/phpstan-strict-rules": "2.0.3", - "phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.9|12.0.4" + "phpstan/phpstan-phpunit": "2.0.6", + "phpstan/phpstan-strict-rules": "2.0.4", + "phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.15|12.0.10" }, "type": "phpcodesniffer-standard", "extra": { @@ -8235,7 +8164,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.16.0" + "source": "https://github.com/slevomat/coding-standard/tree/8.16.2" }, "funding": [ { @@ -8247,7 +8176,7 @@ "type": "tidelift" } ], - "time": "2025-02-23T18:12:49+00:00" + "time": "2025-03-27T19:37:58+00:00" }, { "name": "spatie/array-to-xml", @@ -8511,16 +8440,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.11.3", + "version": "3.12.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10" + "reference": "2d1b63db139c3c6ea0c927698e5160f8b3b8d630" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", - "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/2d1b63db139c3c6ea0c927698e5160f8b3b8d630", + "reference": "2d1b63db139c3c6ea0c927698e5160f8b3b8d630", "shasum": "" }, "require": { @@ -8587,11 +8516,11 @@ "type": "open_collective" }, { - "url": "https://thanks.dev/phpcsstandards", + "url": "https://thanks.dev/u/gh/phpcsstandards", "type": "thanks_dev" } ], - "time": "2025-01-23T17:04:15+00:00" + "time": "2025-03-18T05:04:51+00:00" }, { "name": "staabm/side-effects-detector", @@ -8647,16 +8576,16 @@ }, { "name": "symfony/console", - "version": "v7.2.1", + "version": "v7.2.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3" + "reference": "e51498ea18570c062e7df29d05a7003585b19b88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/fefcc18c0f5d0efe3ab3152f15857298868dc2c3", - "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3", + "url": "https://api.github.com/repos/symfony/console/zipball/e51498ea18570c062e7df29d05a7003585b19b88", + "reference": "e51498ea18570c062e7df29d05a7003585b19b88", "shasum": "" }, "require": { @@ -8720,7 +8649,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.2.1" + "source": "https://github.com/symfony/console/tree/v7.2.5" }, "funding": [ { @@ -8736,7 +8665,7 @@ "type": "tidelift" } ], - "time": "2024-12-11T03:49:26+00:00" + "time": "2025-03-12T08:11:12+00:00" }, { "name": "symfony/polyfill-intl-grapheme", @@ -9054,16 +8983,16 @@ }, { "name": "symfony/process", - "version": "v7.2.4", + "version": "v7.2.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf" + "reference": "87b7c93e57df9d8e39a093d32587702380ff045d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf", - "reference": "d8f411ff3c7ddc4ae9166fb388d1190a2df5b5cf", + "url": "https://api.github.com/repos/symfony/process/zipball/87b7c93e57df9d8e39a093d32587702380ff045d", + "reference": "87b7c93e57df9d8e39a093d32587702380ff045d", "shasum": "" }, "require": { @@ -9095,7 +9024,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.2.4" + "source": "https://github.com/symfony/process/tree/v7.2.5" }, "funding": [ { @@ -9111,7 +9040,7 @@ "type": "tidelift" } ], - "time": "2025-02-05T08:33:46+00:00" + "time": "2025-03-13T12:21:46+00:00" }, { "name": "symfony/string", @@ -9276,16 +9205,16 @@ }, { "name": "tecnickcom/tcpdf", - "version": "6.8.2", + "version": "6.9.0", "source": { "type": "git", "url": "https://github.com/tecnickcom/TCPDF.git", - "reference": "f7a781073e1645062f163e058139e2f89355d420" + "reference": "f67b761b61f2370a9000d98c3b9111284544f722" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/f7a781073e1645062f163e058139e2f89355d420", - "reference": "f7a781073e1645062f163e058139e2f89355d420", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/f67b761b61f2370a9000d98c3b9111284544f722", + "reference": "f67b761b61f2370a9000d98c3b9111284544f722", "shasum": "" }, "require": { @@ -9298,8 +9227,6 @@ "config", "include", "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", "tcpdf_barcodes_1d.php", "tcpdf_barcodes_2d.php", "include/tcpdf_colors.php", @@ -9337,7 +9264,7 @@ ], "support": { "issues": "https://github.com/tecnickcom/TCPDF/issues", - "source": "https://github.com/tecnickcom/TCPDF/tree/6.8.2" + "source": "https://github.com/tecnickcom/TCPDF/tree/6.9.0" }, "funding": [ { @@ -9345,7 +9272,7 @@ "type": "custom" } ], - "time": "2025-01-26T14:03:12+00:00" + "time": "2025-03-30T16:56:09+00:00" }, { "name": "theseer/tokenizer", @@ -9399,16 +9326,16 @@ }, { "name": "vimeo/psalm", - "version": "6.8.9", + "version": "6.10.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "e856423a5dc38d65e56b5792750c557277afe393" + "reference": "9c0add4eb88d4b169ac04acb7c679918cbb9c252" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/e856423a5dc38d65e56b5792750c557277afe393", - "reference": "e856423a5dc38d65e56b5792750c557277afe393", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/9c0add4eb88d4b169ac04acb7c679918cbb9c252", + "reference": "9c0add4eb88d4b169ac04acb7c679918cbb9c252", "shasum": "" }, "require": { @@ -9513,7 +9440,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2025-03-10T13:29:13+00:00" + "time": "2025-03-31T10:12:50+00:00" }, { "name": "web-auth/cose-lib", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2514ddebf5..55a562d275 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -4398,12 +4398,6 @@ parameters: count: 2 path: src/Controllers/Table/Structure/SaveController.php - - - message: '#^Only booleans are allowed in an if condition, mixed given\.$#' - identifier: if.condNotBoolean - count: 1 - path: src/Controllers/Table/Structure/SaveController.php - - message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#' identifier: argument.type @@ -10297,7 +10291,7 @@ parameters: path: src/Plugins/Auth/AuthenticationSignon.php - - message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept non\-empty\-array\\.$#' + message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept non\-empty\-array\.$#' identifier: assign.propertyType count: 1 path: src/Plugins/Auth/AuthenticationSignon.php @@ -11817,12 +11811,6 @@ parameters: count: 1 path: src/Plugins/Import/ImportOds.php - - - message: '#^Cannot call method __toString\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Plugins/Import/ImportOds.php - - message: '#^Cannot call method count\(\) on SimpleXMLElement\|null\.$#' identifier: method.nonObject @@ -18324,6 +18312,12 @@ parameters: count: 4 path: tests/unit/CoreTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{pos\: ''0'', db\: ''test_db'', table\: ''test_table''\} and array\{pos\: ''0'', eq\: string\} will always evaluate to false\.$#' + identifier: staticMethod.impossibleType + count: 2 + path: tests/unit/CoreTest.php + - message: '#^Cannot access offset ''arr1'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible @@ -18378,6 +18372,18 @@ parameters: count: 4 path: tests/unit/Crypto/CryptoTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''URLQueryEncryptionS…'' and array\{URLQueryEncryptionSecretKey\: ''aaaaaaaaaaaaaaaaaaa…''\} will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/unit/Crypto/CryptoTest.php + + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''URLQueryEncryptionS…'' and array\{\} will always evaluate to false\.$#' + identifier: staticMethod.impossibleType + count: 1 + path: tests/unit/Crypto/CryptoTest.php + - message: '#^Parameter \#1 \$string of function mb_strlen expects string, mixed given\.$#' identifier: argument.type @@ -18567,23 +18573,11 @@ parameters: - message: '#^Cannot access offset ''display_binary'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 4 - path: tests/unit/Display/ResultsTest.php - - - - message: '#^Cannot access offset ''display_blob'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 4 - path: tests/unit/Display/ResultsTest.php - - - - message: '#^Cannot access offset ''geoOption'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible count: 2 path: tests/unit/Display/ResultsTest.php - - message: '#^Cannot access offset ''hide_transformation'' on mixed\.$#' + message: '#^Cannot access offset ''display_blob'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible count: 2 path: tests/unit/Display/ResultsTest.php @@ -18591,42 +18585,24 @@ parameters: - message: '#^Cannot access offset ''max_rows'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 6 + count: 4 path: tests/unit/Display/ResultsTest.php - message: '#^Cannot access offset ''pftext'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 4 + count: 2 path: tests/unit/Display/ResultsTest.php - message: '#^Cannot access offset ''pos'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 3 - path: tests/unit/Display/ResultsTest.php - - - - message: '#^Cannot access offset ''possible_as_geometry'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 2 - path: tests/unit/Display/ResultsTest.php - - - - message: '#^Cannot access offset ''query'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 2 + count: 1 path: tests/unit/Display/ResultsTest.php - message: '#^Cannot access offset ''relational_display'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 4 - path: tests/unit/Display/ResultsTest.php - - - - message: '#^Cannot access offset ''repeat_cells'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible count: 2 path: tests/unit/Display/ResultsTest.php @@ -18729,6 +18705,12 @@ parameters: count: 3 path: tests/unit/FileListingTest.php + - + message: '#^Offset ''FlashMessenger'' does not exist on array\\.$#' + identifier: offsetAccess.notFound + count: 2 + path: tests/unit/FlashMessengerTest.php + - message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Debug\:\:\$sql is assigned outside of its declaring class\.$#' identifier: property.readOnlyByPhpDocAssignOutOfClass @@ -18864,6 +18846,18 @@ parameters: count: 1 path: tests/unit/GitTest.php + - + message: '#^Cannot unset offset ''git_location'' on array\\.$#' + identifier: unset.offset + count: 2 + path: tests/unit/GitTest.php + + - + message: '#^Cannot unset offset ''is_git_revision'' on array\\.$#' + identifier: unset.offset + count: 2 + path: tests/unit/GitTest.php + - message: ''' #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\: @@ -18954,6 +18948,18 @@ parameters: count: 1 path: tests/unit/Html/MySQLDocumentationTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''test'' and array\{test\: ''test''\} will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/unit/Http/Middleware/TokenRequestParamCheckingTest.php + + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''test'' and ''test'' will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/unit/Http/Middleware/TokenRequestParamCheckingTest.php + - message: '#^Binary operation "\." between mixed and ''/'' results in an error\.$#' identifier: binaryOp.invalid @@ -19392,6 +19398,12 @@ parameters: count: 2 path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php + - + message: '#^Offset non\-falsy\-string does not exist on array\{\}\.$#' + identifier: offsetAccess.notFound + count: 1 + path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php + - message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{auth_type\: ''cookie''\}\.$#' identifier: assign.propertyType @@ -19452,6 +19464,12 @@ parameters: count: 13 path: tests/unit/Plugins/Auth/AuthenticationSignonTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''https\://example\.com…'' and ''https\://example\.com…'' will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/unit/Plugins/Auth/AuthenticationSignonTest.php + - message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{lifetime\: 0, path\: ''/'', domain\: '''', secure\: false, httponly\: false, samesite\: ''''\} and array\{lifetime\: int\<0, max\>, path\: non\-falsy\-string, domain\: string, secure\: bool, httponly\: bool, samesite\: ''Lax''\|''lax''\|''None''\|''none''\|''Strict''\|''strict''\} will always evaluate to false\.$#' identifier: staticMethod.impossibleType @@ -19587,12 +19605,6 @@ parameters: count: 2 path: tests/unit/Plugins/Import/ImportLdiTest.php - - - message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with ''auto'' will always evaluate to false\.$#' - identifier: staticMethod.impossibleType - count: 1 - path: tests/unit/Plugins/Import/ImportLdiTest.php - - message: ''' #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\: @@ -19839,7 +19851,7 @@ parameters: - message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with null will always evaluate to false\.$#' identifier: staticMethod.impossibleType - count: 1 + count: 2 path: tests/unit/SessionTest.php - @@ -19851,6 +19863,12 @@ parameters: count: 1 path: tests/unit/Setup/IndexTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{array\{array\{0\: ''foo'', fresh\: false, active\: false\}, array\{0\: ''bar'', fresh\: false, active\: false\}\}\} and array\{array\{array\{''foo''\}, array\{''bar''\}\}\} will always evaluate to false\.$#' + identifier: staticMethod.impossibleType + count: 1 + path: tests/unit/Setup/IndexTest.php + - message: '#^Cannot access offset ''123'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible @@ -19863,6 +19881,12 @@ parameters: count: 1 path: tests/unit/Setup/IndexTest.php + - + message: '#^Offset ''messages'' does not exist on array\\.$#' + identifier: offsetAccess.notFound + count: 1 + path: tests/unit/Setup/IndexTest.php + - message: ''' #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\: @@ -20076,6 +20100,12 @@ parameters: count: 6 path: tests/unit/TwoFactorTest.php + - + message: '#^Cannot unset offset ''2fa_code'' on array\\.$#' + identifier: unset.offset + count: 1 + path: tests/unit/TwoFactorTest.php + - message: '#^Method PhpMyAdmin\\Tests\\TwoFactorTest\:\:loadResultForConfig\(\) has parameter \$config with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -20154,10 +20184,16 @@ parameters: count: 8 path: tests/unit/UserPreferencesTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with false will always evaluate to false\.$#' + identifier: staticMethod.impossibleType + count: 1 + path: tests/unit/UserPreferencesTest.php + - message: '#^Cannot access offset ''db'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 2 + count: 1 path: tests/unit/UserPreferencesTest.php - @@ -20178,6 +20214,12 @@ parameters: count: 1 path: tests/unit/UserPreferencesTest.php + - + message: '#^Offset ''userconfig'' does not exist on array\\.$#' + identifier: offsetAccess.notFound + count: 3 + path: tests/unit/UserPreferencesTest.php + - message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertCount\(\) expects Countable\|iterable, mixed given\.$#' identifier: argument.type @@ -20295,6 +20337,12 @@ parameters: count: 6 path: tests/unit/Utils/SessionCacheTest.php + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''cache'' and array\{\} will always evaluate to false\.$#' + identifier: staticMethod.impossibleType + count: 2 + path: tests/unit/Utils/SessionCacheTest.php + - message: '#^Cannot access offset ''server_2'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible @@ -20313,6 +20361,12 @@ parameters: count: 1 path: tests/unit/Utils/SessionCacheTest.php + - + message: '#^Offset ''cache'' does not exist on array\{\}\.$#' + identifier: offsetAccess.notFound + count: 4 + path: tests/unit/Utils/SessionCacheTest.php + - message: '#^Parameter \#2 \$array of static method PHPUnit\\Framework\\Assert\:\:assertArrayNotHasKey\(\) expects array\\|ArrayAccess\<\(int\|string\), mixed\>, mixed given\.$#' identifier: argument.type diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 2c3222111b..11d752880f 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + @@ -9669,11 +9669,6 @@ - - - - - @@ -9748,15 +9743,10 @@ - - - - - - - - - + + + + @@ -9777,20 +9767,21 @@ - - - - - - - - + + + + + + + + - - - - + + + + + @@ -9842,9 +9833,6 @@ - - - @@ -9875,9 +9863,6 @@ - - - @@ -9917,173 +9902,9 @@ sessionID]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10220,9 +10041,6 @@ - - - @@ -10251,14 +10069,19 @@ - - - - - - - - + + + + + + + + + + + + + @@ -10277,11 +10100,6 @@ - - - - - @@ -10291,9 +10109,6 @@ - - - @@ -10307,10 +10122,10 @@ - - - - + + ]]> + ]]> + @@ -10421,9 +10236,9 @@ - - - + + ]]> + @@ -10431,16 +10246,11 @@ - - - - - - - - - + + ]]> + ]]> + @@ -10466,11 +10276,6 @@ - - - - - @@ -10724,66 +10529,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10812,11 +10557,6 @@ - - - - - @@ -10854,18 +10594,15 @@ - - - + + + - - - @@ -10874,6 +10611,10 @@ + + + + @@ -10913,15 +10654,6 @@ - - - - - - - - - @@ -10931,11 +10663,6 @@ - - - - - @@ -10999,10 +10726,6 @@ - - - - @@ -11016,18 +10739,11 @@ - - - - - - - @@ -11048,29 +10764,25 @@ config->debug->sql]]> config->debug->sql]]> - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - @@ -11137,16 +10849,23 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + settings]]> settings]]> @@ -11161,9 +10880,9 @@ - - - + + + @@ -11175,31 +10894,20 @@ - - - - + + + + - - - - - - - - - - - @@ -11226,11 +10934,6 @@ - - - - - @@ -11262,105 +10965,26 @@ - - - - - - - - - - - - + + + - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -11393,9 +11017,17 @@ - - - + + + + + + + + + + + settings]]> settings]]> @@ -11442,10 +11074,9 @@ - - - - + + + settings]]> @@ -11455,12 +11086,6 @@ - - - - - - @@ -11469,58 +11094,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -11536,15 +11115,14 @@ settings]]> - - - - - - - - - + + + + + + + + @@ -11634,10 +11212,6 @@ - - - - settings]]> @@ -11652,34 +11226,24 @@ + + + settings['TrustedProxies']]]> - - - - - - - - - - - - - - - - - - + + + + + - - - + + + @@ -11711,9 +11275,6 @@ - - - @@ -11759,24 +11320,10 @@ - - - - - - - - - - - - - - getPDFData()]]> @@ -11865,10 +11412,10 @@ selectedServer]]> - - - - + + + + settings]]> settings]]> @@ -11897,9 +11444,9 @@ 'a', 'user' => 'user2']]]> 'a', 'user' => 'user2']]]> - - - + + + @@ -11947,9 +11494,6 @@ - - - @@ -11972,9 +11516,9 @@ selectedServer]]> selectedServer]]> - - - + + ]]> + @@ -12027,12 +11571,12 @@ - - - - - - + + + + + + @@ -12047,9 +11591,6 @@ - - - @@ -12081,10 +11622,12 @@ - - - - + + + + + + 'aaa', 'pca' => 'bbb']]]> @@ -12094,20 +11637,10 @@ - - - settings]]> - - - - - - - @@ -12132,16 +11665,13 @@ - - - - - - - - + + + + + @@ -12166,10 +11696,6 @@ - - - - @@ -12196,18 +11722,11 @@ + - - - - - - - - @@ -12257,14 +11776,19 @@ - - - + + + + + + + + - - - + + + @@ -12303,14 +11827,6 @@ - - - - - - - - @@ -12326,16 +11842,13 @@ - - - - - - - - + + + + + @@ -12343,9 +11856,9 @@ - - - + + + @@ -12362,9 +11875,9 @@ selectedServer]]> selectedServer]]> - - - + + + @@ -12379,13 +11892,13 @@ + + + - - - @@ -12394,18 +11907,16 @@ 1, 'ActionLinksMode' => 'icons']]]> - - - - - - - - - - - - + + + + + + + + + + @@ -12416,15 +11927,6 @@ - - - - - - - - - @@ -12448,32 +11950,15 @@ config['settings']['secret']]]> - - - - - - - - - - - - - - - - - @@ -12491,14 +11976,6 @@ - - - - - - - - @@ -12559,55 +12036,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + - - - - - - + + + + + - - - + + + + + + + @@ -12625,9 +12107,6 @@ - - - @@ -12675,11 +12154,6 @@ - - - - - @@ -12696,21 +12170,8 @@ - - - - - - - - - - - - - - - - + + +