Commit graph

6 commits

Author SHA1 Message Date
Gabriel Caruso
fef879a2d6 Use bool instead of boolean while throwing a type error
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".

This a followup to ce1d69a1f6, which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Aaron Piotrowski
64b167d201 Updated tests to reflect exception class changes. 2015-05-16 16:49:14 -05:00
Dmitry Stogov
1c94ff0595 Implement engine exceptions
RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7

Pending changes regarding naming of BaseException and whether it
should be an interface.
2015-03-09 14:01:32 +01:00
Johannes Schlüter
1afd50766c - Fix tests 2010-05-29 20:34:25 +00:00
Sebastian Bergmann
5aa7732d2f MFB: Drop SKIPIF check for ext/reflection. 2008-05-24 13:35:03 +00:00
Steve Seear
261a88fc3a Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:56 +00:00