Skip to content

Commit

Permalink
Merge pull request #666 from patrickkusebauch/feature/remove_extra_au…
Browse files Browse the repository at this point in the history
…toload

Make library usable as is without shim
  • Loading branch information
Denis Brumann committed Aug 13, 2021
2 parents 3cc4656 + 1d10c98 commit c3afb71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deptrac.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
}

(static function (): void {
require_once __DIR__.'/vendor/autoload.php';
if (\file_exists($autoload = __DIR__.'/vendor/autoload.php')) {
require_once $autoload;
}
})();

(static function (): void {
Expand Down

0 comments on commit c3afb71

Please sign in to comment.