Skip to content
πŸ†™ A tool to automatically update typehints in your code.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
composer.json
readme.md
typefixer

readme.md

Nette TypeFixer πŸ†™

Downloads this Month Build Status Latest Stable Version License

Introduction

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.3.

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.

You can’t perform that action at this time.