HomePhorge

Don't atomize closures

Description

Don't atomize closures

Summary: In a PHP5.3+ codebase with closures, Diviner would pick up anonymous functions and add them into the generated documentation. This causes them to be skipped.

Test Plan: Ran bin/diviner generate --clean before and after change, no longer got a bunch of unnamed functions dumped into the documentation.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

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

Details

Provenance
Eric SternAuthored on Jul 1 2014, 6:16 AM
epriestleyCommitted on Jul 1 2014, 7:47 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP7304e29dec33: Various minor JSHint fixes.
Branches
Unknown
Tags
Unknown

Event Timeline