scovetta / yasca

Yet Another Source Code Analyzer
184 stars 61 forks source link

fatal error when running yasca.sh #11

Open lilmike opened 7 years ago

lilmike commented 7 years ago

When I run yasca.sh --help from the main checkout of yasca.git, I get:

Fatal error: Uncaught Error: Class 'Yasca\Scanner' not found in /home/lilmike/yasca/Yasca/Main.php:37 Stack trace:

0 /home/lilmike/yasca/Yasca/Main.php(358): {closure}()

1 /home/lilmike/yasca/Yasca/Start.php(14): include('/home/lilmike/y...')

2 {main}

thrown in /home/lilmike/yasca/Yasca/Main.php on line 37

Any idea? -Michael.

zeeshankhurshid commented 5 years ago

On line 37 of Main.php, there is a bug '+' is written in place of 'dot(.)' for concatanation. Remove this, it will start working.

ib-tardis commented 3 years ago

Hi @lilmike,

Is @zeeshankhurshid's solution working for ou? for me it is still issue.

Thanks in advance! Imran