HomePhabricator

Add a linter rule for the use of `parse_str`

Description

Add a linter rule for the use of parse_str

Summary: The use of the parse_str method (when called without sepcifying a second parameter) hinders static analysis. Specifically, the parse_str('...') behaves similarly to extract.

Test Plan: Added unit tests.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Aug 13 2015, 9:45 PM
Reviewer
Blessed Reviewers
Differential Revision
D13857: Add a linter rule for the use of `parse_str`
Parents
rARC2e76e2965cbe: Add a linter rule for inline HTML
Branches
Unknown
Tags
Unknown