We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54602c commit cc5f96aCopy full SHA for cc5f96a
tests/NodeVisitor/ClassConstantTest.php
@@ -40,7 +40,7 @@ public function setUp(): void
40
*/
41
public function it_generates_constant_for_class_for_empty_file(): void
42
{
43
- $ast = $this->parser->parse('<?php');
+ $ast = $this->parser->parse('');
44
45
$nodeTraverser = new NodeTraverser();
46
$nodeTraverser->addVisitor(new StrictType());
@@ -87,7 +87,7 @@ class TestClass
87
88
public function it_generates_constant_for_class_with_namespace_for_empty_file(): void
89
90
91
92
93
0 commit comments