Commit graph

117 commits

Author SHA1 Message Date
1339de93bf Expose getAffectedRows method in IDbConnection interface. 2024-09-13 15:38:44 +00:00
24db1bd83d Made IDbStatement::execute return number of affected rows. 2024-09-13 15:36:45 +00:00
5a1fdccced Cast floats to string for Bencoding. 2024-08-18 20:01:21 +00:00
25063f6b1f Fixed MediaType::getQuality always returning 1.0. 2024-08-18 16:56:17 +00:00
57f8c69ca0 Fixed middleware on / issue. 2024-08-18 16:41:02 +00:00
f690df4200 Fixed newly detected issue. 2024-08-18 16:20:56 +00:00
fbca708fbd Even stricted PHPStan rules! 2024-08-04 00:14:17 +00:00
310a665595 Added script for creating release tags. 2024-08-03 22:20:02 +00:00
1c349af445 Removed precommit.bat and made scripts extensionless. 2024-08-03 22:10:04 +00:00
eeb01d558d Added nextParameter method to IDbStatement. 2024-08-03 22:02:46 +00:00
6e3e86f416 Raised PHPStan analysis level and fixed issues. 2024-08-03 20:27:50 +00:00
5be38a7090 Added docs to MediaType class. 2024-08-02 00:21:00 +00:00
7ef130629b Switch to constructor property declaration where possible. 2024-08-01 23:56:53 +00:00
3d0c81541d Removed 32-bit related type signatures. 2024-08-01 23:22:49 +00:00
ecabe53123 Fixed missing use. 2024-08-01 23:21:50 +00:00
50af08e54f Use compact use statements where possible and removed RuntimeException extensions. 2024-08-01 23:17:11 +00:00
51f97b7a67 Updated PHPDocs and some argument lists. 2024-08-01 22:16:38 +00:00
81ad848c83 I forgor the VERSION file. 2024-08-01 22:10:36 +00:00
7e341e32ff Removed crusty HTTP header parsers.
If they're ever needed again they'll be written as needed as opposed to being speedran 4 years ago.
2024-08-01 22:08:15 +00:00
57b939103e Removed Version class, please use Composer's SemVer instead. 2024-07-31 21:01:22 +00:00
4806b35c6b Moved CSRFP into the root namespace. 2024-07-31 20:54:55 +00:00
d3c7b8f496 Removed dodgy DateTimeInterface wrappers, use Carbon or the XDateTime utils instead. 2024-07-31 20:53:06 +00:00
81d0baedce No longer define the global NDX_* constants and removed bootstrapper file. 2024-07-31 19:48:33 +00:00
1fa778b338 Removed most of the Environment class and renamed it to just Index as a library meta class. 2024-07-31 19:47:05 +00:00
13d2edb7c3 Removed exception conversion stuff. 2024-07-31 19:20:55 +00:00
285e2de40c Removed local PSR-4 autoloader implementation.
I've fully moved to Composer and its autoloader is more optimised than this one could ever hope to be.
2024-07-31 19:12:24 +00:00
4d41d3218e Moved Bencode implementation into its own namespace. 2024-07-31 19:10:26 +00:00
4a40868f58 Added generic IntegerBaseConverter implementation and merged Base62 class with XNumber.
The Base62 implementation was always a bit misleading because both UriBase64 and Base32 handle any binary data whereas Base62 was only for converting integers.
This shake-up should lessen that confusion.
2024-07-31 19:05:41 +00:00
94cd311f8c Moved Base32 and UriBase64 implementations into the root namespace. 2024-07-31 18:39:47 +00:00
b3078c28e3 Updated Base62 implementation. 2024-07-31 18:36:16 +00:00
d556081541 Updated Base32 method signatures. 2024-07-31 18:25:01 +00:00
4b4ff9f7c4 Made syntax of URI-safe base64 methods compatible with the built in base64_* methods. 2024-07-31 18:20:29 +00:00
27d28f03ce Removed Base64 proxy. 2024-07-31 18:15:05 +00:00
3952dd96e8 Updated to PHP 8.3 and added cache provider requirements to the README. 2024-07-31 18:12:46 +00:00
e4c8ed711e Default to PHP serializer for Redis. 2024-04-10 23:40:14 +00:00
339f9d3701 Fixed oversight not caught by phpstan tsk tsk. 2024-04-10 23:36:28 +00:00
c40f264755 Added DSN documentation for Database and Cache backends. 2024-04-10 23:26:13 +00:00
ad75d72aa0 Added cache wrappers. 2024-04-10 22:23:34 +00:00
09fc6b3958 Fixed routes with similar regexes not being able to match. 2024-04-02 17:27:06 +00:00
9b57fbb42c Removed old router code. 2024-03-30 16:24:34 +00:00
9d5b050b89 Revert to implicitly supporting HEAD.. 2024-03-28 23:27:04 +00:00
3fcedb55ef Alternative attempt at support HEAD requests. 2024-03-28 23:22:39 +00:00
0472625a00 Attempt to make trailing slash optional. 2024-03-28 23:07:17 +00:00
77ab1e7f9f Switch default charset to UTF-8 again. 2024-03-28 22:35:49 +00:00
ce855061ec Added content and error handling. 2024-03-28 22:30:06 +00:00
add621716a Fixed full match not being removed from args list. 2024-03-28 20:33:41 +00:00
a5cfba6b96 Today I learned: attribute declaration does not inherit. 2024-03-28 20:23:09 +00:00
bcc7e8066a Fixed inheritance. 2024-03-28 20:19:54 +00:00
8a5059c7ec Fixed is_array being used instead of array_key_exists. 2024-03-28 20:16:18 +00:00
5cda6fbe25 Fixed PHPStan detections. 2024-03-28 20:14:54 +00:00