I looked up how to solve the issue when PHP syntax errors are not displayed in Eclipse, so here’s a memo.
■ Cause The project was not set as a PHP project.
■ Solution “Project” → Right Click → “Configure” → “Add PHP Support”
That’s all.
That’s all from the Gemba.