HomePhabricator

Add a linter rule for use of `is_a`

Description

Add a linter rule for use of is_a

Summary: instanceof should be used instead of is_a. I need to do a bit more research here to see if there are any edge cases.

Test Plan: Added unit tests.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14573

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Dec 22 2015, 9:47 PM
Reviewer
Blessed Reviewers
Differential Revision
D14573: Add a linter rule for use of `is_a`
Parents
rARC9ee14d28490c: Improve the "self member reference" linter rule
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9737
Build 11687: Run Core Tests