HomePhabricator

Improve declaration formatting linter rule for anonymous functions

Description

Improve declaration formatting linter rule for anonymous functions

Summary: Ref T8742. Anonymous functions should have a space after the function keyword. Additionally, ensure that there is a space before and after the use token.

Test Plan: Modified existing test cases.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin

Maniphest Tasks: T8742

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Aug 8 2015, 11:14 PM
Reviewer
Blessed Reviewers
Differential Revision
D13804: Improve declaration formatting linter rule for anonymous functions
Parents
rARCc304c4e04564: Minor linter fix
Branches
Unknown
Tags
Unknown
Tasks
T8742: Write a bunch of PSR-2 lint rules