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.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T5141: `ArcanistXHPASTLinter` should raise warnings when deprecated functions are used
- Commits
- rARCe0ee3e8a07ba: Capture maximum version information in `php_compat_info`.
Ran arc lint and made sure no unexpected warnings were raised.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- php_compat_info-minmax
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 642 Build 642: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
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
Comment Actions
Closed by commit rARCe0ee3e8a07ba (authored by @joshuaspence, committed by @epriestley).