elliotchance / elliotchance/concise
Spell checker service
Open
Component: Core
Size: 2 (Medium)
Type: Feature
- Dominant language
- PHP
- Stars
- 45
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
A class trait that class can extend that if a method is called that doesn't exist it tries to find method that are similar and throw an exception. It's kind of a gimmick but sometimes it might be a fun little touch...
``` php
$this->mock('MyClass')->disableConstor()
```
```
No such method 'disableConstor', did you mean 'disableConstructor()'?
```
Even better if running in colours to highlight the different characters in the word...
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.