marcosh/php-type-checker

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Php type checker

[![Build Status](https://travis-ci.org/marcosh/php-type-checker.svg?branch=master)](https://travis-ci.org/marcosh/php-type-checker)
[![Latest Stable Version](https://poser.pugx.org/marcosh/php-type-checker/v/stable)](https://packagist.org/packages/marcosh/php-type-checker)
[![Code Climate](https://codeclimate.com/github/marcosh/php-type-checker/badges/gpa.svg)](https://codeclimate.com/github/marcosh/php-type-checker)
[![Coverage Status](https://coveralls.io/repos/github/marcosh/php-type-checker/badge.svg?branch=master)](https://coveralls.io/github/marcosh/php-type-checker?branch=master)
[![Code Quality](https://api.codacy.com/project/badge/grade/ff95c3e5360649638c61f2834bffd8b2)](https://www.codacy.com/app/marcosh/php-type-checker/dashboard)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/marcosh/php-type-checker/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/marcosh/php-type-checker/?branch=master)

Checks if type hints are present and coherent with doc block declarations

## Install

Install using [Composer](https://getcomposer.org) with

```
composer require marcosh/php-type-checker
```

## Usage

To scan the content of a directory `$PATH`,

```
vendor/bin/ptc check $PATH
```