automated-typo3-update/tests/Fixtures/CodeSniffer/Tokenizers/TypoScript/expected.php
Daniel Siepmann a16ae7b8d4
TASK: Update to latest TypoScript tokenizer
* As official project does no longer modify the file to tokenize.
* Add tests to test integration.
2017-04-09 20:14:16 +02:00

148 lines
2.3 KiB
PHP

<?php
return [
0 => array (
'code' => 'COMMENT',
'type' => 'COMMENT',
'line' => 1,
'content' => '# Comment',
),
1 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 1,
'content' => '
',
),
2 => array (
'code' => 'OBJ_IDENT',
'type' => 'OBJ_IDENT',
'line' => 2,
'content' => 'plugin',
),
3 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 2,
'content' => ' ',
),
4 => array (
'code' => 'BR_OPEN',
'type' => 'BR_OPEN',
'line' => 2,
'content' => '{',
),
5 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 2,
'content' => '
',
),
6 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 3,
'content' => ' ',
),
7 => array (
'code' => 'OBJ_IDENT',
'type' => 'OBJ_IDENT',
'line' => 3,
'content' => 'tx_example',
),
8 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 3,
'content' => ' ',
),
9 => array (
'code' => 'BR_OPEN',
'type' => 'BR_OPEN',
'line' => 3,
'content' => '{',
),
10 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 3,
'content' => '
',
),
11 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 4,
'content' => ' ',
),
12 => array (
'code' => 'OBJ_IDENT',
'type' => 'OBJ_IDENT',
'line' => 4,
'content' => 'settings',
),
13 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 4,
'content' => ' ',
),
14 => array (
'code' => 'OP_ASSIGN',
'type' => 'OP_ASSIGN',
'line' => 4,
'content' => '=',
),
15 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 4,
'content' => ' ',
),
16 => array (
'code' => 'RVALUE',
'type' => 'RVALUE',
'line' => 4,
'content' => 'TEST',
),
17 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 4,
'content' => '
',
),
18 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 5,
'content' => ' ',
),
19 => array (
'code' => 'BR_CLOSE',
'type' => 'BR_CLOSE',
'line' => 5,
'content' => '}',
),
20 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 5,
'content' => '
',
),
21 => array (
'code' => 'BR_CLOSE',
'type' => 'BR_CLOSE',
'line' => 6,
'content' => '}',
),
22 => array (
'code' => 'WS',
'type' => 'WS',
'line' => 6,
'content' => '
',
),
];