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)
Sat, Sep 14, 11:28 PM
Unknown Object (File)
Sat, Sep 14, 11:27 PM
Unknown Object (File)
Sat, Sep 14, 11:27 PM
Unknown Object (File)
Sat, Sep 14, 11:25 PM
Unknown Object (File)
Wed, Sep 4, 9:02 PM
Unknown Object (File)
Wed, Sep 4, 12:57 PM
Unknown Object (File)
Mon, Aug 26, 11:06 AM
Unknown Object (File)
Sun, Aug 25, 9:55 AM
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).