nette/type-fixer

This package is abandoned and no longer maintained. No replacement package was suggested.

🆙 A tool to automatically update type hints in your PHP code.

Installs: 2 545

Dependents: 0

Suggesters: 0

Security: 0

Stars: 29

Watchers: 11

Forks: 5

Type:project

v0.3 2018-11-24 12:54 UTC

This package is auto-updated.

Last update: 2024-02-12 20:07:30 UTC


README

A tool to automatically update type hints in your PHP code.

If you like Nette, please make a donation now. Thank you!

Usage

typefixer [options] <directory>

Options:
    -i | --ignore <mask>  Directories to ignore
    -f | --fix            Fixes files

Example:

typefixer --fix /myproject

Installation

It requires PHP version 7.1 and supports PHP up to 7.4.

Install it via Composer. This project is not meant to be run as a dependency, so install it as standalone:

composer create-project nette/type-fixer

Or install it globally via:

composer global require nette/type-fixer

and make sure your global vendor binaries directory is in your $PATH environment variable.