We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following valid code:
<?php class UnexpectedTokenTrait { public function foo() { throw new \LogicException('Not implemented ' . __TRAIT__); } }
results in a error:
Unexpected token: __TRAIT__, line: 4, col: 56, file: /home/manu/Development/PDepend/trait.php.
This issue war originally filed here: phpmd/phpmd#394
The text was updated successfully, but these errors were encountered:
Closes #285: Parse the magic constant __TRAIT__
b76e2b0
Merge pull request #287 from pdepend/GH285-unexpected-token-t_trait_c
d644a7b
manuelpichler
Successfully merging a pull request may close this issue.
The following valid code:
results in a error:
This issue war originally filed here: phpmd/phpmd#394
The text was updated successfully, but these errors were encountered: