J. King
1b80ad37bc
Merge branch 'csfixer3'
...
Code style cleanup to mostly conform to PSR-12
2023-03-22 23:33:05 -04:00
J. King
b5579d6e43
Support PHP 8.1
2022-01-11 17:54:02 -05:00
J. King
4080b2d09d
Apply new rules
2021-04-14 11:17:01 -04:00
J. King
bc53a2d24a
Style fixes
2020-03-01 15:16:50 -05:00
J. King
bbace7a0ac
Use void and nullable return types where practical
2020-01-20 13:34:03 -05:00
J. King
29667464a1
Remove unnecessary namespace imports
2019-09-05 10:03:32 -04:00
J. King
6ef13d0880
Style fixes
2019-05-01 22:52:20 -04:00
J. King
ed22090e49
Work around various SQLite-related problems
...
- WAL mode was not getting set properly
- Queries using the PDO driver could fail because PDO sucks
2019-03-04 11:05:46 -05:00
J. King
c4a41255b0
Experimental native MySQL driver
...
No testing has been performed yet, but changes are extensive enough to
warrant a commit. Of particular note:
- SQL states are enumerated in a separate trait to reduce duplication
- PDOStatement is now an abstract class to avoid duplication of
engine-specific error handling
- Error handling has been cleaned up somewhat
2019-01-10 19:01:32 -05:00
J. King
089f666de6
Fix PDO insert ID errors in PHP 7.1
2018-12-06 17:46:00 -05:00
J. King
39cad91b78
CS fixes
2017-12-22 11:51:58 -05:00
J. King
ad6a09ffa1
Partially tested pdo_sqlite driver; improves #72
2017-12-19 17:15:05 -05:00