Skip to content

Commit

Permalink
Remove PSR-0 autoloading for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scyzoryck committed Dec 6, 2021
1 parent 8fa1f8f commit 2d53041
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
throw new RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
}

$loader = require $autoloadFile;
$loader->add('JMS\Serializer\Tests', __DIR__);
require $autoloadFile;

AnnotationRegistry::registerLoader('class_exists');
})();
Expand Down

0 comments on commit 2d53041

Please sign in to comment.