Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

scheck complains about "No such file or directory" for php files being tested #131

Closed
truebit opened this issue Aug 21, 2015 · 1 comment

Comments

@truebit
Copy link

truebit commented Aug 21, 2015

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

@truebit
Copy link
Author

truebit commented Aug 26, 2015

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.

@truebit truebit closed this as completed Aug 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant