Suggestions for uh-ohs in PHP - detects mispelled symbols (functions, methods, variable names) inspired by "Did you mean?" Experience in Ruby by Yuki Nishijima.
DANGER DANGER: This is a proof of concept, which should only be used in development. If this is not in your Composer require-dev
, you're asking for trouble. It also does some ~magic~ under the covers, which you may want to read about at the end of this README.
Basically, to ensure didya
can be used in a large number of different scenarios,
it uses reflection to mess with the Exception
it captures, and change its message.
Didya is primarily developed by Filipe Dobreira, and distributed under the MIT license.
See the LICENSE.md file for additional information.