Christoph M. Becker
c25b5c64d1
Fix test for cases where data sources are available
...
That `bool(false)` is a relict of adapting the test expectations to the
warning promotions.
2020-09-24 11:26:16 +02:00
Nikita Popov
c5401854fc
Run tidy
...
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00
George Peter Banyard
c1823c6c8a
Promote warning to Error in ODBC extension
...
Closes GH-6123
2020-09-15 12:50:00 +02:00
Christoph M. Becker
afb69b6f2d
Fix test regarding ZPP TypeErrors
...
We simply remove the second call to `odbc_data_source` since it is
testing standard ZPP behavior.
2019-08-28 16:45:05 +02:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Anatol Belski
e68084780f
Tell the diff by returning NULL, if system has no ODBC data sources
2017-12-20 22:32:54 +01:00
Andrea Faulds
e5eb9530ab
Use "float" and "integer" in typehint and zpp errors
2014-12-21 13:23:02 +00:00
Felipe Pena
3201292cd3
- New tests
2009-05-14 01:28:58 +00:00