From 27f031c420c36aece2af7ff4c3f49231d86ff9d3 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Mon, 4 Mar 2019 11:29:37 +0000 Subject: [PATCH] Add phpstan-localheinz-rules --- README.md | 1 + resources/tools.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 33f066f0..ddfc316f 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ It has been extracted as a separate project to make maintenance easier and enabl * phpspec - [SpecBDD Framework](http://www.phpspec.net/) * phpstan - [Static Analysis Tool](https://github.com/phpstan/phpstan) * phpstan-deprecation-rules - [PHPStan rules for detecting deprecated code](https://github.com/phpstan/phpstan-deprecation-rules) +* phpstan-localheinz-rules - [Additional rules for PHPstan](https://github.com/localheinz/phpstan-rules) * phpstan-strict-rules - [Extra strict and opinionated rules for PHPStan](https://github.com/phpstan/phpstan-strict-rules) * phpstan-doctrine - [Doctrine extensions for PHPStan](https://github.com/phpstan/phpstan-doctrine) * phpstan-phpunit - [PHPUnit extensions and rules for PHPStan](https://github.com/phpstan/phpstan-phpunit) diff --git a/resources/tools.json b/resources/tools.json index 8f5a3914..9786b1b3 100644 --- a/resources/tools.json +++ b/resources/tools.json @@ -474,6 +474,18 @@ }, "test": "true" }, + { + "name": "phpstan-localheinz-rules", + "summary": "Additional rules for PHPstan", + "website": "https://github.com/localheinz/phpstan-rules", + "command": { + "composer-bin-plugin": { + "package": "localheinz/phpstan-rules", + "namespace": "phpstan" + } + }, + "test": "composer global bin phpstan show localheinz/phpstan-rules" + }, { "name": "phpstan-strict-rules", "summary": "Extra strict and opinionated rules for PHPStan",