kelunik/fqn-check

Checks source trees for not fully qualified function calls.

Installs: 4 761

Dependents: 4

Suggesters: 0

Security: 0

Stars: 13

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

v0.1.3 2017-03-04 16:37 UTC

This package is auto-updated.

Last update: 2020-03-21 21:31:38 UTC


README

Checks source trees for fully qualified function calls and constants.

Installation

composer require --dev kelunik/fqn-check

Usage

vendor/bin/fqn-check /path/to/source

All not fully qualified function calls and constants will be listed and the exit code will be 1 if any such function call is found, 0 otherwise.

Alternatives

You might also want to check out friendsofphp/php-cs-fixer with its native_function_invocation option.

License

The MIT License.