view vendor/nikic/php-parser/test/code/parser/stmt/namespace/commentAfterNamespace.test @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line source
Trailing comment after braced namespace declaration
-----
<?php
namespace Foo {}
// Comment
-----
array(
    0: Stmt_Namespace(
        name: Name(
            parts: array(
                0: Foo
            )
        )
        stmts: array(
        )
    )
    1: Stmt_Nop(
        comments: array(
            0: // Comment
        )
    )
)