I'm unsure how to report this bug as I can't provide a code example.
As I was working on a relatively large codebase, the IDE started reporting "Interface Foo undefined" and "Class Bar undefined" for all typehints in all files, on an otherwise working code.
Things I've attempted to rectify the issue:
1. Build > Clean (didn't help).
2. Restart, then Build > Clean (didn't help).
3. Restart, then Build > Clean, then edit every file (like add a space and remove it) then save (removed the errors).
The project is still full of errors as I need to edit every file to get rid of them. Thoughts?
Bug report (Zend Studio 13): Project-wide Foo undefined.
Re: Bug report (Zend Studio 13): Project-wide Foo undefined.
Update: removing the project from the Workspace (without deleting files) then re-importing it worked for a bit. Then after I worked with the project for a while, again everything turned into errors.
Re: Bug report (Zend Studio 13): Project-wide Foo undefined.
Try starting ZS with -clean switch on the command line. After ZS has startet clean all projects do a full build and restart ZS.
This solved the problem for me quite often.
Thorsten
This solved the problem for me quite often.
Thorsten
Re: Bug report (Zend Studio 13): Project-wide Foo undefined.
Thank you! I tried -clean and I think it's helping. I'll report in this thread if this problem happens a lot and more details.