Skip to content

Commit

Permalink
Composer autoloader still needs to be re-registered so PHPCS comes first
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 5, 2017
1 parent 566a0cd commit 0df7c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public static function load($class)
) {
self::$composerAutoloader = include __DIR__.'/../../autoload.php';
if (self::$composerAutoloader instanceof \Composer\Autoload\ClassLoader) {
#self::$composerAutoloader->unregister();
#self::$composerAutoloader->register();
self::$composerAutoloader->unregister();
self::$composerAutoloader->register();
} else {
// Something went wrong, so keep going without the autoloader
// although namespaced sniffs might error.
Expand Down

0 comments on commit 0df7c23

Please sign in to comment.