Currently, class and interface names are converted to lowercase when comparing minimum and maximum versions. This is necessary in order to compare with the data from php_compat_info.json but causes the lint message to be slightly misleading.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCb189b594d20c: Present case of class and interface names.
Linted a test file.
Before
Error (XHP31) Use Of PHP 5.3 Features This codebase targets PHP 5.2.3, but `iterator` was not introduced until PHP 5.3.0. 1 <?php 2 >>> 3 final class FooBar implements Iterator {}
After
Error (XHP31) Use Of PHP 5.3 Features This codebase targets PHP 5.2.3, but `Iterator` was not introduced until PHP 5.3.0. 1 <?php 2 >>> 3 final class FooBar implements Iterator {}
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Closed by commit rARCb189b594d20c (authored by @joshuaspence, committed by @epriestley).