https://github.com/kuria/dev-meta
Common Kuria library development dependencies and scripts
https://github.com/kuria/dev-meta
codestyle coding-standards php tests
Last synced: 11 months ago
JSON representation
Common Kuria library development dependencies and scripts
- Host: GitHub
- URL: https://github.com/kuria/dev-meta
- Owner: kuria
- License: mit
- Created: 2018-03-11T17:38:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-22T14:39:58.000Z (almost 3 years ago)
- Last Synced: 2025-02-04T09:31:00.479Z (about 1 year ago)
- Topics: codestyle, coding-standards, php, tests
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Kuria development meta
######################
Common development dependencies and scripts for Kuria libraries.
.. contents::
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 `_.
.. code:: php