Skip to content

Commit 3bfb018

Browse files
committed
Add PHPStan extensions, Prophecy, and suggested packages
- Add phpspec/prophecy-phpunit, jangregor/phpstan-prophecy - Add phpstan/phpstan-phpunit, phpstan/phpstan-webmozart-assert - Suggest phpstan/phpstan-doctrine and phpstan/phpstan-symfony
1 parent 570a8fa commit 3bfb018

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@ composer require --dev setono/code-quality-pack
1111
* Normalizes your `composer.json`. This has a few advantages - easier diffs being one of them.
1212
* [infection/infection](https://infection.github.io/)
1313
* Mutation testing framework to measure the quality of your tests.
14+
* [jangregor/phpstan-prophecy](https://github.com/jangregor/phpstan-prophecy)
15+
* PHPStan extension for Prophecy mocking.
1416
* [phpstan/phpstan](https://phpstan.org/)
1517
* A static analysis tool that finds bugs without running your code.
18+
* [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit)
19+
* PHPStan extension for PHPUnit.
20+
* [phpstan/phpstan-webmozart-assert](https://github.com/phpstan/phpstan-webmozart-assert)
21+
* PHPStan extension for webmozart/assert.
22+
* [phpspec/prophecy-phpunit](https://github.com/phpspec/prophecy-phpunit)
23+
* Prophecy mocking integration for PHPUnit.
1624
* [phpunit/phpunit](https://phpunit.de/)
1725
* The PHP testing framework.
1826
* [rector/rector](https://getrector.org/documentation)

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@
77
"php": ">=8.2",
88
"ergebnis/composer-normalize": "^2.50",
99
"infection/infection": "^0.29.14",
10+
"jangregor/phpstan-prophecy": "^2.3",
11+
"phpspec/prophecy-phpunit": "^2.5",
1012
"phpstan/phpstan": "^2.1.46",
13+
"phpstan/phpstan-phpunit": "^2.0",
1114
"phpstan/phpstan-strict-rules": "^2.0.10",
15+
"phpstan/phpstan-webmozart-assert": "^2.0",
1216
"phpunit/phpunit": "^11.5.55",
1317
"rector/rector": "^2.4.1",
1418
"shipmonk/composer-dependency-analyser": "^1.8.4",
1519
"sylius-labs/coding-standard": "^4.5"
1620
},
21+
"suggest": {
22+
"phpstan/phpstan-doctrine": "PHPStan extension for Doctrine projects",
23+
"phpstan/phpstan-symfony": "PHPStan extension for Symfony projects"
24+
},
1725
"config": {
1826
"allow-plugins": {
1927
"dealerdirect/phpcodesniffer-composer-installer": false,

0 commit comments

Comments
 (0)