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.
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.
Congratulations to Ondřej for releasing PHPStan 1.0 today! Years ago, folks weren't thinking very much about static analysis in PHP.
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!
Earlier this year, in early March, I started doing live development on my Twitch channel. I wanted to try a different way to maintain my own projects and contribute to others.
If you haven't seen or heard, the Drupal 10 readiness effort is heavy underway. Wait. Drupal 10? Yeah. Drupal 8 will be at its end of life in two months, and Drupal 10 is to be released sometime next year.
Did you know that Drupal has a deployment identifier? This deployment identifier triggers different actions in Drupal and can be used to streamline your Drupal deployments. In this video, I will walk through how the deployment identifier is used and how you set it.
I just released phpstan-drupal 0.12.10, which includes a major bug fix and major feature.