genkiroid/turpan

Turpan will check that whether deletion of PHP require statements is safe.

Installs: 11 045

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/genkiroid/turpan

0.3.5 2017-07-19 13:00 UTC

This package is auto-updated.

Last update: 2025-09-28 11:27:34 UTC


README

build

Turpan will check that whether deletion of PHP require statements is safe.

Usage

vendor/bin/turpan {from rev} HEAD

If deleted (include|include_once|require|require_once) statements was not pure class file reference, Turpan show warnings. Pure class file means that only contains class declaration and (include|include_once|require|require_once) statements.

Environment variables

name example default description
TURPAN_SHOW_DETAIL OFF - Not display code in report.
IGNORE_PATTERN /tests/ - Ignore matched path.
DOC_ROOT_DIR app - Specify document root.