Registering your PHPUnit test as an event subscriber for testing events
I love leveraging events in my application architecture. Drupal uses the EventDispatcher component from Symfony, which implements the Mediator and Observer design patterns.
A deep, practical tour through every caching layer in Drupal — from the render cache to chained fast backends.
Get it on LeanPub
I love leveraging events in my application architecture. Drupal uses the EventDispatcher component from Symfony, which implements the Mediator and Observer design patterns.
There is a fantastic low-level API in Drupal called the Typed Data API. It is fantastic and provides a great way to handle data representation via a schema and validate that data's values. The Typed Data API is the foundation for the Entity API.
I am happy to announce the 1.1.0 release of phpstan-drupal! This is a minor version bump due to a breaking change in the configuration options for phpstan-drupal.
While I don't precisely enjoy using Facebook anymore, the memories feature can be helpful. Like, today! Nine years ago, I had my first day as an official web developer. The local marketing agency Dooley & Associates hired me as their first in-house web developer.
Congratulations to Ondřej for releasing PHPStan 1.0 today! Years ago, folks weren't thinking very much about static analysis in PHP.
Upgrading Drupal should be and can be pretty easy with Composer. However, we currently have two or three packages that need to be updated whenever a new version of Drupal core comes out.
Using Composer's wildcard abilities, we can get these upgraded in one shot:
composer update "drupal/core*" -W
The -W flag ensures all of the dependencies required by these packages are also updated.
I have some exciting news to share for phpstan-drupal! With the 0.12.15 release, the ability to detect and report usages of deprecated services should have full coverage!
I am excited to announce my latest live stream sponsor – Esteemed! Esteemed is an AI-powered talent management and career solutions provider for digital professionals (founded by a bunch of Drupal folk and has a large Drupal talent pool network!)
Stoplight Platform is a series of tools that makes API design and documentation super easy. Their Studio product is an OpenAPI editor.