Page MenuHomePhabricator

Capture maximum version information in `php_compat_info`.
ClosedPublic

Authored by joshuaspence on May 21 2014, 9:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 7:16 AM
Unknown Object (File)
Fri, Dec 13, 8:29 PM
Unknown Object (File)
Thu, Dec 12, 3:47 AM
Unknown Object (File)
Mon, Dec 9, 2:27 PM
Unknown Object (File)
Sun, Dec 8, 3:02 AM
Unknown Object (File)
Wed, Dec 4, 1:37 PM
Unknown Object (File)
Fri, Nov 29, 11:39 PM
Unknown Object (File)
Thu, Nov 28, 1:46 PM
Subscribers

Details

Summary

Ref T5141. In order to be able to warn when deprecated functions are used, we need to be aware of from which version the functions were deprecated.

Test Plan

Ran arc lint and made sure no unexpected warnings were raised.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Capture maximum version information in `php_compat_info`..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

How long does parsing a 14,000 line JSON file take?

Before

> time php -r 'json_decode(file_get_contents("./resources/php_compat_info.json"), true);'

real	0m0.027s
user	0m0.018s
sys	0m0.009s

After

> time php -r 'json_decode(file_get_contents("./resources/php_compat_info.json"), true);'

real	0m0.034s
user	0m0.024s
sys	0m0.010s
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 22 2014, 4:14 PM
epriestley updated this revision to Diff 21976.

Closed by commit rARCe0ee3e8a07ba (authored by @joshuaspence, committed by @epriestley).