chore(dependencies): update dependencies and add phpstan extension

Added phpstan/phpstan-webmozart-assert to enhance type checking.
This commit is contained in:
Jérémy Munsch 2026-08-12 16:40:32 +02:00
parent 93d76b3c69
commit e74f81b656
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4
3 changed files with 56 additions and 2 deletions

View file

@ -9,7 +9,8 @@
"laravel/framework": "^13.24",
"laravel/sanctum": "^4.0",
"league/uri": "^7.8",
"sentry/sentry-laravel": "^4.27"
"sentry/sentry-laravel": "^4.27",
"webmozart/assert": "^2.4"
},
"require-dev": {
"ace-of-aces/intellipest": "^1.0",
@ -28,6 +29,7 @@
"pestphp/pest-plugin-laravel": "^4.1",
"pestphp/pest-plugin-type-coverage": "^4.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/phpstan-webmozart-assert": "^2.0",
"phpunit/phpunit": "^12.5.12",
"slevomat/coding-standard": "^8.31"
},

53
composer.lock generated
View file

@ -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": "12854cadd67e4503ab261154c89d87b2",
"content-hash": "af829fb58dbfed816dd6c68541471c57",
"packages": [
{
"name": "brick/math",
@ -9879,6 +9879,57 @@
},
"time": "2026-07-08T07:01:06+00:00"
},
{
"name": "phpstan/phpstan-webmozart-assert",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-webmozart-assert.git",
"reference": "0c641817d2a8f05c7157f92d91986e74d3c8ab0c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-webmozart-assert/zipball/0c641817d2a8f05c7157f92d91986e74d3c8ab0c",
"reference": "0c641817d2a8f05c7157f92d91986e74d3c8ab0c",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.0"
},
"require-dev": {
"nikic/php-parser": "^5.1",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.6",
"webmozart/assert": "^1.11.0"
},
"type": "phpstan-extension",
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"autoload": {
"psr-4": {
"PHPStan\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHPStan webmozart/assert extension",
"support": {
"issues": "https://github.com/phpstan/phpstan-webmozart-assert/issues",
"source": "https://github.com/phpstan/phpstan-webmozart-assert/tree/2.0.0"
},
"time": "2024-10-14T03:45:26+00:00"
},
{
"name": "phpunit/php-code-coverage",
"version": "12.5.7",

View file

@ -2,6 +2,7 @@ includes:
- vendor/larastan/larastan/extension.neon
- vendor/nesbot/carbon/extension.neon
- vendor/pestphp/pest/extension.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
parameters:
paths: