Skip to content

Commit

Permalink
Corrected parse errors in tests (ref #3427)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Sep 27, 2021
1 parent 8ea08a5 commit 824a41c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Expand Up @@ -374,6 +374,7 @@ private string $private,
}

class ConstructorPropertyPromotionMultiLineAttributesOK
{
public function __construct(
#[ORM\ManyToOne(
Something: true,
Expand All @@ -396,6 +397,7 @@ class ConstructorPropertyPromotionMultiLineAttributesOK
}

class ConstructorPropertyPromotionMultiLineAttributesIncorrectIndent
{
public function __construct(
#[ORM\ManyToOne(
Something: true,
Expand Down
Expand Up @@ -372,6 +372,7 @@ class ConstructorPropertyPromotionMultiLineDocblockAndAttributeIncorrectIndent
}

class ConstructorPropertyPromotionMultiLineAttributesOK
{
public function __construct(
#[ORM\ManyToOne(
Something: true,
Expand All @@ -394,6 +395,7 @@ class ConstructorPropertyPromotionMultiLineAttributesOK
}

class ConstructorPropertyPromotionMultiLineAttributesIncorrectIndent
{
public function __construct(
#[ORM\ManyToOne(
Something: true,
Expand Down
Expand Up @@ -97,8 +97,8 @@ public function getErrorList($testFile='FunctionDeclarationUnitTest.inc')
369 => 1,
370 => 1,
371 => 1,
400 => 1,
404 => 1,
402 => 1,
406 => 1,
];
} else {
$errors = [
Expand Down

0 comments on commit 824a41c

Please sign in to comment.