Skip to content

Commit

Permalink
Make explicit some missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Oct 4, 2021
1 parent a469195 commit 5a442d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@
"require": {
"php": "^7.3 || ^8.0",
"doctrine/collections": "^1.6",
"doctrine/common": "^3.1",
"doctrine/dbal": "^2.11",
"doctrine/event-manager": "^1.1",
"doctrine/orm": "^2.9",
"doctrine/persistence": "^2.2",
"symfony/config": "^4.4 || ^5.3 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.3 || ^6.0",
"symfony/security-core": "^4.4 || ^5.3 || ^6.0",
"twig/twig": "^2.6 || ^3.0"
},
"conflict": {
Expand All @@ -29,11 +33,9 @@
"matthiasnoback/symfony-dependency-injection-test": "^4.2.1",
"symfony/cache": "^4.4 || ^5.3 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.3 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.3 || ^6.0",
"symfony/framework-bundle": "^4.4",
"symfony/http-foundation": "^4.4 || ^5.3 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.3 || ^6.0",
"symfony/phpunit-bridge": "^5.3 || ^6.0",
"symfony/security-core": "^4.4 || ^5.3 || ^6.0"
"symfony/phpunit-bridge": "^5.3 || ^6.0"
},
"config": {
"sort-packages": true
Expand Down
3 changes: 1 addition & 2 deletions src/EventListener/LogRevisionsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
namespace SimpleThings\EntityAudit\EventListener;

use Doctrine\Common\EventSubscriber;
use Doctrine\Common\Persistence\Mapping\MappingException;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
Expand All @@ -29,6 +28,7 @@
use Doctrine\ORM\Persisters\Entity\BasicEntityPersister;
use Doctrine\ORM\Persisters\Entity\EntityPersister;
use Doctrine\ORM\UnitOfWork;
use Doctrine\Persistence\Mapping\MappingException;
use SimpleThings\EntityAudit\AuditConfiguration;
use SimpleThings\EntityAudit\AuditManager;
use SimpleThings\EntityAudit\Metadata\MetadataFactory;
Expand Down Expand Up @@ -100,7 +100,6 @@ public function getSubscribedEvents()
}

/**
* @throws MappingException
* @throws DBALException
* @throws MappingException
* @throws \Exception
Expand Down

0 comments on commit 5a442d2

Please sign in to comment.