matks/php-makeup

PHP tool to increase the readabiliy of your code

v1.0 2014-12-07 23:32 UTC

This package is auto-updated.

Last update: 2024-11-10 00:18:46 UTC


README

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage License

PHP Tool that parses php files and applies some esthetic design rules to increase the readability of your code. It aims to cover additional features not implemented in PHP-CS-Fixer.

Features

  • variables assignment alignment
  • use statements ordering

Installation

Install the dependencies with composer

composer install

Tests

Install the dev dependencies with composer

composer install --dev

Run the unit tests suite with atoum binary.

vendor/bin/atoum -bf vendor/autoload.php -d tests/Units/

Usage

Run the following command:

$ bash php-makeup <folder>

Incoming features:

  • phpDoc consistency