Skip to content

Commit

Permalink
load scoped autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Mar 18, 2024
1 parent 5f559ed commit 6daee49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/rule-doc-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
}
}

// load scoped classes
$scoperAutoloadFilepath = __DIR__ . '/../vendor/scoper-autoload.php';
if (file_exists($scoperAutoloadFilepath)) {
require_once $scoperAutoloadFilepath;
}

$containerFactory = new ContainerFactory();
$container = $containerFactory->create();

Expand Down

0 comments on commit 6daee49

Please sign in to comment.