Open Source
Shaping the tools I use every day, one pull request at a time
A hand-picked selection: only the contributions worth reading about, not every merged pull request. Articles about Magento and Adobe Commerce are on the blog.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Validate tax:rates:edit input and keep decimals in updated titles — on GitHub
Running tax:rates:edit without --rate cast the missing option to 0.0 and saved it to every given rate, exiting with success. --ids and --rate are now validated before anything is loaded, and --update-titles keeps decimals, so --rate=7.5 no longer produces VAT 7%.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Fix DivisionByZeroError on the cart page without a free shipping minimum — on GitHub
With the core free shipping carrier inactive and the module’s own minimum left empty, the minimum order total resolved to 0 and the completion percentage divided by it, throwing DivisionByZeroError on the cart page. The progress bar now handles an unconfigured minimum instead of calculating a percentage.
Fix swapped created_at and updated_at in the Last order details variable — on GitHub
GetCart\Index::getLastOrderDetails() filled %createdAt% from the order’s updated_at and %updatedAt% from created_at, so the LiveChat widget showed the two times the wrong way round. The replacement values are swapped back and a unit test covers the mapping.
Include store view and customer group in the FAQ ajax cache key — on GitHub
The ajax controller cached the rendered FAQ group HTML under a key that only held the group ID, while the block filters FAQs by store view and customer group. The first render was served to everyone, so restricted FAQs reached other customer groups and translated content showed on the wrong store view. The cache key now also contains the store ID and the customer group ID.
Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .
A rate limited request ended with HTTP 500 because Magento’s GraphQL controller picks the status and only 2.4.9 lets an exception choose it. A plugin on
GraphQl::dispatch()now sets 429,Retry-Afterand no-cache headers when the limiter denied the request, on every supported Magento version.