Skip to content

Commit

Permalink
Remove doctrine/annotations
Browse files Browse the repository at this point in the history
It is only used in the tests and should be included in `require-dev` at most.
  • Loading branch information
jdreesen committed Jun 18, 2024
1 parent 42b615c commit 9336351
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
],
"require": {
"php": "~8.1.0 || ~8.2.0",
"doctrine/annotations": "^1.5",
"doctrine/persistence": "^2.1 || ^3.0",
"phpunit/phpunit": "^9.6.0",
"pimcore/pimcore": "^10.5 || ~11.0.0 || ~11.1.0 || ~11.2.2",
Expand Down
3 changes: 0 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@

declare(strict_types=1);

use Doctrine\Common\Annotations\AnnotationRegistry;
use Neusta\Pimcore\TestingFramework\Kernel\TestKernel;
use Neusta\Pimcore\TestingFramework\Pimcore\BootstrapPimcore;

include dirname(__DIR__) . '/vendor/autoload.php';

AnnotationRegistry::registerLoader('class_exists');

BootstrapPimcore::bootstrap(
PIMCORE_PROJECT_ROOT: __DIR__ . '/app',
KERNEL_CLASS: TestKernel::class,
Expand Down

0 comments on commit 9336351

Please sign in to comment.