spaze / phpstan-disallowed-calls
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
β288Updated this week
Alternatives and similar repositories for phpstan-disallowed-calls:
Users that are interested in phpstan-disallowed-calls are comparing it to the libraries listed below
- Detect banned code through PHPStanβ261Updated 4 months ago
- π Provides a composer package with rules for phpstan/phpstan.β402Updated this week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsβ225Updated this week
- π PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Doctrine, PHPUnit etc. Can automaticβ¦β227Updated last week
- Object Hydration library to create Command and Query objects.β321Updated 2 months ago
- PHPStan based SQL static analysis and type inference for the database access layerβ270Updated last month
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.β399Updated last week
- Find Unused Public Elements in Your Codeβ177Updated last month
- π Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)β501Updated 2 months ago
- Attributes to define new PHP language features (that are enforced by static analysis)β145Updated 6 months ago
- Todo comments with expirationβ184Updated 3 weeks ago
- PHPStan extension to require minimal type-coverageβ181Updated last month
- Robust Serde (serialization/deserialization) library for PHP 8.β312Updated 4 months ago
- A set of custom fixers for PHP CS Fixerβ225Updated last week
- Extra strict and opinionated rules for PHPStanβ640Updated last week
- Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.β252Updated 3 weeks ago
- Development repository for Rectorβ115Updated this week
- Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used togetβ¦β518Updated 3 weeks ago
- Swiss knife in pocket of every upgrade architect!β164Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStanβ240Updated last week
- π Various extra strict PHPStan rules we found useful in ShipMonk.β122Updated last week
- PHPStan rules to measure cognitive complexity of your classes and methodsβ127Updated 3 months ago
- A convenient and near zero-cost way to retrieve targets of PHP 8 attributesβ158Updated 4 months ago
- XML without worriesβ180Updated 2 months ago
- Maps JSON data to strongly typed PHP DTOsβ200Updated 2 months ago
- Collection of non-platform endorsed resources with focus on PHPβ191Updated 2 years ago
- Coding Standard rules for PHP projects with focus on Clean Architectureβ365Updated 3 weeks ago
- Type check enforcement for library authors: enforces type-safety downstreamβ239Updated last week
- A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook plβ¦β188Updated last week
- Find leaking classes that you never use... and get rid of them.β120Updated last week