trait Tlf\Lexer\Test\Directives\Namespaces

Constants

Properties

  • `protected $_namespace_tests = [ 'Namespace.Docblock'=>[ 'start''php_code'], 'input'"/** docs */ namespace AbcDef_09;", 'expect'=>[ 'namespace'=>[ 'type''namespace', 'docblock'=>[ 'type''docblock', 'description''docs', ], 'declaration''namespace AbcDef_09;', 'name''AbcDef_09', ], ], ],

      'Namespace.MultiLayer.IntermediateDocblocks'=>[
          'is_bad_test''The declaration SHOULD have a space after `namespace`, but it doesn\'t. I don\'t plan to fix this. The test is passing because this bug is acceptable. ',
          ''=>[''],
          ''=>"namespace/*k*/Abc\Def\_09;",
          ''=>[
              ''=>[
                  ''=>'',
                  ''=>'namespaceAbc\Def\_09;` 
    

Methods