The McMarathon
I gave Opus 5.5 a 163-word prompt and a camera roll of selfies, shaky clips and crumpled receipts. It pieced together my day and came back with an epic film trailer for a man eating four hamburgers.
I gave Opus 5.5 a 163-word prompt and a camera roll of selfies, shaky clips and crumpled receipts. It pieced together my day and came back with an epic film trailer for a man eating four hamburgers.
The PHPStan Effect System is an experimental PHPStan extension that lets you name behaviours, such as calling external services, track them through the call graph, and report when they reach code where they aren't allowed.
Test Splitter is a small open source tool that splits a PHPUnit test suite into deterministic batches, so the batches can be run in parallel CI jobs to cut build times.
The PHPStan Rule Test Helper is an open source library that makes tests for custom PHPStan rules easier to write and maintain, by removing line numbers and duplicated error messages from tests.
SARB (Static Analysis Results Baseliner) is an open source tool that lets you adopt static analysis on an existing PHP codebase by baselining pre-existing issues, so your build only fails on new ones.
The bootcamp for software engineers who want to switch to plumbing.
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.
It's possible to use static analysis to emulate new language features in PHP. This article examines how, and introduces the PHP Language Extension Library.
This is the first part of a 4 part series of articles about adding PHPStan to existing projects. First we'll deal with team members who might object.
The code that executes PHP is currently written in C. Converting this to Rust offers many advantages. This article talks about work in progress to convert the C code to Rust, using Chat GPT.
Static Analysis Results Baseliner (SARB) is used to create a baseline of these results. As work on the project progresses SARB can takes the latest static analysis results, removes those issues in the baseline and report the issues raised since the baseline. Learn all about version 1.
Generics in PHP is already a reality with static analysis. The leading static analysers have largely converged on an unofficial standard. This article proposes the first steps towards a standard.
Many PHP developers would love generics. We might have to wait a while until they come along. This article shows how existing tools can give us the power of generics now (almost).