I want to use scheck for my project.
So I firstly generated graph file with command below:
./codegraph -lang php -build ~/Documents/work/repo/server_code -o ~/Documents/work/repo
The graph_code.marshall generated in ~/Documents/work/repo/graph_code.marshall
Then I tried scheck on my project code:
/scheck -with_graph_code ~/Documents/work/repo/graph_code.marshall -php_stdlib ./data/php_stdlib ~/Documents/work/repo/server_code
It failed with Fatal error: exception Sys_error("DataStruct.class.php: No such file or directory")
But DataStruct.class.php is actually in root of project dir ~/Documents/work/repo/server_code
It's because codegraph finished with lots of errors, the incorrect generated graph_code.marshall should be denied by scheck.
I do not know whether it would work if all errors in pfff.log fixed.
I want to use scheck for my project. So I firstly generated graph file with command below:
./codegraph -lang php -build ~/Documents/work/repo/server_code -o ~/Documents/work/repo
Thegraph_code.marshall
generated in~/Documents/work/repo/graph_code.marshall
Then I tried
scheck
on my project code:/scheck -with_graph_code ~/Documents/work/repo/graph_code.marshall -php_stdlib ./data/php_stdlib ~/Documents/work/repo/server_code
It failed with
Fatal error: exception Sys_error("DataStruct.class.php: No such file or directory")
ButDataStruct.class.php
is actually in root of project dir~/Documents/work/repo/server_code