Commit Graph

27 Commits

Author SHA1 Message Date
Robin van der Vliet 94d8cf948f Replace isset with null coalescing operator (#800) 2023-07-06 20:41:38 -07:00
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 e8fdd2377f Fix static analysis error
Error message:
    ERROR: MethodSignatureMustProvideReturnType -
    ../src/Curl/Url.php:18:21 - Method Curl\Url::__toString must have a
    return type signature! (see https://psalm.dev/282) public function
    __toString()
2022-12-16 04:43:07 -08:00
Zach Borboa 8bc9d6dd71 Fix parsing paths with Cyrillic characters 2021-08-07 17:52:34 -04:00
Zach Borboa eadd466f66 Fix parsing schemeless url 2021-08-07 17:48:47 -04:00
Zach Borboa 25e9126f77 Make Url::parseUrl() and Url::percentEncodeChars() static functions. 2021-08-06 21:01:02 -04:00
Zach Borboa 7af4a8d383 Fix some errors caused by using strict types 2021-07-26 10:08:44 -04:00
Zach Borboa bb1a190071 Use strict types 2021-07-26 00:48:18 -04:00
Zach Borboa b88fd76ffc Move Curl::buildUrl() to Url::buildUrl() 2021-03-23 10:02:11 -04:00
Zach Borboa 161f9aea63 Use short array syntax 2021-03-18 01:15:52 -04:00
Zach Borboa 75c9fc144b Fix #625: Update Url class to handle IPv6 addresses with bracket notation. 2020-04-22 22:18:47 -07:00
Zach Borboa 1e615d340e Replace usage of is_null() with strict comparison operator 2019-05-11 11:57:32 -07:00
Zach Borboa f23b6da017 Move multibyte string functions to StringUtil 2018-12-19 00:41:50 -08:00
Jared Spencer f00f7988d3 adjusted where ext-mbstring is suggested
will use mbstring if extn installed
2018-12-18 17:49:18 -07:00
Zach Borboa 7243b35081 Clean up 2018-08-18 12:03:12 -07:00
Zach Borboa ee89e5fd67 Rename to remove abbreviation 2018-06-21 23:54:52 -07:00
Zach Borboa 703d0acfa0 Clean up 2018-06-07 03:18:01 -07:00
Zach Borboa e86246a1b7 Match order of unparsed url parts 2018-06-07 03:12:07 -07:00
Zach Borboa 12aac6d4cd Clean up 2018-06-07 02:26:51 -07:00
Zach Borboa fa39f26a3a Fix #517: Require mbstring extension.
Use global namespace for mb_* functions.
2018-04-28 16:21:15 -07:00
woxcab c91d7a7d78 Erase base URL parts if their preceding parts have overwritten by relative URL 2018-04-27 23:27:35 +03:00
woxcab e7dc9f7bdc Prevent URL fragment destructing 2018-04-27 21:01:20 +03:00
Zach Borboa cfad5c4d3c Fix #505: Allow requests with Cyrillic characters in url 2018-04-20 01:03:05 -07:00
Zach Borboa 7bce2d9606 Clean up 2017-10-09 19:33:10 -07:00
Zach Borboa ce9ff3c7ec Fix #347: Add basic support for requests using relative paths 2017-10-09 19:30:36 -07:00