Skip to content

Commit be97933

Browse files
committed
minor symfony#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#13134 Commits ------- 8cc3f6a Fix phpdoc and coding standards
2 parents e0a8441 + 8cc3f6a commit be97933

File tree

69 files changed

+81
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+81
-139
lines changed

src/Symfony/Bridge/Doctrine/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
/**

src/Symfony/Bridge/Doctrine/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
{

src/Symfony/Bridge/Doctrine/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
/**

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Instantiator/RuntimeInstantiatorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
namespace Symfony\Bridge\ProxyManager\Tests\LazyProxy\Instantiator;
1313

14-
use ProxyManager\Proxy\LazyLoadingInterface;
1514
use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
16-
use Symfony\Component\DependencyInjection\ContainerInterface;
1715
use Symfony\Component\DependencyInjection\Definition;
1816

1917
/**

src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\DependencyInjection\ContainerInterface;
1515
use Symfony\Component\HttpFoundation\Session\Session;
1616
use Symfony\Component\Security\Core\SecurityContext;
17-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1817
use Symfony\Component\HttpFoundation\Request;
1918

2019
/**

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/AddCacheWarmerPassTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
15-
use Symfony\Component\DependencyInjection\Definition;
1614
use Symfony\Component\DependencyInjection\Reference;
1715
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheWarmerPass;
1816

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/FragmentRendererPassTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
15-
use Symfony\Component\DependencyInjection\Definition;
1614
use Symfony\Component\DependencyInjection\Reference;
1715
use Symfony\Component\HttpFoundation\Request;
1816
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FragmentRendererPass;

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/ProfilerPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1514
use Symfony\Component\DependencyInjection\Definition;
1615
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ProfilerPass;
1716

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/SerializerPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1514
use Symfony\Component\DependencyInjection\Reference;
1615
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\SerializerPass;
1716

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/TranslatorPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1514
use Symfony\Component\DependencyInjection\Reference;
1615
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\TranslatorPass;
1716

0 commit comments

Comments
 (0)