- Remove the old {? / ?} token as a PHP opening
- Added url versions if needed
This commit is contained in:
1 parent
45c8173029
commit
08201b1958
3 files changed
+11
-41
No files matched your search
@@ -28,7 +28,6 @@ class DefaultRegistrations implements LanguageRegistration
|
||||
|
||||
public function registerSyntax(Compiler $compiler) : void
|
||||
{
|
||||
$compiler->registerSyntax(new \Picea\Syntax\PhpTagToken());
|
||||
$compiler->registerSyntax(new \Picea\Syntax\CommentToken());
|
||||
$compiler->registerSyntax(new \Picea\Syntax\EchoRawToken());
|
||||
$compiler->registerSyntax(new \Picea\Syntax\EchoSafeToken());
|
||||
@@ -49,7 +48,6 @@ class DefaultRegistrations implements LanguageRegistration
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\SwitchToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\DefaultToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\BreakToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\ContinueToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\ExtendsToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\SectionToken());
|
||||
$compiler->registerControlStructure(new \Picea\ControlStructure\BlockToken());
|
||||
|
||||
Reference in new issue
Block a user