php-censor/phpdoc-checker

A simple tool for checking that your PHP classes and methods use PHPDocs (PHP DocBlocks Checker fork).

3.1.1 2023-10-07 03:44 UTC

README

Minimum PHP version: 7.4.0 Actions PHP Censor Codecov Latest Version Total downloads License

PHPDoc Checker

Check PHP files within a directory for appropriate use of PHPDocs (Docblocks). PHPDoc Checker is fork of PHP DocBlock Checker.

Installation

Composer:

composer require php-censor/phpdoc-checker

Building Phar Package

box.phar compile

Usage

vendor/bin/phpdoc-checker {params}

Parameters

Unit tests

Phpunit tests:

vendor/bin/phpunit --configuration=phpunit.xml.dist --coverage-text --coverage-html=tests/var/coverage

License

PHPDoc Checker is open source software licensed under the BSD-2-Clause license.