2017 © Pedro Peláez
 

library php-code-quality

Quality assurance toolchain

image

legalthings/php-code-quality

Quality assurance toolchain

  • Sunday, April 29, 2018
  • by jasny
  • Repository
  • 8 Watchers
  • 1 Stars
  • 6,761 Installations
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

PHP code quality

Coding standard

Please read the Legal Things PHP coding standard., (*1)

Installation

All PHP projects of Legal Things should include this package. It can be installed through composer., (*2)

composer require --dev legalthings/php-code-quality

Toolchain

Codeception

Codeception is BDD-style PHP testing build on PHPUnit. It supports Unit testing, API testing and Acceptance testing., (*3)

bin/codecept

vfsStream

vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system., (*4)

PHP_CodeSniffer

phpcs tokenises PHP files and detects violations of a defined set of coding standards. It is an essential development tool that ensures your code remains clean and consistent. This package comes with a custom ruleset which embodies the Legal Things PHP coding standard., (*5)

bin/phpcs . --standard=vendor/legalthings/php-code-quality --ignore=/bin/,/vendor/,/tests/

Versions

Always use sementic versioning. With projects, the continues integration will automatically update patch version. When introducing a new feature or deprecating something you should update the minor version in composer.json., (*6)

Do not introduce large changes or new features, while breaking backwards compatibility. For a new major version, only cleanup tasks, specifically removing deprecated code, should be done. Manually update the major version in composer.json., (*7)

The Versions

29/04 2018

dev-master

9999999-dev

Quality assurance toolchain

  Sources   Download

MIT

The Requires

 

by Legal Things

10/09 2015

v0.1.2

0.1.2.0

Quality assurance toolchain

  Sources   Download

MIT

The Requires

 

by Legal Things

13/06 2015

v0.1.1

0.1.1.0

Quality assurance toolchain

  Sources   Download

MIT

The Requires

 

by Legal Things

12/06 2015

v0.1.0

0.1.0.0

Quality assurance toolchain

  Sources   Download

MIT

The Requires

 

by Legal Things