I maintain a Phabricator library which supports PHP 7, but I can't use PHP 7 types because this causes "unknown class/interface" linter warnings. Ignore PHP built-in types, similar to D18151.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHUc309c5d93354: Ignore PHP types for "needs" symbols
Ran scripts/phutil_symbols.php on the following file:
<?php function x(array $a, bool $b, float $f, int $i, string $s, iterable $ii, object $o): void {}
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20626 Build 28031: Run Core Tests Build 28030: arc lint + arc unit
Event Timeline
scripts/phutil_symbols.php | ||
---|---|---|
550 | Not you, but maybe fix it s -> it's if you still have this file handy. |