build(deps): add phpstan-strict-rules

This commit is contained in:
Oliver Davies 2023-08-08 12:00:00 +01:00
parent 7e3324b77f
commit a95adfcc3d
2 changed files with 52 additions and 2 deletions

View file

@ -109,6 +109,7 @@
"require-dev": { "require-dev": {
"drupal/core-dev": "^10", "drupal/core-dev": "^10",
"fenetikm/autoload-drupal": "dev-autoload-tests", "fenetikm/autoload-drupal": "dev-autoload-tests",
"phpspec/prophecy-phpunit": "^2" "phpspec/prophecy-phpunit": "^2",
"phpstan/phpstan-strict-rules": "^1.5"
} }
} }

51
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": "b7efed8e16e9b99d9aba5afbdb499669", "content-hash": "2d3f22a75cc98e2996a5d6b9f3934faf",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -8218,6 +8218,55 @@
}, },
"time": "2023-05-26T11:05:59+00:00" "time": "2023-05-26T11:05:59+00:00"
}, },
{
"name": "phpstan/phpstan-strict-rules",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git",
"reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b21c03d4f6f3a446e4311155f4be9d65048218e6",
"reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.10"
},
"require-dev": {
"nikic/php-parser": "^4.13.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5"
},
"type": "phpstan-extension",
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"autoload": {
"psr-4": {
"PHPStan\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"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/1.5.1"
},
"time": "2023-03-29T14:47:40+00:00"
},
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "9.2.27", "version": "9.2.27",