Homec4science

Patch the `JSONLint` external to be compatible with PHP 5.2

Authored by Joshua Spence <josh@joshuaspence.com> on Sep 9 2014, 01:05.

Description

Patch the JSONLint external to be compatible with PHP 5.2

Summary: The JSONLint external utilizes the shorthand ternary (?:) syntax, which is only available from PHP 5.3. Expand the shorthand ternary form into ordinary ternary form to ensure compatibility with PHP 5.2. Depends on D10433.

Test Plan: Not sure how...

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10435

Details

Committed
Joshua Spence <josh@joshuaspence.com>Sep 9 2014, 01:05
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUa53cffa15d62: Add some additional PHP extensions to the compatibility map
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUbfc4a6aa18ee: Patch the `JSONLint` external to be compatible with PHP 5.2 (authored by Joshua Spence <josh@joshuaspence.com>).Sep 9 2014, 01:05