HomePhabricator

Minor fix for typecast linter rule

Description

Minor fix for typecast linter rule

Summary: intval($x, $y) cannot be safely changed to (int)$x if $y != 10.

Test Plan: Added test cases.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Dec 2 2015, 3:16 AM
Reviewer
Blessed Reviewers
Differential Revision
D14611: Minor fix for typecast linter rule
Parents
rARC00efcd294fd0: Add a linter rule for hexadecimal number casing
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9204
Build 10890: Run Core Tests