2017 © Pedro Peláez
 

library dev-tool

Phug unit tests, coverage and code style tools

image

phug/dev-tool

Phug unit tests, coverage and code style tools

  • PHP
  • 15 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 23 Versions
  • 11 % Grown

The README.md

Phug Dev Tool

What is Phug Dev Tool?

The Phug Dev Tool is a command-line utility that comes with required libraries to develop the Phug template engine., (*1)

Installation

Install via Composer, (*2)

composer require phug/dev-tool --dev

Usage

Available Commands

install

Updates composer and installs composer dependencies, (*3)

check

Runs unit-tests:run, code-style:check and coverage:check in this order and fails as soon as one of the commands fail., (*4)

Return code is the return code of the failed command., (*5)

If --report is set, this command will generate code-coverage data and report it to code-climate., (*6)

code-style:check

Automatically scans code for problems regarding PSR-2 and attempts to fix them if wanted., (*7)

This runs phpcs with a default config or a local config, if found., (*8)

code-style:fix

Automatically fixes code-problems regarding PSR-2., (*9)

This runs phpcbf with a default config or a local config, if found., (*10)

unit-tests:run

Runs unit tests located in ./tests., (*11)

You can pass --coverage-text and --coverage-clover=<targetXmlPath> to generate code-coverage information., (*12)

coverage:check

Checks existing code-coverage data and fails if a specific percentage coverage (80% by default) is not reached., (*13)

Accepts --input-file=<targetXmlPath> that points to a coverage file generated by unit-tests:run --coverage-clover=<targetXmlPath>, (*14)

coverage:report

Reports coverage data to CodeClimate., (*15)

Accepts --input-file=<targetXmlPath> that points to a coverage file generated by unit-tests:run --coverage-clover=<targetXmlPath>, (*16)

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure., (*17)

The Versions

06/04 2018

dev-master

9999999-dev http://phug-lang.com

Phug unit tests, coverage and code style tools

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

06/04 2018

dev-phpunit-php-code-coverage-6

dev-phpunit-php-code-coverage-6 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

06/04 2018
06/04 2018

dev-phpunit7

dev-phpunit7 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

26/03 2018
26/03 2018

dev-phpunit-6

dev-phpunit-6 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

11/10 2017

dev-cache-imports-handle

dev-cache-imports-handle http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

09/08 2017

0.1.11

0.1.11.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

09/08 2017

0.1.10

0.1.10.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

25/07 2017

0.1.9

0.1.9.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

25/07 2017

0.1.8

0.1.8.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

21/06 2017

0.1.7

0.1.7.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

05/02 2017

0.1.6

0.1.6.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

02/02 2017

dev-check-process

dev-check-process http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

0.1.5

0.1.5.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

0.1.4

0.1.4.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

0.1.3

0.1.3.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

0.1.2

0.1.2.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

dev-fork-codeclimate

dev-fork-codeclimate http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

28/12 2016

0.1.1

0.1.1.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

27/12 2016

dev-analysis-qxj0WB

dev-analysis-qxj0WB http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug

27/12 2016

0.1.0

0.1.0.0 http://phug-lang.com

  Sources   Download

MIT

The Requires

 

by Torben Koehn

template php html jade pug views render presentation dev tools phtml dialect phug