Download the PHP package phug/dev-tool without Composer
On this page you can find all versions of the php package phug/dev-tool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phug/dev-tool
More information about phug/dev-tool
Files in phug/dev-tool
Informations about the package dev-tool
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.
Installation
Install via Composer
Usage
Available Commands
install
Updates composer and installs composer dependencies
check
Runs unit-tests:run
, code-style:check
and coverage:check
in this order and fails as soon as one of the commands fail.
Return code is the return code of the failed command.
If --report
is set, this command will generate code-coverage data and report it to code-climate.
code-style:check
Automatically scans code for problems regarding PSR-2
and attempts to fix them if wanted.
This runs phpcs
with a default config or a local config, if found.
code-style:fix
Automatically fixes code-problems regarding PSR-2
.
This runs phpcbf
with a default config or a local config, if found.
unit-tests:run
Runs unit tests located in ./tests
.
You can pass --coverage-text
and --coverage-clover=<targetXmlPath>
to generate code-coverage information.
coverage:check
Checks existing code-coverage data and fails if a specific percentage coverage (80% by default) is not reached.
Accepts --input-file=<targetXmlPath>
that points to a coverage file generated by unit-tests:run --coverage-clover=<targetXmlPath>
coverage:report
Reports coverage data to CodeClimate.
Accepts --input-file=<targetXmlPath>
that points to a coverage file generated by unit-tests:run --coverage-clover=<targetXmlPath>
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
All versions of dev-tool with dependencies
phpunit/phpunit Version ^4.8.35 || ^5.7 || ^6.0 || ^7.0 || ^8.0
phpunit/php-code-coverage Version ^2.2 || ^4.0 || ^5.2 || ^6.0 || ^7.0
squizlabs/php_codesniffer Version ^2.8 || ^3.0
symfony/console Version ^3.2 || ^4.0 || ^5.0