Common development dependencies and scripts for Kuria libraries.
Contents
- PHP 7.1+
This package defines the following composer scripts:
composer all
- run codestyle checks and testscomposer tests
- run testscomposer coverage
- run tests and generate code coverage reportcomposer cs
- run codestyle checkscomposer cs:fix
- attempt to automatically fix codestyle violations
Run the composer package-scripts:list
to show commands to only run specific tools.
The Kuria\DevMeta\Test
class should be extended instead of PHPUnit\Framework\TestCase
.
It provides access to additional features from kuria/phpunit-extras.
<?php
namespace Acme;
use Kuria\DevMeta\Test;
class ExampleTest extends Test
{
// ...
}