Skip to content
Common Kuria library development dependencies and scripts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
src
.gitattributes
.gitignore
LICENSE
README.rst
composer.json

README.rst

Kuria development meta

Common development dependencies and scripts for Kuria libraries.

Requirements

  • PHP 7.1+

Usage

Composer scripts

This package defines the following composer scripts:

  • composer all - run codestyle checks and tests
  • composer tests - run tests
  • composer coverage - run tests and generate code coverage report
  • composer cs - run codestyle checks
  • composer cs:fix - attempt to automatically fix codestyle violations

Run the composer package-scripts:list to show commands to only run specific tools.

Base test class

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
{
    // ...
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.