Skip to content
New issue

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

doesn't exclude ./vendor #33

Open
Volker89 opened this issue Feb 13, 2019 · 0 comments
Open

doesn't exclude ./vendor #33

Volker89 opened this issue Feb 13, 2019 · 0 comments

Comments

@Volker89
Copy link

I'm running Assumptions with the following command on windows 10:

tool-assumptions --exclude=./vendor ./

And i get this error:

PHP Fatal error: Uncaught PhpParser\Error: Syntax error, unexpected '{', expecting T_STRING on line 2 in C:\Users\vheidemann\projects\ci-tool-installer\assumptions\vendor\nikic\php-parser\lib\PhpParser\ParserAbstract.php:293

Stack trace:

#0 C:\Users\vheidemann\projects\ci-tool-installer\assumptions\vendor\nikic\php-parser\lib\PhpParser\Parser\Multiple.php(50): PhpParser\ParserAbstract->parse('<?php\nclass {CL...', Object(PhpParser\ErrorHandler\Throwing))
#1 C:\Users\vheidemann\projects\ci-tool-installer\assumptions\vendor\nikic\php-parser\lib\PhpParser\Parser\Multiple.php(31): PhpParser\Parser\Multiple->tryParse(Object(PhpParser\Parser\Php7), Object(PhpParser\ErrorHandler\Throwing), '<?php\nclass {CL...')
#2 C:\Users\vheidemann\projects\ci-tool-installer\assumptions\src\PhpAssumptions\Analyser.php(71): PhpParser\Parser\Multiple->parse('<?php\nclass {CL...')
#3 C:\Users\vheidemann\projects\ci-tool-installer\assumptions\src\PhpAssumptions\Cli.php(120): PhpAssumptions\Analyser->analyse(Array)
#4 C:\Users\vheidemann\projects\ci-t in C:\Users\vheidemann\projects\ci-tool-installer\assumptions\vendor\nikic\php-parser\lib\PhpParser\ParserAbstract.php on line 293

Any ideas what to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant