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?
I'm running Assumptions with the following command on windows 10:
And i get this error:
Stack trace:
Any ideas what to do?