Skip to content

Commit 0aaf5e4

Browse files
committed
minor #13162 Fix phpdoc and coding standards (stof)
This PR was merged into the 2.3 branch. Discussion ---------- Fix phpdoc and coding standards | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ This removes the unused use statements which were not catched by PHP-CS-Fixer because of string occurences. It also fixes some invalid phpdoc (scalar is not recognized as a valid type for instance). This is complementary to symfony/symfony#13134 Commits ------- 8cc3f6a Fix phpdoc and coding standards
2 parents 5748292 + 73f2010 commit 0aaf5e4

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

RegistryInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bridge\Doctrine;
1313

1414
use Doctrine\Common\Persistence\ManagerRegistry as ManagerRegistryInterface;
15-
use Doctrine\ORM\Configuration;
1615
use Doctrine\ORM\EntityManager;
1716

1817
/**

Tests/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPassTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function setUp()
2525
}
2626

2727
/**
28-
* @expectedException InvalidArgumentException
28+
* @expectedException \InvalidArgumentException
2929
*/
3030
public function testExceptionOnAbstractTaggedSubscriber()
3131
{
@@ -41,7 +41,7 @@ public function testExceptionOnAbstractTaggedSubscriber()
4141
}
4242

4343
/**
44-
* @expectedException InvalidArgumentException
44+
* @expectedException \InvalidArgumentException
4545
*/
4646
public function testExceptionOnAbstractTaggedListener()
4747
{

Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use Symfony\Bridge\Doctrine\Tests\Fixtures\AssociationEntity;
2323
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
2424
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator;
25-
use Symfony\Component\Validator\Validator;
2625
use Doctrine\ORM\Tools\SchemaTool;
2726

2827
/**

0 commit comments

Comments
 (0)