Skip to content
Permalink
Browse files

Fixes autoloading of phpcs

  • Loading branch information...
nunomaduro committed May 14, 2019
1 parent ff83639 commit ccecff580949184b6e1bf9bba33c2c173c480c4b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Domain/Kernel.php
@@ -19,7 +19,9 @@ public static function bootstrap(): void
/**
* Includes PHP Codesniffer's autoload.
*/
include_once 'vendor/squizlabs/php_codesniffer/autoload.php';
include_once file_exists(__DIR__ . '/../../vendor/squizlabs/php_codesniffer/autoload.php')
? __DIR__ . '/../../vendor/squizlabs/php_codesniffer/autoload.php'
: __DIR__ . '/../../../../../vendor/squizlabs/php_codesniffer/autoload.php';
}
/**

0 comments on commit ccecff5

Please sign in to comment.
You can’t perform that action at this time.