[Insight] Absolute path constants __DIR__ and __FILE__ should not be used - in src/Composer/Job/Job.php, line 80
peter-gribanov opened this issue · comments
in src/Composer/Job/Job.php, line 80
__DIR__
and__FILE__
constants may conflict with the Symfony resource overriding system
* @param \Composer\Package\Package $package
* @param string $root_dir
*/
public function __construct(Package $package, $root_dir = '')
{
$this->root_dir = $root_dir ?: __DIR__.'/../../../';
$this->package = $package;
$this->package->setExtra(array_merge([
'anime-db-routing' => '',
'anime-db-config' => '',
'anime-db-bundle' => '',