Update larastan

This commit is contained in:
philipp lang 2025-03-30 21:40:45 +02:00
parent 9b995641b6
commit 3260202465
2 changed files with 94 additions and 95 deletions

View File

@ -80,12 +80,12 @@
}, },
"require-dev": { "require-dev": {
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"larastan/larastan": "^2.0", "larastan/larastan": "^3.0",
"laravel/envoy": "^2.8", "laravel/envoy": "^2.8",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"orchestra/testbench": "^9.0", "orchestra/testbench": "^9.0",
"pestphp/pest": "^3.0", "pestphp/pest": "^3.0",
"phpstan/phpstan-mockery": "^1.1" "phpstan/phpstan-mockery": "^2.0"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,

185
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "10f0b0d2a8dee4a8dad4821de9935f85", "content-hash": "b901e66375d81c04e5067a7352780f13",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@ -904,16 +904,16 @@
}, },
{ {
"name": "brianium/paratest", "name": "brianium/paratest",
"version": "v7.7.0", "version": "v7.8.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paratestphp/paratest.git", "url": "https://github.com/paratestphp/paratest.git",
"reference": "4fb3f73bc5a4c3146bac2850af7dc72435a32daf" "reference": "a585c346ddf1bec22e51e20b5387607905604a71"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paratestphp/paratest/zipball/4fb3f73bc5a4c3146bac2850af7dc72435a32daf", "url": "https://api.github.com/repos/paratestphp/paratest/zipball/a585c346ddf1bec22e51e20b5387607905604a71",
"reference": "4fb3f73bc5a4c3146bac2850af7dc72435a32daf", "reference": "a585c346ddf1bec22e51e20b5387607905604a71",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -924,23 +924,23 @@
"fidry/cpu-core-counter": "^1.2.0", "fidry/cpu-core-counter": "^1.2.0",
"jean85/pretty-package-versions": "^2.1.0", "jean85/pretty-package-versions": "^2.1.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0", "php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"phpunit/php-code-coverage": "^11.0.8", "phpunit/php-code-coverage": "^11.0.9 || ^12.0.4",
"phpunit/php-file-iterator": "^5.1.0", "phpunit/php-file-iterator": "^5.1.0 || ^6",
"phpunit/php-timer": "^7.0.1", "phpunit/php-timer": "^7.0.1 || ^8",
"phpunit/phpunit": "^11.5.1", "phpunit/phpunit": "^11.5.11 || ^12.0.6",
"sebastian/environment": "^7.2.0", "sebastian/environment": "^7.2.0 || ^8",
"symfony/console": "^6.4.14 || ^7.2.1", "symfony/console": "^6.4.17 || ^7.2.1",
"symfony/process": "^6.4.14 || ^7.2.0" "symfony/process": "^6.4.19 || ^7.2.4"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0.0", "doctrine/coding-standard": "^12.0.0",
"ext-pcov": "*", "ext-pcov": "*",
"ext-posix": "*", "ext-posix": "*",
"phpstan/phpstan": "^2.0.3", "phpstan/phpstan": "^2.1.6",
"phpstan/phpstan-deprecation-rules": "^2.0.1", "phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-phpunit": "^2.0.1", "phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-strict-rules": "^2.0.3",
"squizlabs/php_codesniffer": "^3.11.1", "squizlabs/php_codesniffer": "^3.11.3",
"symfony/filesystem": "^6.4.13 || ^7.2.0" "symfony/filesystem": "^6.4.13 || ^7.2.0"
}, },
"bin": [ "bin": [
@ -981,7 +981,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/paratestphp/paratest/issues", "issues": "https://github.com/paratestphp/paratest/issues",
"source": "https://github.com/paratestphp/paratest/tree/v7.7.0" "source": "https://github.com/paratestphp/paratest/tree/v7.8.3"
}, },
"funding": [ "funding": [
{ {
@ -993,7 +993,7 @@
"type": "paypal" "type": "paypal"
} }
], ],
"time": "2024-12-11T14:50:44+00:00" "time": "2025-03-05T08:29:11+00:00"
}, },
{ {
"name": "brick/math", "name": "brick/math",
@ -6626,38 +6626,38 @@
}, },
{ {
"name": "pestphp/pest", "name": "pestphp/pest",
"version": "v3.7.4", "version": "v3.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest.git", "url": "https://github.com/pestphp/pest.git",
"reference": "4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b" "reference": "42e1b9f17fc2b2036701f4b968158264bde542d4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest/zipball/4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b", "url": "https://api.github.com/repos/pestphp/pest/zipball/42e1b9f17fc2b2036701f4b968158264bde542d4",
"reference": "4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b", "reference": "42e1b9f17fc2b2036701f4b968158264bde542d4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brianium/paratest": "^7.7.0", "brianium/paratest": "^7.8.3",
"nunomaduro/collision": "^8.6.1", "nunomaduro/collision": "^8.7.0",
"nunomaduro/termwind": "^2.3.0", "nunomaduro/termwind": "^2.3.0",
"pestphp/pest-plugin": "^3.0.0", "pestphp/pest-plugin": "^3.0.0",
"pestphp/pest-plugin-arch": "^3.0.0", "pestphp/pest-plugin-arch": "^3.1.0",
"pestphp/pest-plugin-mutate": "^3.0.5", "pestphp/pest-plugin-mutate": "^3.0.5",
"php": "^8.2.0", "php": "^8.2.0",
"phpunit/phpunit": "^11.5.3" "phpunit/phpunit": "^11.5.15"
}, },
"conflict": { "conflict": {
"filp/whoops": "<2.16.0", "filp/whoops": "<2.16.0",
"phpunit/phpunit": ">11.5.3", "phpunit/phpunit": ">11.5.15",
"sebastian/exporter": "<6.0.0", "sebastian/exporter": "<6.0.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^3.3.0", "pestphp/pest-dev-tools": "^3.4.0",
"pestphp/pest-plugin-type-coverage": "^3.2.3", "pestphp/pest-plugin-type-coverage": "^3.5.0",
"symfony/process": "^7.2.0" "symfony/process": "^7.2.5"
}, },
"bin": [ "bin": [
"bin/pest" "bin/pest"
@ -6722,7 +6722,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/pestphp/pest/issues", "issues": "https://github.com/pestphp/pest/issues",
"source": "https://github.com/pestphp/pest/tree/v3.7.4" "source": "https://github.com/pestphp/pest/tree/v3.8.0"
}, },
"funding": [ "funding": [
{ {
@ -6734,7 +6734,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-01-23T14:03:29+00:00" "time": "2025-03-30T17:49:10+00:00"
}, },
{ {
"name": "pestphp/pest-plugin", "name": "pestphp/pest-plugin",
@ -6808,16 +6808,16 @@
}, },
{ {
"name": "pestphp/pest-plugin-arch", "name": "pestphp/pest-plugin-arch",
"version": "v3.0.0", "version": "v3.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest-plugin-arch.git", "url": "https://github.com/pestphp/pest-plugin-arch.git",
"reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0" "reference": "ebec636b97ee73936ee8485e15a59c3f5a4c21b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/0a27e55a270cfe73d8cb70551b91002ee2cb64b0", "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/ebec636b97ee73936ee8485e15a59c3f5a4c21b2",
"reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0", "reference": "ebec636b97ee73936ee8485e15a59c3f5a4c21b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6826,8 +6826,8 @@
"ta-tikoma/phpunit-architecture-test": "^0.8.4" "ta-tikoma/phpunit-architecture-test": "^0.8.4"
}, },
"require-dev": { "require-dev": {
"pestphp/pest": "^3.0.0", "pestphp/pest": "^3.7.5",
"pestphp/pest-dev-tools": "^3.0.0" "pestphp/pest-dev-tools": "^3.4.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -6862,7 +6862,7 @@
"unit" "unit"
], ],
"support": { "support": {
"source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.0.0" "source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.1.0"
}, },
"funding": [ "funding": [
{ {
@ -6874,7 +6874,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-09-08T23:23:55+00:00" "time": "2025-03-30T17:28:50+00:00"
}, },
{ {
"name": "pestphp/pest-plugin-mutate", "name": "pestphp/pest-plugin-mutate",
@ -8190,16 +8190,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "11.5.3", "version": "11.5.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "30e319e578a7b5da3543073e30002bf82042f701" "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/30e319e578a7b5da3543073e30002bf82042f701", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c",
"reference": "30e319e578a7b5da3543073e30002bf82042f701", "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8209,24 +8209,24 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-xml": "*", "ext-xml": "*",
"ext-xmlwriter": "*", "ext-xmlwriter": "*",
"myclabs/deep-copy": "^1.12.1", "myclabs/deep-copy": "^1.13.0",
"phar-io/manifest": "^2.0.4", "phar-io/manifest": "^2.0.4",
"phar-io/version": "^3.2.1", "phar-io/version": "^3.2.1",
"php": ">=8.2", "php": ">=8.2",
"phpunit/php-code-coverage": "^11.0.8", "phpunit/php-code-coverage": "^11.0.9",
"phpunit/php-file-iterator": "^5.1.0", "phpunit/php-file-iterator": "^5.1.0",
"phpunit/php-invoker": "^5.0.1", "phpunit/php-invoker": "^5.0.1",
"phpunit/php-text-template": "^4.0.1", "phpunit/php-text-template": "^4.0.1",
"phpunit/php-timer": "^7.0.1", "phpunit/php-timer": "^7.0.1",
"sebastian/cli-parser": "^3.0.2", "sebastian/cli-parser": "^3.0.2",
"sebastian/code-unit": "^3.0.2", "sebastian/code-unit": "^3.0.3",
"sebastian/comparator": "^6.3.0", "sebastian/comparator": "^6.3.1",
"sebastian/diff": "^6.0.2", "sebastian/diff": "^6.0.2",
"sebastian/environment": "^7.2.0", "sebastian/environment": "^7.2.0",
"sebastian/exporter": "^6.3.0", "sebastian/exporter": "^6.3.0",
"sebastian/global-state": "^7.0.2", "sebastian/global-state": "^7.0.2",
"sebastian/object-enumerator": "^6.0.1", "sebastian/object-enumerator": "^6.0.1",
"sebastian/type": "^5.1.0", "sebastian/type": "^5.1.2",
"sebastian/version": "^5.0.2", "sebastian/version": "^5.0.2",
"staabm/side-effects-detector": "^1.0.5" "staabm/side-effects-detector": "^1.0.5"
}, },
@ -8271,7 +8271,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.3" "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.15"
}, },
"funding": [ "funding": [
{ {
@ -8287,7 +8287,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-01-13T09:36:00+00:00" "time": "2025-03-23T16:02:11+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@ -14887,40 +14887,40 @@
}, },
{ {
"name": "larastan/larastan", "name": "larastan/larastan",
"version": "v2.10.0", "version": "v3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/larastan/larastan.git", "url": "https://github.com/larastan/larastan.git",
"reference": "05519d721277604487a3ca71bdee87739d8d8716" "reference": "d84d5a3b6536a586899ad6855a3e098473703690"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/larastan/larastan/zipball/05519d721277604487a3ca71bdee87739d8d8716", "url": "https://api.github.com/repos/larastan/larastan/zipball/d84d5a3b6536a586899ad6855a3e098473703690",
"reference": "05519d721277604487a3ca71bdee87739d8d8716", "reference": "d84d5a3b6536a586899ad6855a3e098473703690",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"iamcal/sql-parser": "^0.5.0", "iamcal/sql-parser": "^0.5.0",
"illuminate/console": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/console": "^11.41.3 || ^12.0",
"illuminate/container": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/container": "^11.41.3 || ^12.0",
"illuminate/contracts": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/contracts": "^11.41.3 || ^12.0",
"illuminate/database": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/database": "^11.41.3 || ^12.0",
"illuminate/http": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/http": "^11.41.3 || ^12.0",
"illuminate/pipeline": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/pipeline": "^11.41.3 || ^12.0",
"illuminate/support": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/support": "^11.41.3 || ^12.0",
"php": "^8.0.2", "php": "^8.2",
"phpstan/phpstan": "^1.12.17" "phpstan/phpstan": "^2.1.3"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0", "doctrine/coding-standard": "^12.0",
"laravel/framework": "^9.52.20 || ^10.48.28 || ^11.41.3", "laravel/framework": "^11.41.3 || ^12.0",
"mockery/mockery": "^1.5.1", "mockery/mockery": "^1.6",
"nikic/php-parser": "^4.19.1", "nikic/php-parser": "^5.3",
"orchestra/canvas": "^7.11.1 || ^8.11.0 || ^9.0.2", "orchestra/canvas": "^v9.1.3 || ^10.0",
"orchestra/testbench-core": "^7.33.0 || ^8.13.0 || ^9.0.9", "orchestra/testbench-core": "^9.5.2 || ^10.0",
"phpstan/phpstan-deprecation-rules": "^1.2", "phpstan/phpstan-deprecation-rules": "^2.0.0",
"phpunit/phpunit": "^9.6.13 || ^10.5.16" "phpunit/phpunit": "^10.5.35 || ^11.3.6"
}, },
"suggest": { "suggest": {
"orchestra/testbench": "Using Larastan for analysing a package needs Testbench" "orchestra/testbench": "Using Larastan for analysing a package needs Testbench"
@ -14933,7 +14933,7 @@
] ]
}, },
"branch-alias": { "branch-alias": {
"dev-master": "2.0-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
@ -14955,7 +14955,7 @@
"email": "enunomaduro@gmail.com" "email": "enunomaduro@gmail.com"
} }
], ],
"description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel", "description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel",
"keywords": [ "keywords": [
"PHPStan", "PHPStan",
"code analyse", "code analyse",
@ -14968,7 +14968,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/larastan/larastan/issues", "issues": "https://github.com/larastan/larastan/issues",
"source": "https://github.com/larastan/larastan/tree/v2.10.0" "source": "https://github.com/larastan/larastan/tree/v3.2.0"
}, },
"funding": [ "funding": [
{ {
@ -14976,7 +14976,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-14T21:52:58+00:00" "time": "2025-03-14T21:54:26+00:00"
}, },
{ {
"name": "laravel/envoy", "name": "laravel/envoy",
@ -15538,20 +15538,20 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.12.23", "version": "2.1.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "29201e7a743a6ab36f91394eab51889a82631428" "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30",
"reference": "29201e7a743a6ab36f91394eab51889a82631428", "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2|^8.0" "php": "^7.4|^8.0"
}, },
"conflict": { "conflict": {
"phpstan/phpstan-shim": "*" "phpstan/phpstan-shim": "*"
@ -15592,33 +15592,32 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-23T14:57:32+00:00" "time": "2025-03-24T13:45:00+00:00"
}, },
{ {
"name": "phpstan/phpstan-mockery", "name": "phpstan/phpstan-mockery",
"version": "1.1.3", "version": "2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-mockery.git", "url": "https://github.com/phpstan/phpstan-mockery.git",
"reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80" "reference": "89a949d0ac64298e88b7c7fa00caee565c198394"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/98cac6e256b4ee60fdeb26a7dd81bb271b454e80", "url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/89a949d0ac64298e88b7c7fa00caee565c198394",
"reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80", "reference": "89a949d0ac64298e88b7c7fa00caee565c198394",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0", "php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.12" "phpstan/phpstan": "^2.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.6.11", "mockery/mockery": "^1.6.11",
"nikic/php-parser": "^4.13.0",
"php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-phpunit": "^1.4", "phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^1.6", "phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.5" "phpunit/phpunit": "^9.6"
}, },
"type": "phpstan-extension", "type": "phpstan-extension",
"extra": { "extra": {
@ -15640,9 +15639,9 @@
"description": "PHPStan Mockery extension", "description": "PHPStan Mockery extension",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-mockery/issues", "issues": "https://github.com/phpstan/phpstan-mockery/issues",
"source": "https://github.com/phpstan/phpstan-mockery/tree/1.1.3" "source": "https://github.com/phpstan/phpstan-mockery/tree/2.0.0"
}, },
"time": "2024-09-11T15:47:29+00:00" "time": "2024-10-14T03:18:12+00:00"
}, },
{ {
"name": "symfony/polyfill-php84", "name": "symfony/polyfill-php84",