wyrihaximus/test-utilities
A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions).
The major release focusses on delegating most of the package requiring to other packages so those kind of packages can still get the most of what this package offers.
rmDir thanks to @WyriHaximussanmai currently locked di-container and pipeline versions as safe thanks to @WyriHaximusPurely releasing this as a major becase we're pinning Rector for now, doing another major when we undo that
Starting this major release when adding running composer install/update with this package, and wyrihaximus/makefiles in your require-dev. The following bit in composer.json:
"scripts": {
"post-install-cmd": [
"composer normalize",
"composer update --lock --no-scripts"
],
"post-update-cmd": [
"composer normalize",
"composer update --lock --no-scripts"
]
}
Will be replaced with:
"scripts": {
"post-install-cmd": [
"composer normalize",
"make on-install-or-update || true"
],
"post-update-cmd": [
"composer normalize",
"make on-install-or-update || true"
]
}
If neither of those scripts blocks are found, they will be created and make on-install-or-update || true will be put in each of those.
AFAIK I'm the only one using this package, plus the orgs I use it in. Adding this here to make sure that other that use it are aware of this impactful change.
How can I help you explore Laravel packages today?