Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Mar 4, 2024
1 parent d116116 commit c72a696
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpunit-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
die(1);
}

$installedStandards = \PHP_CodeSniffer\Util\Standards::getInstalledStandardDetails();
foreach ($installedStandards as $details) {
\PHP_CodeSniffer\Autoload::addSearchPath($details['path'], $details['namespace']);
}

// Try and load the PHPCSUtils autoloader.
if ($phpcsUtilsDir !== false && \file_exists($phpcsUtilsDir . $ds . 'phpcsutils-autoload.php')) {
require_once $phpcsUtilsDir . $ds . 'phpcsutils-autoload.php';
Expand Down

0 comments on commit c72a696

Please sign in to comment.