From 5859fe64fd10dcbbdce359728522ffb4582d1868 Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Thu, 4 Jan 2024 22:55:39 +0100 Subject: [PATCH] Update phpstan Signed-off-by: Kamil Tekiela --- composer.lock | 66 ++++++++++++++++++++++--------------------- phpstan-baseline.neon | 9 ++---- 2 files changed, 36 insertions(+), 39 deletions(-) diff --git a/composer.lock b/composer.lock index d9a5aa152f..59fc94ae0a 100644 --- a/composer.lock +++ b/composer.lock @@ -192,16 +192,16 @@ }, { "name": "laminas/laminas-httphandlerrunner", - "version": "2.9.0", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-httphandlerrunner.git", - "reference": "d3e84755a17e563b1c5f8290cbfb150210501a77" + "reference": "35a0ba92e940a2f9533754f5a56187fa321f7693" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-httphandlerrunner/zipball/d3e84755a17e563b1c5f8290cbfb150210501a77", - "reference": "d3e84755a17e563b1c5f8290cbfb150210501a77", + "url": "https://api.github.com/repos/laminas/laminas-httphandlerrunner/zipball/35a0ba92e940a2f9533754f5a56187fa321f7693", + "reference": "35a0ba92e940a2f9533754f5a56187fa321f7693", "shasum": "" }, "require": { @@ -212,10 +212,10 @@ }, "require-dev": { "laminas/laminas-coding-standard": "~2.5.0", - "laminas/laminas-diactoros": "^3.0.0", - "phpunit/phpunit": "^10.1.2", + "laminas/laminas-diactoros": "^3.3.0", + "phpunit/phpunit": "^10.5.5", "psalm/plugin-phpunit": "^0.18.4", - "vimeo/psalm": "^5.11" + "vimeo/psalm": "^5.18" }, "type": "library", "extra": { @@ -255,7 +255,7 @@ "type": "community_bridge" } ], - "time": "2023-09-04T10:43:03+00:00" + "time": "2024-01-04T10:50:34+00:00" }, { "name": "nikic/fast-route", @@ -454,12 +454,12 @@ "source": { "type": "git", "url": "https://github.com/phpmyadmin/sql-parser.git", - "reference": "7da0f9bde554638e87408352ad22e20fbcfe5e35" + "reference": "30452c0900f8ec1c64f24825d435543b3b8dd23a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/7da0f9bde554638e87408352ad22e20fbcfe5e35", - "reference": "7da0f9bde554638e87408352ad22e20fbcfe5e35", + "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/30452c0900f8ec1c64f24825d435543b3b8dd23a", + "reference": "30452c0900f8ec1c64f24825d435543b3b8dd23a", "shasum": "" }, "require": { @@ -537,7 +537,7 @@ "type": "other" } ], - "time": "2023-12-30T21:39:39+00:00" + "time": "2024-01-03T22:08:17+00:00" }, { "name": "phpmyadmin/twig-i18n-extension", @@ -4609,16 +4609,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.5", + "version": "1.25.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc" + "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bd84b629c8de41aa2ae82c067c955e06f1b00240", + "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240", "shasum": "" }, "require": { @@ -4650,22 +4650,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.25.0" }, - "time": "2023-12-16T09:33:33+00:00" + "time": "2024-01-04T17:06:16+00:00" }, { "name": "phpstan/phpstan", - "version": "1.10.50", + "version": "1.10.51", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" + "reference": "5082fa72dc13944578806ca1196a385818d8b077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5082fa72dc13944578806ca1196a385818d8b077", + "reference": "5082fa72dc13944578806ca1196a385818d8b077", "shasum": "" }, "require": { @@ -4714,7 +4714,7 @@ "type": "tidelift" } ], - "time": "2023-12-13T10:59:42+00:00" + "time": "2024-01-04T21:16:30+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -5708,12 +5708,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "cbce83127406d8e91ec92b053a44cf917800646b" + "reference": "680412bededc90d0b1e713621cc96d654aaba888" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/cbce83127406d8e91ec92b053a44cf917800646b", - "reference": "cbce83127406d8e91ec92b053a44cf917800646b", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/680412bededc90d0b1e713621cc96d654aaba888", + "reference": "680412bededc90d0b1e713621cc96d654aaba888", "shasum": "" }, "conflict": { @@ -5803,8 +5803,9 @@ "contao/core-bundle": "<4.9.42|>=4.10,<4.13.28|>=5,<5.1.10", "contao/listing-bundle": ">=4,<4.4.8", "contao/managed-edition": "<=1.5", + "corveda/phpsandbox": "<1.3.5", "cosenary/instagram": "<=2.3", - "craftcms/cms": "<=4.4.14", + "craftcms/cms": "<=4.5.10", "croogo/croogo": "<4", "cuyz/valinor": "<0.12", "czproject/git-php": "<4.0.3", @@ -5895,7 +5896,7 @@ "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", "friendsoftypo3/openid": ">=4.5,<4.5.31|>=4.7,<4.7.16|>=6,<6.0.11|>=6.1,<6.1.6", "froala/wysiwyg-editor": "<3.2.7|>=4.0.1,<=4.1.1", - "froxlor/froxlor": "<2.1.0.0-beta1", + "froxlor/froxlor": "<=2.1.1", "fuel/core": "<1.8.1", "funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3", "gaoming13/wechat-php-sdk": "<=1.10.2", @@ -5905,7 +5906,7 @@ "getkirby/kirby": "<=2.5.12", "getkirby/panel": "<2.5.14", "getkirby/starterkit": "<=3.7.0.2", - "gilacms/gila": "<=1.11.4", + "gilacms/gila": "<=1.15.4", "gleez/cms": "<=1.2|==2", "globalpayments/php-sdk": "<2", "gogentooss/samlbase": "<1.2.7", @@ -6112,6 +6113,7 @@ "pimcore/perspective-editor": "<1.5.1", "pimcore/pimcore": "<11.1.1", "pixelfed/pixelfed": "<=0.11.4", + "plotly/plotly.js": "<2.25.2", "pocketmine/bedrock-protocol": "<8.0.2", "pocketmine/pocketmine-mp": "<=4.23|>=5,<5.3.1", "pocketmine/raklib": ">=0.14,<0.14.6|>=0.15,<0.15.1", @@ -6121,7 +6123,7 @@ "prestashop/blockwishlist": ">=2,<2.1.1", "prestashop/contactform": ">=1.0.1,<4.3", "prestashop/gamification": "<2.3.2", - "prestashop/prestashop": "<8.1.2", + "prestashop/prestashop": "<8.1.3", "prestashop/productcomments": "<5.0.2", "prestashop/ps_emailsubscription": "<2.6.1", "prestashop/ps_facetedsearch": "<3.4.1", @@ -6305,7 +6307,7 @@ "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", "uvdesk/community-skeleton": "<=1.1.1", "vanilla/safecurl": "<0.9.2", - "verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4", + "verot/class.upload.php": "<=2.1.6", "vova07/yii2-fileapi-widget": "<0.1.9", "vrana/adminer": "<4.8.1", "waldhacker/hcaptcha": "<2.1.2", @@ -6422,7 +6424,7 @@ "type": "tidelift" } ], - "time": "2023-12-29T19:04:11+00:00" + "time": "2024-01-04T21:04:31+00:00" }, { "name": "sebastian/cli-parser", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2a62aa2804..4a29209940 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5197,7 +5197,7 @@ parameters: - message: "#^Cannot access offset int\\|string on mixed\\.$#" - count: 11 + count: 9 path: src/Controllers/Table/ReplaceController.php - @@ -10130,14 +10130,9 @@ parameters: count: 1 path: src/Navigation/NavigationTree.php - - - message: "#^Property PhpMyAdmin\\\\Navigation\\\\NavigationTree\\:\\:\\$pos2Name \\(array\\\\) does not accept array\\.$#" - count: 1 - path: src/Navigation/NavigationTree.php - - message: "#^Property PhpMyAdmin\\\\Navigation\\\\NavigationTree\\:\\:\\$pos2Name \\(array\\\\) does not accept array\\\\.$#" - count: 1 + count: 2 path: src/Navigation/NavigationTree.php -