Skip to content

Commit

Permalink
bug #445 Require doctrine/annotations instead of sensio/framework-ext…
Browse files Browse the repository at this point in the history
…ra-bundle where sufficient (MatTheCat)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Require doctrine/annotations instead of sensio/framework-extra-bundle where sufficient

Fixes #442

Commits
-------

3ff6a75 Replace annotations with doctrine/annotations
  • Loading branch information
weaverryan committed Aug 12, 2019
2 parents 52de803 + 3ff6a75 commit 00a0148
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/Maker/MakeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
public function configureDependencies(DependencyBuilder $dependencies)
{
$dependencies->addClassDependency(
// we only need doctrine/annotations, which contains
// the recipe that loads annotation routes
Annotation::class,
'annotations'
'doctrine/annotations'
);
}

Expand Down
4 changes: 1 addition & 3 deletions src/Maker/MakeRegistrationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,8 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
public function configureDependencies(DependencyBuilder $dependencies)
{
$dependencies->addClassDependency(
// we only need doctrine/annotations, which contains
// the recipe that loads annotation routes
Annotation::class,
'annotations'
'doctrine/annotations'
);

$dependencies->addClassDependency(
Expand Down

0 comments on commit 00a0148

Please sign in to comment.