summaryrefslogtreecommitdiffstats
path: root/php-nikic-fast-route-tests-autoloader.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-21 16:10:12 +0100
committerRemi Collet <remi@remirepo.net>2020-12-21 16:10:12 +0100
commit45665b6eafb4d0eebf72a5471e8b516b8bac6cab (patch)
tree12753404158d4fd9b98785270d43c8d31613d7ed /php-nikic-fast-route-tests-autoloader.php
parent757fc03beb92fa446ca01323b4ea0abef9e3fe0d (diff)
add classmap autoloaderHEADmaster
Diffstat (limited to 'php-nikic-fast-route-tests-autoloader.php')
-rw-r--r--php-nikic-fast-route-tests-autoloader.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/php-nikic-fast-route-tests-autoloader.php b/php-nikic-fast-route-tests-autoloader.php
deleted file mode 100644
index c484d51..0000000
--- a/php-nikic-fast-route-tests-autoloader.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-spl_autoload_register(function($class) {
- if (strpos($class, 'FastRoute\\') === 0 && strcasecmp(substr($class, -4), 'Test') === 0) {
- $name = substr($class, strlen('FastRoute'));
- require __DIR__ . strtr($name, '\\', DIRECTORY_SEPARATOR) . '.php';
- }
-});
-
-require_once 'BUILDROOT_PATH/bootstrap.php';