diff --git a/tools/sandbox/cli-config.php b/tools/sandbox/cli-config.php index 46230ba273..c949668e00 100644 --- a/tools/sandbox/cli-config.php +++ b/tools/sandbox/cli-config.php @@ -2,11 +2,11 @@ require_once '../../lib/vendor/doctrine-common/lib/Doctrine/Common/ClassLoader.php'; -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\ORM', realpath(__DIR__ . '/../../lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\ORM', realpath(__DIR__ . '/../../lib')); $classLoader->register(); -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); $classLoader->register(); -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); $classLoader->register(); $classLoader = new \Doctrine\Common\ClassLoader('Symfony', realpath(__DIR__ . '/../../lib/vendor')); $classLoader->register(); diff --git a/tools/sandbox/doctrine.php b/tools/sandbox/doctrine.php index 918e6e5e7c..9d498d4403 100644 --- a/tools/sandbox/doctrine.php +++ b/tools/sandbox/doctrine.php @@ -2,11 +2,11 @@ require_once '../../lib/vendor/doctrine-common/lib/Doctrine/Common/ClassLoader.php'; -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\ORM', realpath(__DIR__ . '/../../lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\ORM', realpath(__DIR__ . '/../../lib')); $classLoader->register(); -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); $classLoader->register(); -$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); +$classLoader = new \Doctrine\Common\ClassLoader('Doctrine\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); $classLoader->register(); $classLoader = new \Doctrine\Common\ClassLoader('Symfony', realpath(__DIR__ . '/../../lib/vendor')); $classLoader->register(); diff --git a/tools/sandbox/index.php b/tools/sandbox/index.php index 69e1eb359a..ad1cb9d6b1 100644 --- a/tools/sandbox/index.php +++ b/tools/sandbox/index.php @@ -19,11 +19,11 @@ // Set up class loading. You could use different autoloaders, provided by your favorite framework, // if you want to. -$classLoader = new ClassLoader('Doctrine\\ORM', realpath(__DIR__ . '/../../lib')); +$classLoader = new ClassLoader('Doctrine\ORM', realpath(__DIR__ . '/../../lib')); $classLoader->register(); -$classLoader = new ClassLoader('Doctrine\\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); +$classLoader = new ClassLoader('Doctrine\DBAL', realpath(__DIR__ . '/../../lib/vendor/doctrine-dbal/lib')); $classLoader->register(); -$classLoader = new ClassLoader('Doctrine\\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); +$classLoader = new ClassLoader('Doctrine\Common', realpath(__DIR__ . '/../../lib/vendor/doctrine-common/lib')); $classLoader->register(); $classLoader = new ClassLoader('Symfony', realpath(__DIR__ . '/../../lib/vendor')); $classLoader->register();