Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nette-discontinued/type-fixer

[DISCONTINUED] A tool to automatically update typehints in your code.
https://github.com/nette-discontinued/type-fixer

nette nette-framework php tool updater

Last synced: about 1 month ago
JSON representation

[DISCONTINUED] A tool to automatically update typehints in your code.

Awesome Lists containing this project

README

        

Nette TypeFixer [DISCONTINUED]
==============================

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

If you like Nette, **[please make a donation now](https://nette.org/donate)**. Thank you!

Usage
-----

```
typefixer [options]

Options:
-i | --ignore 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](https://getcomposer.org/doc/03-cli.md#global).