elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

Strings that are the same as function names are mistaken as callable #202

Closed elliotchance closed 10 years ago

elliotchance commented 10 years ago
$this->assert($invoice, has_key, "Date");

Delivers the error:

Argument 2 (Date) must be int or string.
coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 1fd1701e393ec57b7ecbe97e7e63ba386e62d90a on 1.3.5/202-string-function-names into 2d78e1fd5e223361c89561ffd1ca0e2eb09d2de9 on release/1.3.5.

scrutinizer-notifier commented 10 years ago

The inspection completed: No new issues