php -l /index.php && php -l /style.css / gpt-5.1-codex-max checks stylesheets for PHP syntax
Resolved 💬 1 comment Opened Nov 21, 2025 by wbdb Closed Nov 21, 2025
What version of Codex is running?
0.61.0
What subscription do you have?
Business
Which model were you using?
gpt-5.1-codex-max
What platform is your computer?
Windows 11 Pro 25H2 with WSL2 / Ubuntu 24.02
What issue are you seeing?
Codex repeatedly attempts to check style.css, etc. via php -l. However, this is not very useful if there is no PHP code in the files.
What steps can reproduce the bug?
Let Codex CLI work on files with PHP & a style.css.
What is the expected behavior?
Only check PHP files.
Additional information
This can be temporarily resolved with an AGENTS.md note. But it would save unnecessary time and tokens if this could be fixed.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗