diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2025-07-23 14:15:29 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2025-07-28 10:18:30 +0100 |
| commit | eedc418e1747b56cb4bfea045d8ad704212315d6 (patch) | |
| tree | 2c18199c68c72daf37ea61455bf907cdd3d7f2eb | |
| parent | 75b0da03a86213d6fd36977cb9eb167ac793b2eb (diff) | |
| download | webtrees-eedc418e1747b56cb4bfea045d8ad704212315d6.tar.gz webtrees-eedc418e1747b56cb4bfea045d8ad704212315d6.tar.bz2 webtrees-eedc418e1747b56cb4bfea045d8ad704212315d6.zip | |
Update PHP dependencies
| -rw-r--r-- | composer.json | 26 | ||||
| -rw-r--r-- | composer.lock | 241 | ||||
| -rw-r--r-- | phpstan-baseline.neon | 74 |
3 files changed, 146 insertions, 195 deletions
diff --git a/composer.json b/composer.json index 1c948e5f4b..b79fd56521 100644 --- a/composer.json +++ b/composer.json @@ -51,28 +51,28 @@ "fisharebest/ext-calendar": "2.6.0", "fisharebest/localization": "1.17.0", "guzzlehttp/guzzle": "7.9.3", - "illuminate/database": "12.19.3", - "illuminate/support": "12.19.3", + "illuminate/database": "12.21.0", + "illuminate/support": "12.21.0", "intervention/image": "3.11.3", - "league/commonmark": "2.7.0", - "league/flysystem": "3.29.1", + "league/commonmark": "2.7.1", + "league/flysystem": "3.30.0", "league/flysystem-path-prefixing": "3.28.0", "league/flysystem-ziparchive": "3.29.0", "middlewares/client-ip": "2.1.0", "mlocati/ip-lib": "1.20.0", - "nesbot/carbon": "3.10.0", + "nesbot/carbon": "3.10.1", "nyholm/psr7": "1.8.2", "nyholm/psr7-server": "1.1.0", "psr/cache": "3.0.0", "psr/http-message": "2.0", "psr/http-server-handler": "1.0.2", "psr/http-server-middleware": "1.0.2", - "ramsey/uuid": "4.8.1", + "ramsey/uuid": "4.9.0", "sabre/vobject": "4.5.7", - "symfony/cache": "7.3.0", - "symfony/console": "7.3.0", + "symfony/cache": "7.3.1", + "symfony/console": "7.3.1", "symfony/expression-language": "7.3.0", - "symfony/mailer": "7.3.0", + "symfony/mailer": "7.3.1", "symfony/polyfill-mbstring": "1.32.0", "tecnickcom/tcpdf": "6.10.0" }, @@ -84,11 +84,11 @@ "league/flysystem-memory": "3.29.0", "php-coveralls/php-coveralls": "2.8.0", "phpstan/extension-installer": "1.4.3", - "phpstan/phpstan": "2.1.17", + "phpstan/phpstan": "2.1.19", "phpstan/phpstan-deprecation-rules": "2.0.3", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "2.0.4", - "phpunit/phpunit": "12.2.3", + "phpstan/phpstan-phpunit": "2.0.7", + "phpstan/phpstan-strict-rules": "2.0.6", + "phpunit/phpunit": "12.2.7", "squizlabs/php_codesniffer": "4.0.0-RC1" }, "suggest": { diff --git a/composer.lock b/composer.lock index 884d5aa760..ffc51061f5 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": "b53f0881813f367ca62121b89cc97800", + "content-hash": "9fb7e92b26b60b3c9955268f03c998e3", "packages": [ { "name": "aura/router", @@ -1123,16 +1123,16 @@ }, { "name": "illuminate/collections", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "21a206b2b2297e838c181b482b5f8bbe7ac48f61" + "reference": "a048b4fbbef4742ff2eee843971bb8278239c610" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/21a206b2b2297e838c181b482b5f8bbe7ac48f61", - "reference": "21a206b2b2297e838c181b482b5f8bbe7ac48f61", + "url": "https://api.github.com/repos/illuminate/collections/zipball/a048b4fbbef4742ff2eee843971bb8278239c610", + "reference": "a048b4fbbef4742ff2eee843971bb8278239c610", "shasum": "" }, "require": { @@ -1176,11 +1176,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-12T14:21:37+00:00" + "time": "2025-07-15T20:29:59+00:00" }, { "name": "illuminate/conditionable", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", @@ -1226,16 +1226,16 @@ }, { "name": "illuminate/container", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "ff9dde2c8dce16ea9ecf0418095749311240aff9" + "reference": "3b0defd0daf88f5b21767ed0cad7e6e3a699c9e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/ff9dde2c8dce16ea9ecf0418095749311240aff9", - "reference": "ff9dde2c8dce16ea9ecf0418095749311240aff9", + "url": "https://api.github.com/repos/illuminate/container/zipball/3b0defd0daf88f5b21767ed0cad7e6e3a699c9e4", + "reference": "3b0defd0daf88f5b21767ed0cad7e6e3a699c9e4", "shasum": "" }, "require": { @@ -1273,20 +1273,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-09T14:04:48+00:00" + "time": "2025-07-20T18:31:22+00:00" }, { "name": "illuminate/contracts", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "ad1d16d827927455d3b7e39fabac66b1afb82582" + "reference": "c2eef857b808810f5cb187de58e23d25c1d443d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/ad1d16d827927455d3b7e39fabac66b1afb82582", - "reference": "ad1d16d827927455d3b7e39fabac66b1afb82582", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/c2eef857b808810f5cb187de58e23d25c1d443d9", + "reference": "c2eef857b808810f5cb187de58e23d25c1d443d9", "shasum": "" }, "require": { @@ -1321,20 +1321,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-12T15:07:31+00:00" + "time": "2025-07-16T13:18:38+00:00" }, { "name": "illuminate/database", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "758dcd2128af1bc9427a6f72d247a4f0c078a24a" + "reference": "3e124669067f182e3c587929e19849e31686e67f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/758dcd2128af1bc9427a6f72d247a4f0c078a24a", - "reference": "758dcd2128af1bc9427a6f72d247a4f0c078a24a", + "url": "https://api.github.com/repos/illuminate/database/zipball/3e124669067f182e3c587929e19849e31686e67f", + "reference": "3e124669067f182e3c587929e19849e31686e67f", "shasum": "" }, "require": { @@ -1391,11 +1391,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-18T12:55:09+00:00" + "time": "2025-07-20T18:34:33+00:00" }, { "name": "illuminate/macroable", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -1441,16 +1441,16 @@ }, { "name": "illuminate/support", - "version": "v12.19.3", + "version": "v12.21.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "4e5d098d1cdbf5cabff09c1903a141bd9747ae75" + "reference": "212103694b407b41dce5aae4fe41fbe6ee1bec49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/4e5d098d1cdbf5cabff09c1903a141bd9747ae75", - "reference": "4e5d098d1cdbf5cabff09c1903a141bd9747ae75", + "url": "https://api.github.com/repos/illuminate/support/zipball/212103694b407b41dce5aae4fe41fbe6ee1bec49", + "reference": "212103694b407b41dce5aae4fe41fbe6ee1bec49", "shasum": "" }, "require": { @@ -1514,7 +1514,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-12T15:07:56+00:00" + "time": "2025-07-22T13:57:22+00:00" }, { "name": "intervention/gif", @@ -1723,16 +1723,16 @@ }, { "name": "league/commonmark", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405" + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca", + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca", "shasum": "" }, "require": { @@ -1761,7 +1761,7 @@ "symfony/process": "^5.4 | ^6.0 | ^7.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -1826,7 +1826,7 @@ "type": "tidelift" } ], - "time": "2025-05-05T12:20:28+00:00" + "time": "2025-07-20T12:47:49+00:00" }, { "name": "league/config", @@ -1912,16 +1912,16 @@ }, { "name": "league/flysystem", - "version": "3.29.1", + "version": "3.30.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" + "reference": "2203e3151755d874bb2943649dae1eb8533ac93e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/2203e3151755d874bb2943649dae1eb8533ac93e", + "reference": "2203e3151755d874bb2943649dae1eb8533ac93e", "shasum": "" }, "require": { @@ -1945,13 +1945,13 @@ "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", - "ext-mongodb": "^1.3", + "ext-mongodb": "^1.3|^2", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", - "mongodb/mongodb": "^1.2", + "mongodb/mongodb": "^1.2|^2", "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", @@ -1989,22 +1989,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" + "source": "https://github.com/thephpleague/flysystem/tree/3.30.0" }, - "time": "2024-10-08T08:58:34+00:00" + "time": "2025-06-25T13:29:59+00:00" }, { "name": "league/flysystem-local", - "version": "3.29.0", + "version": "3.30.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" + "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/6691915f77c7fb69adfb87dcd550052dc184ee10", + "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10", "shasum": "" }, "require": { @@ -2038,9 +2038,9 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.30.0" }, - "time": "2024-08-09T21:24:39+00:00" + "time": "2025-05-21T10:34:19+00:00" }, { "name": "league/flysystem-path-prefixing", @@ -2319,16 +2319,16 @@ }, { "name": "nesbot/carbon", - "version": "3.10.0", + "version": "3.10.1", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon.git", - "reference": "c1397390dd0a7e0f11660f0ae20f753d88c1f3d9" + "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/c1397390dd0a7e0f11660f0ae20f753d88c1f3d9", - "reference": "c1397390dd0a7e0f11660f0ae20f753d88c1f3d9", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/1fd1935b2d90aef2f093c5e35f7ae1257c448d00", + "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00", "shasum": "" }, "require": { @@ -2420,7 +2420,7 @@ "type": "tidelift" } ], - "time": "2025-06-12T10:24:28+00:00" + "time": "2025-06-21T15:19:35+00:00" }, { "name": "nette/schema", @@ -3410,21 +3410,20 @@ }, { "name": "ramsey/uuid", - "version": "4.8.1", + "version": "4.9.0", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28" + "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28", - "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0", + "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0", "shasum": "" }, "require": { "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", - "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -3483,9 +3482,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.8.1" + "source": "https://github.com/ramsey/uuid/tree/4.9.0" }, - "time": "2025-06-01T06:28:46+00:00" + "time": "2025-06-25T14:20:11+00:00" }, { "name": "sabre/uri", @@ -3722,16 +3721,16 @@ }, { "name": "symfony/cache", - "version": "v7.3.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "c4b217b578c11ec764867aa0c73e602c602965de" + "reference": "a7c6caa9d6113cebfb3020b427bcb021ebfdfc9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/c4b217b578c11ec764867aa0c73e602c602965de", - "reference": "c4b217b578c11ec764867aa0c73e602c602965de", + "url": "https://api.github.com/repos/symfony/cache/zipball/a7c6caa9d6113cebfb3020b427bcb021ebfdfc9e", + "reference": "a7c6caa9d6113cebfb3020b427bcb021ebfdfc9e", "shasum": "" }, "require": { @@ -3800,7 +3799,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v7.3.0" + "source": "https://github.com/symfony/cache/tree/v7.3.1" }, "funding": [ { @@ -3816,7 +3815,7 @@ "type": "tidelift" } ], - "time": "2025-05-06T19:00:13+00:00" + "time": "2025-06-27T19:55:54+00:00" }, { "name": "symfony/cache-contracts", @@ -3970,16 +3969,16 @@ }, { "name": "symfony/console", - "version": "v7.3.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "66c1440edf6f339fd82ed6c7caa76cb006211b44" + "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/66c1440edf6f339fd82ed6c7caa76cb006211b44", - "reference": "66c1440edf6f339fd82ed6c7caa76cb006211b44", + "url": "https://api.github.com/repos/symfony/console/zipball/9e27aecde8f506ba0fd1d9989620c04a87697101", + "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101", "shasum": "" }, "require": { @@ -4044,7 +4043,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.3.0" + "source": "https://github.com/symfony/console/tree/v7.3.1" }, "funding": [ { @@ -4060,7 +4059,7 @@ "type": "tidelift" } ], - "time": "2025-05-24T10:34:04+00:00" + "time": "2025-06-27T19:55:54+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4351,16 +4350,16 @@ }, { "name": "symfony/mailer", - "version": "v7.3.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c" + "reference": "b5db5105b290bdbea5ab27b89c69effcf1cb3368" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/0f375bbbde96ae8c78e4aa3e63aabd486e33364c", - "reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c", + "url": "https://api.github.com/repos/symfony/mailer/zipball/b5db5105b290bdbea5ab27b89c69effcf1cb3368", + "reference": "b5db5105b290bdbea5ab27b89c69effcf1cb3368", "shasum": "" }, "require": { @@ -4411,7 +4410,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.3.0" + "source": "https://github.com/symfony/mailer/tree/v7.3.1" }, "funding": [ { @@ -4427,7 +4426,7 @@ "type": "tidelift" } ], - "time": "2025-04-04T09:51:09+00:00" + "time": "2025-06-27T19:55:54+00:00" }, { "name": "symfony/mime", @@ -5243,16 +5242,16 @@ }, { "name": "symfony/translation", - "version": "v7.3.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "4aba29076a29a3aa667e09b791e5f868973a8667" + "reference": "241d5ac4910d256660238a7ecf250deba4c73063" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/4aba29076a29a3aa667e09b791e5f868973a8667", - "reference": "4aba29076a29a3aa667e09b791e5f868973a8667", + "url": "https://api.github.com/repos/symfony/translation/zipball/241d5ac4910d256660238a7ecf250deba4c73063", + "reference": "241d5ac4910d256660238a7ecf250deba4c73063", "shasum": "" }, "require": { @@ -5319,7 +5318,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.3.0" + "source": "https://github.com/symfony/translation/tree/v7.3.1" }, "funding": [ { @@ -5335,7 +5334,7 @@ "type": "tidelift" } ], - "time": "2025-05-29T07:19:49+00:00" + "time": "2025-06-27T19:55:54+00:00" }, { "name": "symfony/translation-contracts", @@ -5689,16 +5688,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.1", + "version": "1.13.3", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c" + "reference": "faed855a7b5f4d4637717c2b3863e277116beb36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/1720ddd719e16cf0db4eb1c6eca108031636d46c", - "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/faed855a7b5f4d4637717c2b3863e277116beb36", + "reference": "faed855a7b5f4d4637717c2b3863e277116beb36", "shasum": "" }, "require": { @@ -5737,7 +5736,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.3" }, "funding": [ { @@ -5745,7 +5744,7 @@ "type": "tidelift" } ], - "time": "2025-04-29T12:36:36+00:00" + "time": "2025-07-05T12:25:42+00:00" }, { "name": "nikic/php-parser", @@ -6057,16 +6056,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.17", + "version": "2.1.19", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053" + "reference": "473a8c30e450d87099f76313edcbb90852f9afdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053", - "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/473a8c30e450d87099f76313edcbb90852f9afdf", + "reference": "473a8c30e450d87099f76313edcbb90852f9afdf", "shasum": "" }, "require": { @@ -6111,7 +6110,7 @@ "type": "github" } ], - "time": "2025-05-21T20:55:28+00:00" + "time": "2025-07-21T19:58:24+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -6162,21 +6161,21 @@ }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.6", + "version": "2.0.7", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "6b92469f8a7995e626da3aa487099617b8dfa260" + "reference": "9a9b161baee88a5f5c58d816943cff354ff233dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6b92469f8a7995e626da3aa487099617b8dfa260", - "reference": "6b92469f8a7995e626da3aa487099617b8dfa260", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9a9b161baee88a5f5c58d816943cff354ff233dc", + "reference": "9a9b161baee88a5f5c58d816943cff354ff233dc", "shasum": "" }, "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.0.4" + "phpstan/phpstan": "^2.1.18" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -6209,22 +6208,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.6" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.7" }, - "time": "2025-03-26T12:47:06+00:00" + "time": "2025-07-13T11:31:46+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "2.0.4", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a" + "reference": "f9f77efa9de31992a832ff77ea52eb42d675b094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", - "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/f9f77efa9de31992a832ff77ea52eb42d675b094", + "reference": "f9f77efa9de31992a832ff77ea52eb42d675b094", "shasum": "" }, "require": { @@ -6257,9 +6256,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.4" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.6" }, - "time": "2025-03-18T11:42:40+00:00" + "time": "2025-07-21T12:19:29+00:00" }, { "name": "phpunit/php-code-coverage", @@ -6597,16 +6596,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.2.3", + "version": "12.2.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "60a8ea2d8b2f070000051b56778009e11576e7d1" + "reference": "8b1348b254e5959acaf1539c6bd790515fb49414" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/60a8ea2d8b2f070000051b56778009e11576e7d1", - "reference": "60a8ea2d8b2f070000051b56778009e11576e7d1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8b1348b254e5959acaf1539c6bd790515fb49414", + "reference": "8b1348b254e5959acaf1539c6bd790515fb49414", "shasum": "" }, "require": { @@ -6616,7 +6615,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.13.1", + "myclabs/deep-copy": "^1.13.3", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.3", @@ -6674,7 +6673,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.2.3" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.2.7" }, "funding": [ { @@ -6698,7 +6697,7 @@ "type": "tidelift" } ], - "time": "2025-06-20T11:33:06+00:00" + "time": "2025-07-11T04:11:13+00:00" }, { "name": "sebastian/cli-parser", @@ -7878,16 +7877,16 @@ }, { "name": "symfony/yaml", - "version": "v7.3.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "cea40a48279d58dc3efee8112634cb90141156c2" + "reference": "0c3555045a46ab3cd4cc5a69d161225195230edb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/cea40a48279d58dc3efee8112634cb90141156c2", - "reference": "cea40a48279d58dc3efee8112634cb90141156c2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/0c3555045a46ab3cd4cc5a69d161225195230edb", + "reference": "0c3555045a46ab3cd4cc5a69d161225195230edb", "shasum": "" }, "require": { @@ -7930,7 +7929,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.3.0" + "source": "https://github.com/symfony/yaml/tree/v7.3.1" }, "funding": [ { @@ -7946,7 +7945,7 @@ "type": "tidelift" } ], - "time": "2025-04-04T10:10:33+00:00" + "time": "2025-06-03T06:57:57+00:00" }, { "name": "theseer/tokenizer", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index bb6138e4c3..eb72c46a48 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -175,6 +175,12 @@ parameters: path: app/Cli/Commands/TreeExport.php - + message: '#^Strict comparison using \=\=\= between string and false will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Cli/Commands/TreeExport.php + + - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' identifier: foreach.nonIterable count: 1 @@ -607,12 +613,6 @@ parameters: path: app/Encodings/AbstractEncoding.php - - message: '#^Method Fisharebest\\Webtrees\\Encodings\\UTF8\:\:fromUtf8\(\) should return string but returns string\|false\.$#' - identifier: return.type - count: 1 - path: app/Encodings/UTF8.php - - - message: '#^Cannot access offset ''BURI'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible count: 2 @@ -1363,12 +1363,6 @@ parameters: path: app/Http/Middleware/HandleExceptions.php - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Http/Middleware/HandleExceptions.php - - - message: '#^Parameter \#1 \$basepath of class Aura\\Router\\RouterContainer constructor expects string\|null, string\|false\|null given\.$#' identifier: argument.type count: 1 @@ -1651,7 +1645,7 @@ parameters: path: app/Http/RequestHandlers/DataFixUpdate.php - - message: '#^Binary operation "\+\=" between mixed and int results in an error\.$#' + message: '#^Binary operation "\+\=" between mixed and int\<0, max\> results in an error\.$#' identifier: assignOp.invalid count: 1 path: app/Http/RequestHandlers/DataFixUpdateAll.php @@ -2089,12 +2083,6 @@ parameters: path: app/Http/RequestHandlers/MapDataExportCSV.php - - message: '#^Parameter \#1 \$content of function response expects array\<mixed\>\|object\|string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Http/RequestHandlers/MapDataExportCSV.php - - - message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#' identifier: argument.type count: 3 @@ -2215,18 +2203,6 @@ parameters: path: app/Http/RequestHandlers/MapDataImportAction.php - - message: '#^Parameter \#1 \$haystack of function str_contains expects string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Http/RequestHandlers/MapDataImportAction.php - - - - message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Http/RequestHandlers/MapDataImportAction.php - - - message: '#^Parameter \#1 \$location_name of class Fisharebest\\Webtrees\\PlaceLocation constructor expects string, mixed given\.$#' identifier: argument.type count: 1 @@ -3901,24 +3877,12 @@ parameters: path: app/Module/FanChartModule.php - - message: '#^Parameter \#4 \$string of function imagettfbbox expects string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Module/FanChartModule.php - - - message: '#^Parameter \#6 \$color of function imagefilledrectangle expects int, int\<0, max\>\|false given\.$#' identifier: argument.type count: 1 path: app/Module/FanChartModule.php - - message: '#^Parameter \#8 \$text of function imagettftext expects string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Module/FanChartModule.php - - - message: '#^Method Fisharebest\\Webtrees\\Module\\FixCemeteryTag\:\:individualsToFix\(\) should return Illuminate\\Support\\Collection\<int, string\>\|null but returns Illuminate\\Support\\Collection\<\(int\|string\), mixed\>\.$#' identifier: return.type count: 1 @@ -6397,12 +6361,6 @@ parameters: path: app/Services/GedcomExportService.php - - message: '#^Parameter \#2 \$content of method ZipArchive\:\:addFromString\(\) expects string, string\|false given\.$#' - identifier: argument.type - count: 2 - path: app/Services/GedcomExportService.php - - - message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#' identifier: argument.type count: 1 @@ -6859,12 +6817,6 @@ parameters: path: app/Services/NetworkService.php - - message: '#^Parameter \$subject of function preg_match_all expects string, string\|false given\.$#' - identifier: argument.type - count: 1 - path: app/Services/NetworkService.php - - - message: '#^Variable \$stream might not be defined\.$#' identifier: variable.undefined count: 1 @@ -7855,12 +7807,6 @@ parameters: path: resources/views/components/select.phtml - - message: '#^Unreachable statement \- code above always terminates\.$#' - identifier: deadCode.unreachable - count: 1 - path: resources/views/edit/edit-gedcom-fields.phtml - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' identifier: foreach.nonIterable count: 2 @@ -8291,3 +8237,9 @@ parameters: identifier: argument.type count: 1 path: tests/TestCase.php + + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/app/TreeTest.php |
