Introducing the PHPStan Effect System
An experimental PHPStan extension: name behaviours like calling external services, track them through the call graph, and flag them where they're not allowed.
11 articles
An experimental PHPStan extension: name behaviours like calling external services, track them through the call graph, and flag them where they're not allowed.
Test Splitter splits a PHPUnit test suite into deterministic batches, so you can run them in parallel CI jobs and cut build times.
An open source library that makes tests for custom PHPStan rules easier to write and maintain, with no line numbers or duplicated error messages.
SARB lets you adopt static analysis on an existing PHP codebase: it baselines the issues you already have, so the build only fails on new ones.
Where appropriate should PHP updates start off in static analysis world before becoming part of the PHP language?
Learn how the InjectableVersion attribute ensures that correct interface of class is used in Dependency Injection.
Learn how the RestrictTraitTo attribute ensures that traits are used correctly.
Learn how the TestTag attribute helps with testing.
Learn how the NamespaceVisibility attribute emulates the missing package visibility modifier.
Learn how the MustUseResult attribute can prevent coding mistakes.
Learn how the Friend attribute can be used to enforce the usage of creational design patterns.