Home GnuPG

Add a linter rule to ensure that `namespace` is the first statement in a file
eeaa176cfc5aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a linter rule to ensure that namespace is the first statement in a file

Summary: If a namespace is used within a PHP script, it must be the first statement.

Test Plan: Added unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

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

Details

Provenance
Joshua Spence <josh@freelancer.com>Authored on Nov 25 2015, 9:32 PM
Parents
rARC600dcf83dd11: Fix linter rule ID
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@freelancer.com> committed rARCeeaa176cfc5a: Add a linter rule to ensure that `namespace` is the first statement in a file (authored by Joshua Spence <josh@freelancer.com>).Nov 25 2015, 9:34 PM