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 a966909 commit 4576947Copy full SHA for 4576947
tests/PHPCR/Tests/Util/CND/Scanner/GenericScannerTest.php
@@ -13,14 +13,14 @@ class GenericScannerTest extends \PHPUnit_Framework_TestCase
13
{
14
protected $expectedTokens = array(
15
16
- // <?php php
+ // <opening php tag>
17
array(Token::TK_SYMBOL, '<'),
18
array(Token::TK_SYMBOL, '?'),
19
array(Token::TK_IDENTIFIER, 'php'),
20
array(Token::TK_NEWLINE, ''),
21
22
23
- // namespace Test\Foobar
+ // namespace Test\Foobar;
24
array(Token::TK_IDENTIFIER, 'namespace'),
25
array(Token::TK_WHITESPACE, ''),
26
array(Token::TK_IDENTIFIER, 'Test'),
@@ -75,6 +75,9 @@ class GenericScannerTest extends \PHPUnit_Framework_TestCase
75
array(Token::TK_SYMBOL, ';'),
76
77
78
+ // empty line before return
79
+ array(Token::TK_NEWLINE, ''),
80
+
81
// return "Test string";
82
83
array(Token::TK_IDENTIFIER, 'return'),
0 commit comments