You only need to specify the directory where you want to check the type.
vendor/bin/typesafety [RootDirectory]
By adding a set to composer.json, it will be able to easily run.
{
"scripts": {
"check": "vendor/bin/typesafety"
}
}
You can run the typecheck with the following command.
composer check
You can run the test with the following command.
composer install
composer test