Home GnuPG

Add a linter rule for the use of `parse_str`
fe8ed2a6f8b0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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
Joshua Spence <josh@joshuaspence.com>Authored on Aug 13 2015, 11:44 PM
Parents
rARC2e76e2965cbe: Add a linter rule for inline HTML
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rARCfe8ed2a6f8b0: Add a linter rule for the use of `parse_str` (authored by Joshua Spence <josh@joshuaspence.com>).Aug 13 2015, 11:45 PM