@CiaranMcNulty@s_bergmann If you want to use non-standard PHPUnit annotations, some time ago I wrote a library that allows you to create your own annotations and extend existing ones. It ships with a few additional "requires", e.g. "@requires package" and "@requires constant": https://t.co/apUcchHzgn
@phpunit And btw, I recently released a new minor version of phpunit-extras, a library that allows creating custom annotations (and more): https://t.co/QwWxY9OpWJ
I bet you don't know (at least I didn't until recently) that @phpunit supports the "@requires setting" annotation since version 7. The documentation doesn't mention it anywhere, so check out this PR to see a usage example: https://t.co/kfX6T6mXoh.
If you've ever needed to parse a date with a year over 4 digits using DateTime in PHP, you probably know that it won't work. However, I have a simple hack for you: https://t.co/thNTxySIcF #Y10k
@exakat@AdrienRoches@FredBouchery This behavior is considered obsolete and exists only to keep BC. You might be interested in reading this discussion: https://t.co/DDSNvo5pQJ
Whoohoo! The Deferred Twig extension hit 1 million downloads on packagist: https://t.co/LNfPOZrw6j. However, I would recommend switching to a new version of this extension that supports Twig v3: https://t.co/rHY2ubmJMe.