Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mteu/zealous-stan

A modest and highly opinionated collection of commonly used phpstan rules
https://github.com/mteu/zealous-stan

phpstan phpstan-extension

Last synced: about 2 months ago
JSON representation

A modest and highly opinionated collection of commonly used phpstan rules

Awesome Lists containing this project

README

        

[![CGL](https://github.com/mteu/zealous-stan/actions/workflows/cgl.yaml/badge.svg)](https://github.com/mteu/zealous-stan/actions/workflows/cgl.yaml)

# Zealous Stan

**Zealous Stan** is a simple and modest, and obviously highly subjective collection of commonly used
[PHPStan](https://github.com/phpstan/phpstan) rules.

## 🚨 Disclaimer
Since **Zealous Stan** is my personal configuration for private projects it might not be generic enough to meet the needs
of a larger audience. Chances are it never will. So, if you really wish to use it as is be prepared for unannounced
breaking changes and/or semver violations. This packages likely needs additional configuration that I may or may not have
documented here. Use at your own risk, please.

## ⚑ Usage

Require this package and make sure to configure PHPStan according to your needs by putting a configuration file in your
project (e.g. as `phpstan.neon` file in your package root.)

```bash
composer require --dev mteu/zealous-stan
```

If you're using the [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer) you're good to go.

## πŸš€ Featured Extensions

* [ergebnis/phpstan-rules](https://github.com/ergebnis/phpstan-rules)
* [mteu/docblock-rules](https://github.com/mteu/docblock-rules)
* [phpstan/phpstan-deprecation-rules](https://github.com/phpstan/phpstan-deprecation-rules)
* [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules)
* [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls)
* [symplify/phpstan-rule](https://github.com/symplify/phpstan-rules)

> Please keep in mind that the list of featured extensions is highly subjective and only reflects my current workflow. 🀷

## πŸ’› Acknowledgement
I'm very grateful for the good people that created, maintain and sponsor [PHPStan](https://github.com/phpstan/phpstan). DΔ›kuji, [OndΕ™ej](https://github.com/ondrejmirtes)
and everyone who has contributed!

## ⭐ License
This project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).