Stop Ignoring Important Return Values with PHP 8.5's #[NoDiscard] May 26, 2026 php php85 php-internals attributes type-safety phpstan api-design backend PHP 8.5's #[NoDiscard] attribute warns you when critical return values are silently discarded. Here's how to use it to write safer, self-documenting APIs. Read more →
PHPStan 2 Tips and Tricks: Leveling Up Legacy PHP Codebases April 22, 2026 php phpstan static-analysis tools testing legacy-code Practical PHPStan 2 tips for PHP developers. Learn baselines, generics, custom rules, and strategies to reach level max on real-world projects. Read more →