-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Laravel Roster Version
v0.2.5
Laravel Version
12.21.0
PHP Version
8.4.8
Database Driver & Version
MySQL 8.0.42 via Docker
Description
Roster doesn't correctly list PHPUnit as in the roster when it is installed.
use Laravel\Roster\Roster;
use Laravel\Roster\Enums\Packages;
$roster = Roster::scan(base_path());
$roster->uses(Packages::PHPUNIT); // returns `false`Seems like phpunit/phpunit is missing from the Composer map: https://github.com/laravel/roster/blob/main/src/Scanners/Composer.php#L19-L54
Steps To Reproduce
- Create a new Laravel project.
- Install the latest version of PHPUnit (v12) and Roster
- Run script above
Unrelated, but in the README.md under the Query the roster section, use Laravel\Roster\Packages; should be use Laravel\Roster\Enums\Packages;
Metadata
Metadata
Assignees
Labels
No labels