for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Hyde\Console\Commands;
use Hyde\Hyde;
use Illuminate\Foundation\Console\PackageDiscoverCommand as BaseCommand;
use Illuminate\Foundation\PackageManifest;
/**
* Extended package discovery command to use the custom manifest path.
*/
class PackageDiscoverCommand extends BaseCommand
{
/** @var true */
protected $hidden = true;
public function handle(PackageManifest $manifest): void
$manifest->manifestPath = Hyde::path('app/storage/framework/cache/packages.php');
path()
Hyde\Hyde
__callStatic
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
parent::handle($manifest);
}