Skip to content

Commit 824a41c

Browse files
committed
Corrected parse errors in tests (ref #3427)
1 parent 8ea08a5 commit 824a41c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ private string $private,
374374
}
375375

376376
class ConstructorPropertyPromotionMultiLineAttributesOK
377+
{
377378
public function __construct(
378379
#[ORM\ManyToOne(
379380
Something: true,
@@ -396,6 +397,7 @@ class ConstructorPropertyPromotionMultiLineAttributesOK
396397
}
397398

398399
class ConstructorPropertyPromotionMultiLineAttributesIncorrectIndent
400+
{
399401
public function __construct(
400402
#[ORM\ManyToOne(
401403
Something: true,

src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.inc.fixed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ class ConstructorPropertyPromotionMultiLineDocblockAndAttributeIncorrectIndent
372372
}
373373

374374
class ConstructorPropertyPromotionMultiLineAttributesOK
375+
{
375376
public function __construct(
376377
#[ORM\ManyToOne(
377378
Something: true,
@@ -394,6 +395,7 @@ class ConstructorPropertyPromotionMultiLineAttributesOK
394395
}
395396

396397
class ConstructorPropertyPromotionMultiLineAttributesIncorrectIndent
398+
{
397399
public function __construct(
398400
#[ORM\ManyToOne(
399401
Something: true,

src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public function getErrorList($testFile='FunctionDeclarationUnitTest.inc')
9797
369 => 1,
9898
370 => 1,
9999
371 => 1,
100-
400 => 1,
101-
404 => 1,
100+
402 => 1,
101+
406 => 1,
102102
];
103103
} else {
104104
$errors = [

0 commit comments

Comments
 (0)