The instanceof operator expects the first argument to be an object instance. See http://www.phpwtf.org/instanceof-smart.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARC4bb2eecdaf42: Add a linter rule for the instanceof operator
Added test case
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable