diff --git a/CHANGELOG.md b/CHANGELOG.md index cdcb996..1e18e76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ **TBD — [Diff](https://github.com/maciejczyzewski/bottomline/compare/0.2.3...0.2.4) — [Docs](https://maciejczyzewski.github.io/bottomline/)** +* Fix `Class "__" not found` autoload error when calling `__::*` inside of a Composer script * Added `__::some` as a counterpart to `__::every` * Made the callable in `__::every` nullable. It will default to using `__::identity` so that using `__::every` with an array will automatically remove all falsey values diff --git a/composer.json b/composer.json index cb34559..7ae158c 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "phpunit/phpunit": "^4.8||^6.5||^9.5" }, "autoload": { - "files": ["bottomline.php"], + "classmap": ["bottomline.php"], "psr-4": {"__\\": "src/__/"} }, "autoload-dev": {