elliotchance / elliotchance/concise

Spell checker service

Open
#172 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.