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.

1,662 +
Merged pull requests
71
Projects contributed to
397 +
Pull requests reviewed
10
Years contributing
fix Veriteworks/CookieFix  #42 merged

Declare the Magento_Cookie dependency inside the sequence node  — on GitHub

etc/module.xml listed Magento_Cookie directly under the module node, which module.xsd does not allow and the module loader ignores, so the dependency was never declared. The module only worked because Magento_Cookie sorts before it alphabetically. The entry now sits inside <sequence>.

fix christophermallory/magento2-freeshipping-progress-bar  #16 merged

Size the progress bar labels to their content  — on GitHub

The labels on either side of the cart progress bar had fixed widths of 17px and 33px, which only fits single-character currency symbols. With a currency such as CHF the label overflowed its box and was drawn over the start of the bar. The label row is now a flex container where the labels keep their natural width and the bar takes the remaining space.

fix olegkoval/magento2-regenerate_url_rewrites  #188 merged

Count only the system rewrite as existing for --skip-existing  — on GitHub

With --skip-existing any url_rewrite row hid a missing system rewrite, so a custom 301 made the command report a category as processed and create nothing. _urlRewriteExistsForEntity() now counts only autogenerated rewrites that point at catalog/<entity>/view/id/<id>.

fix Vendic/hyva-checkout-google-address-autocomplete  #25 merged

Keep address autocomplete responsive after repeated checkout updates  — on GitHub

Each checkout update appended the same address inputs to the discovery list and created more Autocomplete instances and place_changed listeners for all accumulated entries, so selecting an address could trigger repeated address updates. The discovered list is now replaced on each discovery, and one Autocomplete instance is kept per element in a WeakMap.

ci elgentos/magento2-review-reminder  #5 merged

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 sansecio/magento2-module-shield  #56 merged

Match IPv6 addresses against IPv6 CIDR network rules  — on GitHub

IP::ipMatchesCidr() used ip2long() and a 32-bit mask, so an IPv6 network rule with a prefix above 32 threw an ArithmeticError and never matched, and one with a prefix of 32 or less matched every IPv6 client. The check now compares inet_pton() bytes and bits, and rejects a mix of address families.

fix schrammel-codes/magento2-epc-qr-code  #17 merged

Do not render the EPC QR code for orders not placed in EUR  — on GitHub

The SEPA QR payload always carries the currency EUR, but the renderer filled the amount from the order grand total in the order currency without checking it. A 100.00 PLN or CHF order showed a code asking the customer to transfer EUR 100.00. The renderer now skips the QR code for orders that are not in EUR.

ci elgentos/magento2-varnish-extended  #137 merged

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.

Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .