Skip to content

Commit

Permalink
Fix PHP warning with no composer classloader (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Jul 2, 2024
1 parent 6bbe1d0 commit 9252ee5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,9 @@ public function __construct(
$this->stopwatch = $stopwatch;
$this->config = $config;
$this->composerJsonDependencies = $composerJsonDependencies;
$this->classLoaders = $classLoaders;

$this->initExistingSymbols();

foreach ($classLoaders as $vendorDir => $classLoader) {
$this->classLoaders[$vendorDir] = $classLoader;
}
}

/**
Expand Down

0 comments on commit 9252ee5

Please sign in to comment.