14 Commits (b6c1afaa47e963e354279b6efc8682dcd20a8889)

Author SHA1 Message Date
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2 years ago
Jordi Boggiano 7e50f37b87
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper 3 years ago
Niels Vanpachtenbeke 1c928466a9
Remove code blocks for php <7.2 compatibility (#10417) 3 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 3 years ago
Simon Berger 974e7ba296 Removed unneccesary elseifs 4 years ago
Alexander Kurilo 5a22a4f1f3 Make surrogate sequences in JSON work on PHP 5.3
Fixes #7510
6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Jordi Boggiano 109f4ffd5e Normalize json across all php versions, fixes #3226 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Sandy Pleyte 3a2815b778 Added extra unit test from the example in the ticket. 11 years ago
Sandy Pleyte f92f2f45a9 Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char. The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash. 11 years ago