David Grudl
212dd1ae55
updated phpstan
2020-11-02 15:05:55 +01:00
David Grudl
b9683f8a3c
updated nette/coding-standard
2020-11-02 15:05:55 +01:00
David Grudl
177a800bff
PdoDriver: changes error mode do ERRMODE_SILENT (for PHP 8.0)
2020-11-02 15:05:55 +01:00
David Grudl
fa6a1203a9
fixed compatibility with PHP 8 [ Closes #379 ]
2020-11-02 15:05:55 +01:00
David Grudl
3f7171c7a4
tested on PHP 8.0
2020-10-30 13:50:54 +01:00
David Grudl
e4b6e769ee
Dibi\Helpers::getSuggestion(): item may be an int, type cast fix ( #378 )
2020-10-14 12:00:23 +02:00
David Grudl
24d0b069d8
Helpers::getSuggestion(): support for reflection objects moved to Strict
2020-10-14 12:00:04 +02:00
David Grudl
34bc742245
refactoring
v4.1.4
2020-10-08 16:49:47 +02:00
Miloslav Hůla
f5fa2255ff
FileLogger: fixed object to string conversion with custom driver ( #376 ) ( #376 )
...
Co-authored-by: Miloslav Hůla <miloslav.hula@fsv.cvut.cz>
2020-10-08 16:38:35 +02:00
Miloslav Hůla
7b02296f3e
Tracy\Panel: fixed object to string converion error with custom driver ( #373 )
...
Co-authored-by: Miloslav Hůla <miloslav.hula@fsv.cvut.cz>
2020-10-08 16:38:35 +02:00
David Grudl
df4cddac1f
Tracy\Panel: supports multiple connections [ Closes #365 ]
...
Partially reverts "Tracy\Panel: one panel is used per connection"
This reverts commit ae6c8756b67496a06c71af912bacaf7ca97c5fc3.
2020-10-08 16:38:35 +02:00
groupnet
cc37121390
Postgre driver - add connect_type config parameter ( #370 )
...
- adds the option to pass the connect_type as config parameter
- PHP default is 0, but to make this change non-breaking defauls to PGSQL_CONNECT_FORCE_NEW
- see PHP docs: https://www.php.net/manual/en/function.pg-connect.php
2020-10-08 15:55:11 +02:00
LHavlicek
a95b409231
MySqliDriver: fixed DateInterval encoding ( #371 )
2020-10-08 15:55:11 +02:00
Jakub Bouček
3b057c2e35
MySqliDriver: added support for ping ( #372 )
2020-10-08 15:55:11 +02:00
David Grudl
f444b5d993
typo
2020-10-08 15:55:11 +02:00
David Grudl
6e41c4223b
tests: test() with description
2020-10-08 15:55:11 +02:00
David Grudl
0ee4628712
SqlsrvDriver: improved escapeBinary [ Closes #287 ]
2020-10-07 03:19:03 +02:00
David Grudl
ab3677203c
added funding.yml
2020-10-07 03:19:03 +02:00
Jan Barášek
1bdf6e93d0
PhpStan fixes ( #363 )
2020-05-07 21:41:28 +02:00
David Grudl
ed2a827419
Released version 4.1.3
v4.1.3
2020-03-26 04:10:39 +01:00
David Grudl
e46be6cee6
SqliteResult: workaround for PHP bug 79414
2020-03-26 04:10:39 +01:00
David Grudl
0f69d5d32c
Result: does not drop the value if detection fails
2020-03-26 04:10:39 +01:00
Adam Klvač
e826e3a719
MySqliDriver: coalesced password to an empty string ( #360 )
...
mysqli::real_connect() expects parameter 3 to be string, yields an error on NULL.
2020-03-26 03:32:03 +01:00
David Grudl
6eac117f5f
Result::fetchAssoc() DateTime in key is converted to string [ Closes #359 ]
2020-03-03 17:18:37 +01:00
David Grudl
2a2c814b0a
readme.md: updated
2020-03-03 16:50:43 +01:00
David Grudl
dfab3d711c
added DummyDriver
2020-03-03 16:21:21 +01:00
David Grudl
34e16031f7
added phpstan.neon
2020-02-23 19:15:59 +01:00
David Grudl
73160e9418
travis: uses PHP 7.4 for coding checks
2020-02-23 19:08:21 +01:00
David Grudl
f18056a066
Released version 4.1.2
v4.1.2
2020-02-23 18:50:27 +01:00
Milan Pála
0bd222b3f1
tests: added reconnect test ( #352 )
2020-02-23 18:50:27 +01:00
David Grudl
9f71f39470
Connection: translator is created/destructed in connect/disconnect [ Closes #352 ][ Closes #354 ]
2020-02-23 18:50:27 +01:00
Enrico Dias
0b0d805040
FileLogger: refactoring ( #351 )
2020-02-09 17:22:55 +01:00
Enrico Dias
8c761eac5c
FileLogger: Add option to log errors only ( #351 )
2020-02-09 17:17:05 +01:00
groupnet
2f857c28d6
PostgreDriver: fixed persistent connections ( #348 )
...
- https://www.php.net/manual/en/function.pg-pconnect.php
2020-01-24 13:41:57 +01:00
David Grudl
efe1cbdc20
cs
2020-01-12 13:46:23 +01:00
David Grudl
21dad1d846
composer: license clarification
2020-01-07 11:53:19 +01:00
David Grudl
7d55fd03b0
composer: added PHPStan
2019-12-11 21:05:37 +01:00
Ashus
294787a26e
Add support for escapeLike without % on any side ( #346 ) (BC break)
2019-11-25 14:01:24 +01:00
David Grudl
9d4bef53d3
travis: added PHP 7.4
v4.1.1
2019-11-19 20:15:32 +01:00
David Grudl
1db63d81e9
fixes for PHP 7.4
2019-11-19 01:49:22 +01:00
Adam Klvač
c7dee4d822
SqlsrvResult: fixed illegal false return value from sqlsrv_fetch_array() ( #344 )
...
On error, sqlsrv_fetch_array() returns false, which causes an error due to the return type declaration. This commit handles that by casting such value to null the same way other result drivers do it.
2019-11-19 01:30:34 +01:00
Miloslav Hůla
f2927a1b08
OracleResult: LONG type is textual [ Closes #342 ] ( #343 )
2019-11-06 16:43:33 +01:00
David Grudl
b5a66fdb26
typo
2019-10-22 19:39:16 +02:00
David Grudl
c38f6991b0
Released version 4.1.0
v4.1.0
2019-10-22 19:30:46 +02:00
David Grudl
faab306418
Translator: trims spaces from SQL [ Closes #326 ]
2019-10-22 19:30:46 +02:00
Josef Drábek
74ba6cfd34
Use null coalescing operator ( #340 )
2019-10-17 22:12:54 +02:00
David Grudl
f46b7f4d79
travis: fixed databases
2019-09-30 10:59:15 +02:00
David Grudl
c1640c5e7b
getInsertId() is be able to return negative ID's [ Closes #336 ]
2019-09-18 10:35:26 +02:00
Pavel Janda
a2afac80f2
Connection: added option [result][formatJson] that sets json column decoding (text|object|array) ( #335 )
2019-09-09 19:48:01 +02:00
David Grudl
0535d57e6b
implemented MySqliDriver::escapeDateInterval()
2019-08-30 18:55:20 +02:00