diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/EntityChoiceListTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/EntityChoiceListTest.php index ef42dcd4eb..f928f1f385 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/EntityChoiceListTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/EntityChoiceListTest.php @@ -70,7 +70,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException * @expectedMessage Entity "Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIdentEntity" passed to the choice field must have a "__toString()" method defined (or you can also override the "property" option). */ public function testEntitiesMustHaveAToStringMethod() @@ -97,7 +97,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException */ public function testChoicesMustBeManaged() { diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php index 3e67e8bed6..cf4606f9d4 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php @@ -111,7 +111,7 @@ class EntityTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException */ public function testClassOptionIsRequired() { @@ -171,7 +171,7 @@ class EntityTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testConfigureQueryBuilderWithNonQueryBuilderAndNonClosure() { @@ -183,7 +183,7 @@ class EntityTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testConfigureQueryBuilderWithClosureReturningNonQueryBuilder() { diff --git a/src/Symfony/Bridge/Propel1/Tests/Form/Type/TranslationCollectionTypeTest.php b/src/Symfony/Bridge/Propel1/Tests/Form/Type/TranslationCollectionTypeTest.php index db8eb3226d..e9fa8395e7 100644 --- a/src/Symfony/Bridge/Propel1/Tests/Form/Type/TranslationCollectionTypeTest.php +++ b/src/Symfony/Bridge/Propel1/Tests/Form/Type/TranslationCollectionTypeTest.php @@ -96,7 +96,7 @@ class TranslationCollectionTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testNoArrayGiven() { @@ -118,7 +118,7 @@ class TranslationCollectionTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException */ public function testNoDataClassAdded() { @@ -131,7 +131,7 @@ class TranslationCollectionTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException */ public function testNoLanguagesAdded() { @@ -144,7 +144,7 @@ class TranslationCollectionTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException */ public function testNoColumnsAdded() { diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php index ce45492c28..77670cc005 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php @@ -60,7 +60,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testInvalidTypeTrustedProxies() { @@ -70,7 +70,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testInvalidValueTrustedProxies() { diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php index 5e600fb9f8..3203f37bca 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php @@ -73,7 +73,7 @@ abstract class FrameworkExtensionTest extends TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testRouterRequiresResourceOption() { @@ -211,7 +211,7 @@ abstract class FrameworkExtensionTest extends TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testTemplatingRequiresAtLeastOneEngine() { diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php index c859cfffed..0925e8b759 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php +++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php @@ -34,7 +34,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase ); /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testNoConfigForProvider() { @@ -50,7 +50,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testManyConfigForProvider() { diff --git a/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php b/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php index 1f7d90e981..80c9da10e3 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php @@ -69,7 +69,7 @@ class TwigLoaderPassTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\DependencyInjection\Exception\LogicException + * @expectedException \Symfony\Component\DependencyInjection\Exception\LogicException */ public function testMapperPassWithZeroTaggedLoaders() { diff --git a/src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php b/src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php index 488f2eadb8..c46ca055a3 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php @@ -57,7 +57,7 @@ class TemplateManagerTest extends TestCase } /** - * @expectedException Symfony\Component\HttpKernel\Exception\NotFoundHttpException + * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException */ public function testGetNameOfInvalidTemplate() { diff --git a/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php index 0ea51959bc..27445ea339 100644 --- a/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php @@ -16,7 +16,7 @@ use Symfony\Component\Config\Definition\ArrayNode; class ArrayNodeTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException */ public function testNormalizeThrowsExceptionWhenFalseIsNotAllowed() { diff --git a/src/Symfony/Component/Config/Tests/Definition/BooleanNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/BooleanNodeTest.php index ea5fffe73c..0753d64b4f 100644 --- a/src/Symfony/Component/Config/Tests/Definition/BooleanNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/BooleanNodeTest.php @@ -34,7 +34,7 @@ class BooleanNodeTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getInvalidValues - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException */ public function testNormalizeThrowsExceptionOnInvalidValues($value) { diff --git a/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php b/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php index 3831d70117..4510da5df0 100644 --- a/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php @@ -34,7 +34,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException * @dataProvider providePrototypeNodeSpecificCalls */ public function testPrototypeNodeSpecificOption($method, $args) @@ -57,7 +57,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException */ public function testConcreteNodeSpecificOption() { @@ -67,7 +67,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException */ public function testPrototypeNodesCantHaveADefaultValueWhenUsingDefaultChildren() { diff --git a/src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php b/src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php index d30f3f3ff7..2b8a876fd2 100644 --- a/src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php @@ -132,7 +132,7 @@ class ExprBuilderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testThenInvalid() { diff --git a/src/Symfony/Component/Config/Tests/Definition/Builder/NumericNodeDefinitionTest.php b/src/Symfony/Component/Config/Tests/Definition/Builder/NumericNodeDefinitionTest.php index 51af2d71a2..1cb08f90e9 100755 --- a/src/Symfony/Component/Config/Tests/Definition/Builder/NumericNodeDefinitionTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/Builder/NumericNodeDefinitionTest.php @@ -38,7 +38,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The value 4 is too small for path "foo". Should be greater than: 5 */ public function testIntegerMinAssertion() @@ -48,7 +48,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The value 4 is too big for path "foo". Should be less than: 3 */ public function testIntegerMaxAssertion() @@ -65,7 +65,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The value 400 is too small for path "foo". Should be greater than: 500 */ public function testFloatMinAssertion() @@ -75,7 +75,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The value 4.3 is too big for path "foo". Should be less than: 0.3 */ public function testFloatMaxAssertion() diff --git a/src/Symfony/Component/Config/Tests/Definition/EnumNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/EnumNodeTest.php index 8e3d66a378..2b84de6b09 100755 --- a/src/Symfony/Component/Config/Tests/Definition/EnumNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/EnumNodeTest.php @@ -30,7 +30,7 @@ class EnumNodeTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The value "foobar" is not allowed for path "foo". Permissible values: "foo", "bar" */ public function testFinalizeWithInvalidValue() diff --git a/src/Symfony/Component/Config/Tests/Definition/FloatNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/FloatNodeTest.php index b91446e1c8..bdf79ecec9 100644 --- a/src/Symfony/Component/Config/Tests/Definition/FloatNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/FloatNodeTest.php @@ -40,7 +40,7 @@ class FloatNodeTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getInvalidValues - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException */ public function testNormalizeThrowsExceptionOnInvalidValues($value) { diff --git a/src/Symfony/Component/Config/Tests/Definition/IntegerNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/IntegerNodeTest.php index 11d5315306..1527db7a70 100644 --- a/src/Symfony/Component/Config/Tests/Definition/IntegerNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/IntegerNodeTest.php @@ -35,7 +35,7 @@ class IntegerNodeTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getInvalidValues - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException */ public function testNormalizeThrowsExceptionOnInvalidValues($value) { diff --git a/src/Symfony/Component/Config/Tests/Definition/MergeTest.php b/src/Symfony/Component/Config/Tests/Definition/MergeTest.php index d90a3a9f0e..d78027d051 100644 --- a/src/Symfony/Component/Config/Tests/Definition/MergeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/MergeTest.php @@ -16,7 +16,7 @@ use Symfony\Component\Config\Definition\Builder\TreeBuilder; class MergeTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException + * @expectedException \Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException */ public function testForbiddenOverwrite() { @@ -92,7 +92,7 @@ class MergeTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException */ public function testDoesNotAllowNewKeysInSubsequentConfigs() { diff --git a/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php b/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php index 77f1ea91e8..4b0e6bf94c 100644 --- a/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php @@ -169,7 +169,7 @@ class NormalizerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedExceptionMessage The attribute "id" must be set for path "root.thing". */ public function testNonAssociativeArrayThrowsExceptionIfAttributeNotSet() diff --git a/src/Symfony/Component/Config/Tests/Definition/ScalarNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/ScalarNodeTest.php index 91e47ef3e3..056dd73b07 100644 --- a/src/Symfony/Component/Config/Tests/Definition/ScalarNodeTest.php +++ b/src/Symfony/Component/Config/Tests/Definition/ScalarNodeTest.php @@ -41,7 +41,7 @@ class ScalarNodeTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getInvalidValues - * @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException + * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException */ public function testNormalizeThrowsExceptionOnInvalidValues($value) { diff --git a/src/Symfony/Component/Config/Tests/Loader/DelegatingLoaderTest.php b/src/Symfony/Component/Config/Tests/Loader/DelegatingLoaderTest.php index 3b04a0111f..7641e24825 100644 --- a/src/Symfony/Component/Config/Tests/Loader/DelegatingLoaderTest.php +++ b/src/Symfony/Component/Config/Tests/Loader/DelegatingLoaderTest.php @@ -69,7 +69,7 @@ class DelegatingLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Exception\FileLoaderLoadException + * @expectedException \Symfony\Component\Config\Exception\FileLoaderLoadException */ public function testLoadThrowsAnExceptionIfTheResourceCannotBeLoaded() { diff --git a/src/Symfony/Component/CssSelector/Tests/TokenizerTest.php b/src/Symfony/Component/CssSelector/Tests/TokenizerTest.php index 6c559b4478..b15de9dca1 100644 --- a/src/Symfony/Component/CssSelector/Tests/TokenizerTest.php +++ b/src/Symfony/Component/CssSelector/Tests/TokenizerTest.php @@ -37,7 +37,7 @@ class TokenizerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\CssSelector\Exception\ParseException + * @expectedException \Symfony\Component\CssSelector\Exception\ParseException */ public function testTokenizeInvalidString() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php index cbf9934a10..e71835edc6 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php @@ -31,7 +31,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPassTest extends \PHPUnit_Framewor } /** - * @expectedException Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException + * @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException */ public function testProcessThrowsExceptionOnInvalidReference() { @@ -46,7 +46,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPassTest extends \PHPUnit_Framewor } /** - * @expectedException Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException + * @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException */ public function testProcessThrowsExceptionOnInvalidReferenceFromInlinedDefinition() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php b/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php index 46ea75d5cd..89f7ae1ea0 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php @@ -96,7 +96,7 @@ class DefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\DependencyInjection\Exception\InvalidArgumentException + * @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException * @expectedExceptionMessage Method name cannot be empty. */ public function testExceptionOnEmptyMethodCall() diff --git a/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php b/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php index d03e843817..0261a0804e 100644 --- a/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php +++ b/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php @@ -89,7 +89,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testCopyFails() { @@ -207,7 +207,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testMkdirCreatesDirectoriesFails() { @@ -229,7 +229,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testTouchFails() { @@ -518,7 +518,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testChownSymlinkFails() { @@ -535,7 +535,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testChownFail() { @@ -584,7 +584,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testChgrpSymlinkFails() { @@ -601,7 +601,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testChgrpFail() { @@ -626,7 +626,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testRenameThrowsExceptionIfTargetAlreadyExists() { @@ -640,7 +640,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Filesystem\Exception\IOException + * @expectedException \Symfony\Component\Filesystem\Exception\IOException */ public function testRenameThrowsExceptionOnError() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php index 628ac60ad8..1a7ded0501 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php @@ -82,7 +82,7 @@ class LazyChoiceListTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException */ public function testLoadChoiceListShouldReturnChoiceList() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php index 12f22d2d1f..771a37e119 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php @@ -193,7 +193,7 @@ class ObjectChoiceListTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException */ public function testInitArrayThrowsExceptionIfToStringNotFound() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ArrayToPartsTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ArrayToPartsTransformerTest.php index 0ac8f44bae..f576b64df1 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ArrayToPartsTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ArrayToPartsTransformerTest.php @@ -68,7 +68,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testTransformRequiresArray() { @@ -123,7 +123,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyNull() { @@ -140,7 +140,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformRequiresArray() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoiceToValueTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoiceToValueTransformerTest.php index 844e1ff356..ec551e1cd1 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoiceToValueTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoiceToValueTransformerTest.php @@ -67,7 +67,7 @@ class ChoiceToValueTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformExpectsScalar() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoicesToValuesTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoicesToValuesTransformerTest.php index 215b89baad..0abbd7b7eb 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoicesToValuesTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ChoicesToValuesTransformerTest.php @@ -45,7 +45,7 @@ class ChoicesToValuesTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testTransformExpectsArray() { @@ -67,7 +67,7 @@ class ChoicesToValuesTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformExpectsArray() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php index 82234d28ba..4f2e29b8c7 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php @@ -117,7 +117,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testTransformRequiresDateTime() { @@ -191,7 +191,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_year() { @@ -206,7 +206,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_month() { @@ -221,7 +221,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_day() { @@ -236,7 +236,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_hour() { @@ -251,7 +251,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_minute() { @@ -266,7 +266,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyEmpty_second() { @@ -326,7 +326,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformRequiresArray() { @@ -335,7 +335,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeYear() { @@ -351,7 +351,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeMonth() { @@ -367,7 +367,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeDay() { @@ -383,7 +383,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeHour() { @@ -399,7 +399,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeMinute() { @@ -415,7 +415,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNegativeSecond() { @@ -431,7 +431,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithInvalidMonth() { @@ -447,7 +447,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithInvalidDay() { @@ -463,7 +463,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithStringDay() { @@ -479,7 +479,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithStringMonth() { @@ -495,7 +495,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithStringYear() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php index 40195cb517..75dc226f85 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php @@ -79,7 +79,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testTransformRequiresValidDateTime() { @@ -102,7 +102,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformRequiresString() { @@ -111,7 +111,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformWithNonExistingDate() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php index a33f24003c..a469d8c024 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php @@ -50,7 +50,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformExpectsString() { @@ -60,7 +60,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformExpectsValidNumber() { @@ -70,7 +70,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformDisallowsNaN() { @@ -80,7 +80,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformDisallowsNaN2() { @@ -90,7 +90,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformDisallowsInfinity() { @@ -100,7 +100,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransformDisallowsNegativeInfinity() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToDuplicatesTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToDuplicatesTransformerTest.php index 520a4dc5f2..20b9353911 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToDuplicatesTransformerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToDuplicatesTransformerTest.php @@ -83,7 +83,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_partiallyNull() { @@ -97,7 +97,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\TransformationFailedException + * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException */ public function testReverseTransform_differences() { @@ -111,7 +111,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testReverseTransformRequiresArray() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/EventListener/MergeCollectionListenerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/EventListener/MergeCollectionListenerTest.php index 8e0ccad7b1..bf83e057e9 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/EventListener/MergeCollectionListenerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/EventListener/MergeCollectionListenerTest.php @@ -196,7 +196,7 @@ abstract class MergeCollectionListenerTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getBooleanMatrix2 - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testRequireArrayOrTraversable($allowAdd, $allowDelete) { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php index a302e2a9ac..98016e3ad4 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php @@ -79,7 +79,7 @@ class ChoiceTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testChoiceListOptionExpectsChoiceListInterface() { @@ -89,7 +89,7 @@ class ChoiceTypeTest extends TypeTestCase } /** - * expectedException Symfony\Component\Form\Exception\FormException + * expectedException \Symfony\Component\Form\Exception\FormException */ public function testEitherChoiceListOrChoicesMustBeSet() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php index fdff501668..cc0e9bf50d 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php @@ -24,7 +24,7 @@ class DateTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testInvalidWidgetOption() { @@ -34,7 +34,7 @@ class DateTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testInvalidInputOption() { @@ -271,7 +271,7 @@ class DateTypeTest extends LocalizedTestCase * This test is to check that the strings '0', '1', '2', '3' are no accepted * as valid IntlDateFormatter constants for FULL, LONG, MEDIUM or SHORT respectively. * - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testThrowExceptionIfFormatIsNoPattern() { @@ -283,7 +283,7 @@ class DateTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay() { @@ -294,7 +294,7 @@ class DateTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testThrowExceptionIfFormatIsNoConstant() { @@ -304,7 +304,7 @@ class DateTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testThrowExceptionIfFormatIsInvalid() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php index 1a8e4ad07b..65c7b68693 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php @@ -391,7 +391,7 @@ class FormTypeTest extends TypeTestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testAttributesException() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php index 9b5f9ef714..908a41de5f 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php @@ -629,7 +629,7 @@ class TimeTypeTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidConfigurationException + * @expectedException \Symfony\Component\Form\Exception\InvalidConfigurationException */ public function testInitializeWithSecondsAndWithoutMinutes() { diff --git a/src/Symfony/Component/Form/Tests/FormRegistryTest.php b/src/Symfony/Component/Form/Tests/FormRegistryTest.php index 43232938c6..d6add6fdb0 100644 --- a/src/Symfony/Component/Form/Tests/FormRegistryTest.php +++ b/src/Symfony/Component/Form/Tests/FormRegistryTest.php @@ -188,7 +188,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException */ public function testGetTypeThrowsExceptionIfParentNotFound() { @@ -200,7 +200,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\FormException + * @expectedException \Symfony\Component\Form\Exception\FormException */ public function testGetTypeThrowsExceptionIfTypeNotFound() { @@ -208,7 +208,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testGetTypeThrowsExceptionIfNoString() { diff --git a/src/Symfony/Component/Form/Tests/Util/PropertyPathCollectionTest.php b/src/Symfony/Component/Form/Tests/Util/PropertyPathCollectionTest.php index e183ab72da..21e9d04847 100644 --- a/src/Symfony/Component/Form/Tests/Util/PropertyPathCollectionTest.php +++ b/src/Symfony/Component/Form/Tests/Util/PropertyPathCollectionTest.php @@ -124,7 +124,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testGetValueThrowsExceptionIfArrayAccessExpected() { @@ -154,7 +154,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testSetValueThrowsExceptionIfArrayAccessExpected() { @@ -240,7 +240,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testMapFormToDataFailsIfOnlyAdderFound() { @@ -258,7 +258,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testMapFormToDataFailsIfOnlyRemoverFound() { diff --git a/src/Symfony/Component/Form/Tests/Util/PropertyPathTest.php b/src/Symfony/Component/Form/Tests/Util/PropertyPathTest.php index 7642def026..e9be1445e6 100644 --- a/src/Symfony/Component/Form/Tests/Util/PropertyPathTest.php +++ b/src/Symfony/Component/Form/Tests/Util/PropertyPathTest.php @@ -27,7 +27,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testGetValueThrowsExceptionIfIndexNotationExpected() { @@ -126,7 +126,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException + * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException */ public function testGetValueThrowsExceptionIfPropertyIsNotPublic() { @@ -156,7 +156,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException + * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException */ public function testGetValueThrowsExceptionIfGetterIsNotPublic() { @@ -208,7 +208,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException + * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException */ public function testGetValueThrowsExceptionIfIsserIsNotPublic() { @@ -218,7 +218,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testGetValueThrowsExceptionIfPropertyDoesNotExist() { @@ -228,7 +228,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testGetValueThrowsExceptionIfNotObjectOrArray() { @@ -238,7 +238,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testGetValueThrowsExceptionIfNull() { @@ -248,7 +248,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testGetValueThrowsExceptionIfEmpty() { @@ -268,7 +268,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException */ public function testSetValueThrowsExceptionIfIndexNotationExpected() { @@ -341,7 +341,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException + * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException */ public function testSetValueThrowsExceptionIfGetterIsNotPublic() { @@ -351,7 +351,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testSetValueThrowsExceptionIfNotObjectOrArray() { @@ -362,7 +362,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testSetValueThrowsExceptionIfNull() { @@ -373,7 +373,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testSetValueThrowsExceptionIfEmpty() { @@ -391,7 +391,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException */ public function testInvalidPropertyPath_noDotBeforeProperty() { @@ -399,7 +399,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException */ public function testInvalidPropertyPath_dotAtTheBeginning() { @@ -407,7 +407,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException */ public function testInvalidPropertyPath_unexpectedCharacters() { @@ -415,7 +415,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException + * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException */ public function testInvalidPropertyPath_empty() { @@ -423,7 +423,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testInvalidPropertyPath_null() { @@ -431,7 +431,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException */ public function testInvalidPropertyPath_false() { diff --git a/src/Symfony/Component/HttpFoundation/Tests/File/UploadedFileTest.php b/src/Symfony/Component/HttpFoundation/Tests/File/UploadedFileTest.php index 94a075ac46..7fd2f5e6d0 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/File/UploadedFileTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/File/UploadedFileTest.php @@ -103,7 +103,7 @@ class UploadedFileTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\HttpFoundation\File\Exception\FileException + * @expectedException \Symfony\Component\HttpFoundation\File\Exception\FileException */ public function testMoveLocalFileIsNotAllowed() { diff --git a/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php b/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php index 701e7a71e6..367e3e2d41 100644 --- a/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php @@ -136,7 +136,7 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\HttpKernel\Exception\NotFoundHttpException + * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException */ public function testHandleWhenNoControllerIsFound() { diff --git a/src/Symfony/Component/Locale/Tests/Stub/StubCollatorTest.php b/src/Symfony/Component/Locale/Tests/Stub/StubCollatorTest.php index 33e010cebf..9da972cda8 100644 --- a/src/Symfony/Component/Locale/Tests/Stub/StubCollatorTest.php +++ b/src/Symfony/Component/Locale/Tests/Stub/StubCollatorTest.php @@ -19,7 +19,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase; class StubCollatorTest extends LocaleTestCase { /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testConstructorWithUnsupportedLocale() { @@ -70,7 +70,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testCompare() { @@ -79,7 +79,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetAttribute() { @@ -106,7 +106,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetSortKey() { @@ -115,7 +115,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetStrength() { @@ -124,7 +124,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetAttribute() { @@ -133,7 +133,7 @@ class StubCollatorTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetStrength() { diff --git a/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php b/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php index ffd6dbfe14..bf519f2e22 100644 --- a/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php +++ b/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php @@ -19,7 +19,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase; class StubIntlDateFormatterTest extends LocaleTestCase { /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testConstructorWithUnsupportedLocale() { @@ -446,7 +446,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\NotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException */ public function testFormatWithTimezoneFormatOptionAndDifferentThanUtcStub() { @@ -637,7 +637,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\NotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException */ public function testFormatWithUnimplementedCharsStub() { @@ -647,7 +647,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\NotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException */ public function testFormatWithNonIntegerTimestamp() { @@ -743,7 +743,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testLocaltime() { @@ -1086,7 +1086,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException */ public function testParseWithNotNullPositionValueStub() { @@ -1096,7 +1096,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetCalendar() { @@ -1105,7 +1105,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testSetLenient() { @@ -1180,7 +1180,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\NotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException */ public function testSetTimeZoneIdWithGmtTimeZoneWithMinutesOffsetStub() { diff --git a/src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php b/src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php index ed08aac272..d9e79dc517 100644 --- a/src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php +++ b/src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php @@ -112,7 +112,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testAcceptFromHttp() { @@ -120,7 +120,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testComposeLocale() { @@ -133,7 +133,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testFilterMatches() { @@ -141,7 +141,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetAllVariants() { @@ -154,7 +154,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayLanguage() { @@ -162,7 +162,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayName() { @@ -170,7 +170,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayRegion() { @@ -178,7 +178,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayScript() { @@ -186,7 +186,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayVariant() { @@ -194,7 +194,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetKeywords() { @@ -202,7 +202,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetPrimaryLanguage() { @@ -210,7 +210,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetRegion() { @@ -218,7 +218,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetScript() { @@ -226,7 +226,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testLookup() { @@ -238,7 +238,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testParseLocale() { @@ -246,7 +246,7 @@ class StubLocaleTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetDefault() { diff --git a/src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php b/src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php index 7f033a31a9..84de4e85a0 100644 --- a/src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php +++ b/src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php @@ -23,7 +23,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase; class StubNumberFormatterTest extends LocaleTestCase { /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testConstructorWithUnsupportedLocale() { @@ -31,7 +31,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testConstructorWithUnsupportedStyle() { @@ -39,7 +39,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException */ public function testConstructorWithPatternDifferentThanNull() { @@ -47,7 +47,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testSetAttributeWithUnsupportedAttribute() { @@ -56,7 +56,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testSetAttributeInvalidRoundingMode() { @@ -329,7 +329,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testFormatTypeInt32Stub() { @@ -367,7 +367,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testFormatTypeInt64Stub() { @@ -404,7 +404,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException */ public function testFormatTypeDoubleStub() { @@ -699,7 +699,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetPattern() { @@ -708,7 +708,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetSymbol() { @@ -717,7 +717,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetTextAttribute() { @@ -726,7 +726,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testParseCurrency() { @@ -1120,7 +1120,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException */ public function testParseWithNotNullPositionValueStub() { @@ -1139,7 +1139,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetPattern() { @@ -1148,7 +1148,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetSymbol() { @@ -1157,7 +1157,7 @@ class StubNumberFormatterTest extends LocaleTestCase } /** - * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException + * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testSetTextAttribute() { diff --git a/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php b/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php index 2fae357501..a4c5baef8b 100644 --- a/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php +++ b/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php @@ -173,7 +173,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testResolveFailsIfNonExistingOption() { @@ -195,7 +195,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException */ public function testResolveFailsIfMissingRequiredOption() { @@ -283,7 +283,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testResolveFailsIfOptionValueNotAllowed() { @@ -427,7 +427,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testResolveFailsIfOptionTypeNotAllowed() { @@ -445,7 +445,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testResolveFailsIfOptionTypeNotAllowedMultipleOptions() { @@ -466,7 +466,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException + * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException */ public function testResolveFailsIfOptionTypeNotAllowedAddTypes() { @@ -487,7 +487,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testSetRequiredFailsIfDefaultIsPassed() { @@ -497,7 +497,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testSetOptionalFailsIfDefaultIsPassed() { diff --git a/src/Symfony/Component/OptionsResolver/Tests/OptionsTest.php b/src/Symfony/Component/OptionsResolver/Tests/OptionsTest.php index 916a9ac7af..2fe3fd45c8 100644 --- a/src/Symfony/Component/OptionsResolver/Tests/OptionsTest.php +++ b/src/Symfony/Component/OptionsResolver/Tests/OptionsTest.php @@ -60,7 +60,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testSetNotSupportedAfterGet() { @@ -70,7 +70,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testRemoveNotSupportedAfterGet() { @@ -80,7 +80,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testSetNormalizerNotSupportedAfterGet() { @@ -270,7 +270,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testFailForCyclicDependencies() { @@ -286,7 +286,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testFailForCyclicDependenciesBetweenNormalizers() { @@ -305,7 +305,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testFailForCyclicDependenciesBetweenNormalizerAndLazyOption() { @@ -394,7 +394,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase /** * @covers Symfony\Component\OptionsResolver\Options::replace - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testCannotReplaceAfterOptionWasRead() { @@ -408,7 +408,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase /** * @covers Symfony\Component\OptionsResolver\Options::overload - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testCannotOverloadAfterOptionWasRead() { @@ -420,7 +420,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase /** * @covers Symfony\Component\OptionsResolver\Options::clear - * @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException + * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException */ public function testCannotClearAfterOptionWasRead() { diff --git a/src/Symfony/Component/Process/Tests/AbstractProcessTest.php b/src/Symfony/Component/Process/Tests/AbstractProcessTest.php index 59d812b383..ac78ee0bd5 100644 --- a/src/Symfony/Component/Process/Tests/AbstractProcessTest.php +++ b/src/Symfony/Component/Process/Tests/AbstractProcessTest.php @@ -21,7 +21,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase abstract protected function getProcess($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array()); /** - * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException + * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException */ public function testNegativeTimeoutFromConstructor() { @@ -29,7 +29,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException + * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException */ public function testNegativeTimeoutFromSetter() { diff --git a/src/Symfony/Component/Process/Tests/ProcessBuilderTest.php b/src/Symfony/Component/Process/Tests/ProcessBuilderTest.php index 469208c99f..38e1491090 100644 --- a/src/Symfony/Component/Process/Tests/ProcessBuilderTest.php +++ b/src/Symfony/Component/Process/Tests/ProcessBuilderTest.php @@ -85,7 +85,7 @@ class ProcessBuilderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Process\Exception\InvalidArgumentException + * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException */ public function testNegativeTimeoutFromSetter() { diff --git a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php index 4a321adf55..b44b030ab3 100644 --- a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php @@ -23,7 +23,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetExitCode() { @@ -31,7 +31,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testExitCodeCommandFailed() { @@ -39,7 +39,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessIsSignaledIfStopped() { @@ -47,7 +47,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithTermSignal() { @@ -55,7 +55,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessIsNotSignaled() { @@ -63,7 +63,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithoutTermSignal() { @@ -71,7 +71,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testExitCodeText() { @@ -82,7 +82,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testIsSuccessful() { @@ -90,7 +90,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testIsNotSuccessful() { diff --git a/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php b/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php index 4c04ff146b..a9ee7cbc41 100644 --- a/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php @@ -23,7 +23,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessIsSignaledIfStopped() { @@ -31,7 +31,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithTermSignal() { @@ -39,7 +39,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessIsNotSignaled() { @@ -47,7 +47,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithoutTermSignal() { diff --git a/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php b/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php index 6a86736abb..ab5f4cdae0 100644 --- a/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php +++ b/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php @@ -89,7 +89,7 @@ class PhpGeneratorDumperTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\RouteNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\RouteNotFoundException */ public function testGenerateNonExistingRoute() { diff --git a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php index a3f50b6aca..7b6495f3c9 100644 --- a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php +++ b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php @@ -75,7 +75,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testRelativeUrlWithNullParameterButNotOptional() { @@ -161,7 +161,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\RouteNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\RouteNotFoundException */ public function testGenerateWithoutRoutes() { @@ -170,7 +170,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\MissingMandatoryParametersException + * @expectedException \Symfony\Component\Routing\Exception\MissingMandatoryParametersException */ public function testGenerateForRouteWithoutMandatoryParameter() { @@ -179,7 +179,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testGenerateForRouteWithInvalidOptionalParameter() { @@ -188,7 +188,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testGenerateForRouteWithInvalidParameter() { @@ -228,7 +228,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testGenerateForRouteWithInvalidMandatoryParameter() { @@ -237,7 +237,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testRequiredParamAndEmptyPassed() { @@ -366,7 +366,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testDefaultRequirementOfVariableDisallowsSlash() { @@ -375,7 +375,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testDefaultRequirementOfVariableDisallowsNextSeparator() { @@ -406,7 +406,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testUrlWithInvalidParameterInHostname() { @@ -415,7 +415,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testUrlWithInvalidParameterInHostnameWhenParamHasADefaultValue() { @@ -424,7 +424,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\InvalidParameterException + * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException */ public function testUrlWithInvalidParameterEqualsDefaultValueInHostname() { diff --git a/src/Symfony/Component/Routing/Tests/Matcher/RedirectableUrlMatcherTest.php b/src/Symfony/Component/Routing/Tests/Matcher/RedirectableUrlMatcherTest.php index b8ab2647ff..2ad4fc8725 100644 --- a/src/Symfony/Component/Routing/Tests/Matcher/RedirectableUrlMatcherTest.php +++ b/src/Symfony/Component/Routing/Tests/Matcher/RedirectableUrlMatcherTest.php @@ -28,7 +28,7 @@ class RedirectableUrlMatcherTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException */ public function testRedirectWhenNoSlashForNonSafeMethod() { diff --git a/src/Symfony/Component/Routing/Tests/Matcher/UrlMatcherTest.php b/src/Symfony/Component/Routing/Tests/Matcher/UrlMatcherTest.php index 18e11ebcfb..4cf324151c 100644 --- a/src/Symfony/Component/Routing/Tests/Matcher/UrlMatcherTest.php +++ b/src/Symfony/Component/Routing/Tests/Matcher/UrlMatcherTest.php @@ -295,7 +295,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException */ public function testDefaultRequirementOfVariableDisallowsSlash() { @@ -307,7 +307,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException */ public function testDefaultRequirementOfVariableDisallowsNextSeparator() { @@ -319,7 +319,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException */ public function testSchemeRequirement() { @@ -378,7 +378,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException + * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException */ public function testWithOutHostnameHostnameDoesNotMatch() { diff --git a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php b/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php index e03edc052b..83771eef21 100644 --- a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php @@ -27,7 +27,7 @@ class AclProviderTest extends \PHPUnit_Framework_TestCase protected $insertSidStmt; /** - * @expectedException Symfony\Component\Security\Acl\Exception\AclNotFoundException + * @expectedException \Symfony\Component\Security\Acl\Exception\AclNotFoundException * @expectedMessage There is no ACL for the given object identity. */ public function testFindAclThrowsExceptionWhenNoAclExists() diff --git a/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php b/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php index 837daadef3..3e8d65fc4e 100644 --- a/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php @@ -53,7 +53,7 @@ class MutableAclProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException + * @expectedException \Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException */ public function testCreateAclThrowsExceptionWhenAclAlreadyExists() { diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php b/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php index f34bc3e979..d200d2b0eb 100644 --- a/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php +++ b/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php @@ -73,7 +73,7 @@ class PermissionGrantingStrategyTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Acl\Exception\NoAceFoundException + * @expectedException \Symfony\Component\Security\Acl\Exception\NoAceFoundException */ public function testIsGrantedReturnsExceptionIfNoAceIsFound() { diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php index 0a76724f90..d0da14724e 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php @@ -31,7 +31,7 @@ class AnonymousAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testAuthenticateWhenKeyIsNotValid() { diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php index 4da0337193..8b270615dc 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php @@ -18,7 +18,7 @@ use Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationPro class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException + * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException */ public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface() { @@ -30,7 +30,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException */ public function testRetrieveUserWhenUsernameIsNotFound() { @@ -48,7 +48,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException + * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException */ public function testRetrieveUserWhenAnExceptionOccurs() { @@ -105,7 +105,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testCheckAuthenticationWhenCredentialsAreEmpty() { @@ -161,7 +161,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testCheckAuthenticationWhenCredentialsAreNotValid() { @@ -185,7 +185,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged() { diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php index 9476c0dc28..f7ffb1e509 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php @@ -42,7 +42,7 @@ class PreAuthenticatedAuthenticationProviderTest extends \PHPUnit_Framework_Test } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testAuthenticateWhenNoUserIsSet() { @@ -70,7 +70,7 @@ class PreAuthenticatedAuthenticationProviderTest extends \PHPUnit_Framework_Test } /** - * @expectedException Symfony\Component\Security\Core\Exception\LockedException + * @expectedException \Symfony\Component\Security\Core\Exception\LockedException */ public function testAuthenticateWhenUserCheckerThrowsException() { diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php index fcc25141be..5e250e0d07 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php @@ -34,7 +34,7 @@ class RememberMeAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testAuthenticateWhenKeysDoNotMatch() { @@ -45,7 +45,7 @@ class RememberMeAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException + * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException */ public function testAuthenticateWhenPostChecksFails() { diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php index 1b685310ab..1516a5f279 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php @@ -33,7 +33,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException */ public function testAuthenticateWhenUsernameIsNotFound() { @@ -47,7 +47,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue() { @@ -61,7 +61,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException + * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException */ public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface() { @@ -75,7 +75,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\CredentialsExpiredException + * @expectedException \Symfony\Component\Security\Core\Exception\CredentialsExpiredException */ public function testAuthenticateWhenPreChecksFails() { @@ -95,7 +95,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException + * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException */ public function testAuthenticateWhenPostChecksFails() { @@ -115,7 +115,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedExceptionMessage Bad credentials */ public function testAuthenticateWhenPostCheckAuthenticationFails() @@ -134,7 +134,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedExceptionMessage Foo */ public function testAuthenticateWhenPostCheckAuthenticationFailsWithHideFalse() diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php b/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php index 3944fb1e2d..1739714f2b 100644 --- a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php @@ -27,7 +27,7 @@ class InMemoryTokenProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\TokenNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\TokenNotFoundException */ public function testLoadTokenBySeriesThrowsNotFoundException() { @@ -49,7 +49,7 @@ class InMemoryTokenProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\TokenNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\TokenNotFoundException */ public function testDeleteToken() { diff --git a/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php b/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php index 66a4b1312c..124ebf9f44 100644 --- a/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php +++ b/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php @@ -41,7 +41,7 @@ class SecurityContextTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException */ public function testVoteWithoutAuthenticationToken() { diff --git a/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php b/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php index 315e0d44b1..f28067f1dd 100644 --- a/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php +++ b/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php @@ -33,7 +33,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\CredentialsExpiredException + * @expectedException \Symfony\Component\Security\Core\Exception\CredentialsExpiredException */ public function testCheckPreAuthCredentialsExpired() { @@ -65,7 +65,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\LockedException + * @expectedException \Symfony\Component\Security\Core\Exception\LockedException */ public function testCheckPostAuthAccountLocked() { @@ -78,7 +78,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\DisabledException + * @expectedException \Symfony\Component\Security\Core\Exception\DisabledException */ public function testCheckPostAuthDisabled() { @@ -92,7 +92,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException + * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException */ public function testCheckPostAuthAccountExpired() { diff --git a/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php b/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php index 5edbbed6df..0fddcd668b 100644 --- a/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php @@ -42,7 +42,7 @@ class ChainUserProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException */ public function testLoadUserByUsernameThrowsUsernameNotFoundException() { @@ -107,7 +107,7 @@ class ChainUserProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\UnsupportedUserException + * @expectedException \Symfony\Component\Security\Core\Exception\UnsupportedUserException */ public function testRefreshUserThrowsUnsupportedUserException() { diff --git a/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php b/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php index 9230be478f..5197a29702 100644 --- a/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php +++ b/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php @@ -52,7 +52,7 @@ class InMemoryUserProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException */ public function testLoadUserByUsernameDoesNotExist() { diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php b/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php index e3ffbfc26f..53ab3507a5 100644 --- a/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php +++ b/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php @@ -31,7 +31,7 @@ class AccessListenerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AccessDeniedException + * @expectedException \Symfony\Component\Security\Core\Exception\AccessDeniedException */ public function testHandleWhenTheAccessDecisionManagerDecidesToRefuseAccess() { @@ -198,7 +198,7 @@ class AccessListenerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException + * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException */ public function testHandleWhenTheSecurityContextHasNoToken() { diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php b/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php index aa0f5a7046..ba94b6e95f 100644 --- a/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php +++ b/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php @@ -166,7 +166,7 @@ class LogoutListenerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\LogoutException + * @expectedException \Symfony\Component\Security\Core\Exception\LogoutException */ public function testCsrfValidationFails() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php index 88570a6024..59569a3d70 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php @@ -46,7 +46,7 @@ class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -56,7 +56,7 @@ class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadNonLocalResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php index e4f0a36daa..73b6259b04 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php @@ -28,7 +28,7 @@ class IcuDatFileLoaderTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadInvalidResource() { @@ -62,7 +62,7 @@ class IcuDatFileLoaderTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php index 89020e72ae..233e189783 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php @@ -40,7 +40,7 @@ class IcuResFileLoaderTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -49,7 +49,7 @@ class IcuResFileLoaderTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadInvalidResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php index d95263f775..ae1289d086 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php @@ -46,7 +46,7 @@ class IniFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php index b309ba5c17..c2616bda6a 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php @@ -46,7 +46,7 @@ class MoFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -56,7 +56,7 @@ class MoFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadInvalidResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php index 3272c08569..5dfe837dea 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php @@ -35,7 +35,7 @@ class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -45,7 +45,7 @@ class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadThrowsAnExceptionIfFileNotLocal() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php index e31a3f8683..cd3d85a1a1 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php @@ -57,7 +57,7 @@ class PoFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/QtFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/QtFileLoaderTest.php index 1dea7c91a7..56f5d6ddd4 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/QtFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/QtFileLoaderTest.php @@ -35,7 +35,7 @@ class QtFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php index 5f65231f8e..bb81132894 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php @@ -43,7 +43,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadInvalidResource() { @@ -52,7 +52,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadResourceDoesNotValidate() { @@ -61,7 +61,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -71,7 +71,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadThrowsAnExceptionIfFileNotLocal() { diff --git a/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php index 35fba47dae..511b127974 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php @@ -50,7 +50,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testLoadNonExistingResource() { @@ -60,7 +60,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadThrowsAnExceptionIfFileNotLocal() { @@ -70,7 +70,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException */ public function testLoadThrowsAnExceptionIfNotAnArray() { diff --git a/src/Symfony/Component/Translation/Tests/TranslatorTest.php b/src/Symfony/Component/Translation/Tests/TranslatorTest.php index 9d55cac88b..ac8a35e72f 100644 --- a/src/Symfony/Component/Translation/Tests/TranslatorTest.php +++ b/src/Symfony/Component/Translation/Tests/TranslatorTest.php @@ -69,7 +69,7 @@ class TranslatorTest extends \PHPUnit_Framework_TestCase /** * @dataProvider getTransFileTests - * @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException */ public function testTransWithoutFallbackLocaleFile($format, $loader) { diff --git a/src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php b/src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php index 85564457f4..47f4c11c99 100644 --- a/src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php @@ -59,7 +59,7 @@ class ConstraintValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ValidatorException + * @expectedException \Symfony\Component\Validator\Exception\ValidatorException */ public function testSetMessageFailsIfNoContextSet() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/AllTest.php b/src/Symfony/Component/Validator/Tests/Constraints/AllTest.php index e2db52f60d..36b5198b0b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/AllTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/AllTest.php @@ -20,7 +20,7 @@ use Symfony\Component\Validator\Constraints\Valid; class AllTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectNonConstraints() { @@ -30,7 +30,7 @@ class AllTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectValidConstraint() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php index 2b84f8c568..86d8573ddd 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php @@ -68,7 +68,7 @@ class AllValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testThrowsExceptionIfNotTraversable() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CallbackValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CallbackValidatorTest.php index bd56e15ff0..4d248c13c8 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CallbackValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CallbackValidatorTest.php @@ -118,7 +118,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectCallbackArray() { @@ -128,7 +128,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testExpectValidMethods() { @@ -138,7 +138,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testExpectValidCallbacks() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php index 34221ffda2..1f77aeee40 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php @@ -48,7 +48,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectArrayIfMultipleIsTrue() { @@ -69,7 +69,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testChoicesOrCallbackExpected() { @@ -77,7 +77,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testValidCallbackExpected() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php index e2998689ac..a0e121bba9 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php @@ -22,7 +22,7 @@ use Symfony\Component\Validator\Constraints\Valid; class CollectionTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectInvalidFieldsOption() { @@ -32,7 +32,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectNonConstraints() { @@ -42,7 +42,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectValidConstraint() { @@ -52,7 +52,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectValidConstraintWithinOptional() { @@ -62,7 +62,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectValidConstraintWithinRequired() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php index 5682160ab7..d01f830915 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php @@ -92,7 +92,7 @@ abstract class CollectionValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testThrowsExceptionIfNotTraversable() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php index c7d29c6d55..9c4a38d56c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php @@ -46,7 +46,7 @@ abstract class CountValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsCountableType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php index 744f1247fd..ec617447ad 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php @@ -51,7 +51,7 @@ class CountryValidatorTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/DateTimeValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/DateTimeValidatorTest.php index 3263d6820a..0776848fdb 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/DateTimeValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/DateTimeValidatorTest.php @@ -57,7 +57,7 @@ class DateTimeValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php index 007232c457..b9cf8816b7 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php @@ -57,7 +57,7 @@ class DateValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php index f95c0899a9..701ab1f556 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php @@ -49,7 +49,7 @@ class EmailValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php index 67a38f10cd..7862d130e2 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php @@ -62,7 +62,7 @@ abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleTypeOrFile() { @@ -150,7 +150,7 @@ abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testInvalidMaxSize() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php index 74293184c1..bdf6192880 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php @@ -49,7 +49,7 @@ class IpValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { @@ -57,7 +57,7 @@ class IpValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testInvalidValidatorVersion() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php index 4f06afab91..49151d6302 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php @@ -51,7 +51,7 @@ class LanguageValidatorTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php index 5a343b411f..db6339449d 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php @@ -49,7 +49,7 @@ class LengthValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php index 01e4b76609..167c49da16 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php @@ -51,7 +51,7 @@ class LocaleValidatorTest extends LocalizedTestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/MaxLengthValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/MaxLengthValidatorTest.php index 4db9103da8..f62033190b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/MaxLengthValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/MaxLengthValidatorTest.php @@ -49,7 +49,7 @@ class MaxLengthValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/MinLengthValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/MinLengthValidatorTest.php index 08d0a81a48..3973291db3 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/MinLengthValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/MinLengthValidatorTest.php @@ -49,7 +49,7 @@ class MinLengthValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/RegexValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/RegexValidatorTest.php index 43c886ae46..1ea79fb8e2 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/RegexValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/RegexValidatorTest.php @@ -49,7 +49,7 @@ class RegexValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php index 285ab254be..ba398ab373 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php @@ -57,7 +57,7 @@ class TimeValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php index bace8069b8..b335ae30a8 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php @@ -49,7 +49,7 @@ class UrlValidatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException + * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException */ public function testExpectsStringCompatibleType() { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/ValidTest.php b/src/Symfony/Component/Validator/Tests/Constraints/ValidTest.php index 0957700e0e..3de6ab3217 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/ValidTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/ValidTest.php @@ -19,7 +19,7 @@ use Symfony\Component\Validator\Constraints\Valid; class ValidTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectGroupsOption() { diff --git a/src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php b/src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php index a7a0c1e403..9ead7d134e 100644 --- a/src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php +++ b/src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php @@ -188,7 +188,7 @@ class ClassMetadataTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\GroupDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException */ public function testGroupSequenceFailsIfGroupSequenceProviderIsSet() { @@ -198,7 +198,7 @@ class ClassMetadataTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\GroupDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException */ public function testGroupSequenceProviderFailsIfGroupSequenceIsSet() { @@ -208,7 +208,7 @@ class ClassMetadataTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\GroupDefinitionException + * @expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException */ public function testGroupSequenceProviderFailsIfDomainClassIsInvalid() { diff --git a/src/Symfony/Component/Validator/Tests/ValidatorFactoryTest.php b/src/Symfony/Component/Validator/Tests/ValidatorFactoryTest.php index 8ca3758826..029678a8d4 100644 --- a/src/Symfony/Component/Validator/Tests/ValidatorFactoryTest.php +++ b/src/Symfony/Component/Validator/Tests/ValidatorFactoryTest.php @@ -160,7 +160,7 @@ class ValidatorFactoryTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\MappingException + * @expectedException \Symfony\Component\Validator\Exception\MappingException */ public function testBuildDefaultThrowsExceptionIfNoLoaderIsFound() { @@ -168,7 +168,7 @@ class ValidatorFactoryTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Validator\Exception\MappingException + * @expectedException \Symfony\Component\Validator\Exception\MappingException */ public function testBuildDefaultThrowsExceptionIfUnknownExtension() { diff --git a/src/Symfony/Component/Yaml/Tests/ParserTest.php b/src/Symfony/Component/Yaml/Tests/ParserTest.php index e27482a694..88848bea3a 100644 --- a/src/Symfony/Component/Yaml/Tests/ParserTest.php +++ b/src/Symfony/Component/Yaml/Tests/ParserTest.php @@ -143,7 +143,7 @@ EOF /** * - * @expectedException Symfony\Component\Yaml\Exception\ParseException + * @expectedException \Symfony\Component\Yaml\Exception\ParseException * */ public function testUnindentedCollectionException() @@ -161,7 +161,7 @@ EOF; } /** - * @expectedException Symfony\Component\Yaml\Exception\ParseException + * @expectedException \Symfony\Component\Yaml\Exception\ParseException */ public function testSequenceInAMapping() { @@ -174,7 +174,7 @@ EOF } /** - * @expectedException Symfony\Component\Yaml\Exception\ParseException + * @expectedException \Symfony\Component\Yaml\Exception\ParseException */ public function testMappingInASequence() {