Skip to content

Commit

Permalink
CS (spacing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 30, 2016
1 parent 0393c9c commit 38bff01
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/Doctrine/Tests/Common/Annotations/DocParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -653,15 +653,15 @@ public function testAnnotationWithRequiredAttributes()

$docblock = '@Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributes("Some Value")';
try {
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
$this->fail();
} catch (AnnotationException $exc) {
self::assertContains('Attribute "annot" of @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributes declared on property SomeClassName::invalidProperty. expects a(n) Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation. This value should not be null.', $exc->getMessage());
}

$docblock = '@Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributes(annot = @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation)';
try {
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
$this->fail();
} catch (AnnotationException $exc) {
self::assertContains('Attribute "value" of @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributes declared on property SomeClassName::invalidProperty. expects a(n) string. This value should not be null.', $exc->getMessage());
Expand All @@ -687,15 +687,15 @@ public function testAnnotationWithRequiredAttributesWithoutConstructor()

$docblock = '@Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributesWithoutConstructor("Some Value")';
try {
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
$this->fail();
} catch (AnnotationException $exc) {
self::assertContains('Attribute "annot" of @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributesWithoutConstructor declared on property SomeClassName::invalidProperty. expects a(n) \Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation. This value should not be null.', $exc->getMessage());
}

$docblock = '@Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributesWithoutConstructor(annot = @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation)';
try {
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
$this->fail();
} catch (AnnotationException $exc) {
self::assertContains('Attribute "value" of @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithRequiredAttributesWithoutConstructor declared on property SomeClassName::invalidProperty. expects a(n) string. This value should not be null.', $exc->getMessage());
Expand Down Expand Up @@ -921,7 +921,7 @@ public function testAnnotationTargetSyntaxError()
DOCBLOCK;

$parser->setTarget(Target::TARGET_CLASS);
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
}

/**
Expand All @@ -939,7 +939,7 @@ public function testAnnotationWithInvalidTargetDeclarationError()
DOCBLOCK;

$parser->setTarget(Target::TARGET_CLASS);
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
}

/**
Expand All @@ -957,7 +957,7 @@ public function testAnnotationWithTargetEmptyError()
DOCBLOCK;

$parser->setTarget(Target::TARGET_CLASS);
$parser->parse($docblock,$context);
$parser->parse($docblock, $context);
}

/**
Expand Down

0 comments on commit 38bff01

Please sign in to comment.