Commit Graph

15 Commits

Author SHA1 Message Date
Zach Borboa cd924d10c3 Update PHP_CodeSniffer ruleset: PSR2 → PSR12 2023-06-30 01:23:37 -07:00
Zach Borboa 9bd4776b73 Apply additional coding standards 2023-06-30 00:37:30 -07:00
Zach Borboa 128a0c1ea2 Add PHP-CS-Fixer to check for unused imports 2023-06-24 19:33:48 -07:00
Zach Borboa dfdd2f5fb0 Remove use of array_merge() inside loop 2023-03-11 05:01:00 -08:00
Zach Borboa 9a1eae612b Reduce nesting 2023-03-08 14:34:05 -08:00
Sander Backus 5cd8e3db11 Allow uploads with CURLStringFile type 2023-01-15 13:27:49 -08:00
Zach Borboa 067cb72854 Implement ArrayUtil::arrayRandomIndex() 2022-09-28 12:38:16 -07:00
Zach Borboa bb1a190071 Use strict types 2021-07-26 00:48:18 -04:00
ginnerpeace 8be46834c6 Fix use '$this' in non-object context
The pseudo-variable $this is not available inside methods declared as static.
2021-06-10 11:05:37 +08:00
Zach Borboa 161f9aea63 Use short array syntax 2021-03-18 01:15:52 -04:00
Zach Borboa bebefa431c Consider CaseInsensitiveArray an associative array. 2020-10-31 12:32:19 -07:00
Zach Borboa 86ae2ce786 Fix ArrayUtil::isArrayAssoc() erroring with a CaseInsensitiveArray.
Error message:
    array_keys() expects parameter 1 to be array, object given
2020-10-31 11:25:49 -07:00
Zach Borboa 505663a55d Use camelCase for ArrayUtil function names and deprecate old snake_case names 2019-06-09 22:26:18 -07:00
Zach Borboa 0857023319 Fix #572,#582: Add MultiCurl::setProxies() to make multicurl requests with multiple proxies 2019-05-12 01:01:57 -07:00
Zach Borboa b6e6524d29 Move array methods to separate file 2016-12-24 13:04:12 -08:00