Skip to content

Commit

Permalink
use unique class names in test to make easier to differ from other cl…
Browse files Browse the repository at this point in the history
…asses
  • Loading branch information
TomasVotruba committed May 12, 2022
1 parent 5cbcd07 commit 71a4045
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/code/parser/stmt/class/modifier.test
Expand Up @@ -66,7 +66,7 @@ array(
)
)
-----
<?php class A { readonly readonly $a; }
<?php class C { readonly readonly $a; }
-----
!!php7
Multiple readonly modifiers are not allowed from 1:26 to 1:33
Expand All @@ -76,7 +76,7 @@ array(
)
flags: 0
name: Identifier(
name: A
name: C
)
extends: null
implements: array(
Expand Down Expand Up @@ -280,7 +280,7 @@ array(
)
)
-----
<?php class A { abstract $a; }
<?php class B { abstract $b; }
-----
Properties cannot be declared abstract from 1:17 to 1:24
array(
Expand All @@ -289,7 +289,7 @@ array(
)
flags: 0
name: Identifier(
name: A
name: B
)
extends: null
implements: array(
Expand All @@ -303,7 +303,7 @@ array(
props: array(
0: Stmt_PropertyProperty(
name: VarLikeIdentifier(
name: a
name: b
)
default: null
)
Expand Down

0 comments on commit 71a4045

Please sign in to comment.