diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | fafcf8ae72b620a9b17f3ba434681e9494198127 (patch) | |
| tree | 43b5a92afc63103cb5bf35f1b4d2df5ff6f6afea | |
| parent | ff41f2cdb273a85af8f2ae41cc90b21db8a97ff9 (diff) | |
added deprications phpstan extension
| -rw-r--r-- | composer.json | 3 | ||||
| -rw-r--r-- | composer.lock | 52 |
2 files changed, 53 insertions, 2 deletions
diff --git a/composer.json b/composer.json index 0ff8a27..8d9f245 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "phpstan/extension-installer": "^1.4", "phpstan/phpstan-mockery": "^2.0", "mrpunyapal/peststan": "^0.2.10", - "phpstan/phpstan-strict-rules": "^2.0" + "phpstan/phpstan-strict-rules": "^2.0", + "phpstan/phpstan-deprecation-rules": "^2.0" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index 1d7e423..b2ecc30 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": "cce94e260de9356ef53ac73bf39dc1f1", + "content-hash": "bf37bf649405cb4c6f3c37a5fb4531fc", "packages": [ { "name": "psr/http-message", @@ -2372,6 +2372,56 @@ "time": "2026-05-28T14:44:12+00:00" }, { + "name": "phpstan/phpstan-deprecation-rules", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", + "reference": "6b5571001a7f04fa0422254c30a0017ec2f2cacc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/6b5571001a7f04fa0422254c30a0017ec2f2cacc", + "reference": "6b5571001a7f04fa0422254c30a0017ec2f2cacc", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^2.1.39" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", + "keywords": [ + "static analysis" + ], + "support": { + "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.4" + }, + "time": "2026-02-09T13:21:14+00:00" + }, + { "name": "phpstan/phpstan-mockery", "version": "2.0.0", "source": { |
