Download the PHP package soundasleep/component-tests without Composer
On this page you can find all versions of the php package soundasleep/component-tests. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download soundasleep/component-tests
More information about soundasleep/component-tests
Files in soundasleep/component-tests
Download soundasleep/component-tests
More information about soundasleep/component-tests
Files in soundasleep/component-tests
Vendor soundasleep
Package component-tests
Short Description Common Composer and PHP component lint and validation tests
License
Package component-tests
Short Description Common Composer and PHP component lint and validation tests
License
Please rate this library. Is it a good library?
Informations about the package component-tests
component-tests
Common Composer and PHP component lint and validation tests.
Tests
- Check that all
.json
files are valid JSON (usingjson_decode
) - Check that all
.php
files are valid PHP (usingphp -l
) - Check that all
composer.json
files are valid according to the Composer JSON-schema - Check that all PHP files that use
require()
etc. use__DIR__
in the path - Check that all PHP files that use
require()
etc. refer to files that actually exist
Using
First include component-tests
as a requirement in your project composer.json
,
and run composer update
to install it into your project:
Now create an instance of \ComponentTests\ComponentTest
to define which paths
to search (and optionally exclude):
You can now run this test through your normal phpunit
.
Tests
This component is tested itself; install the composer requirements with composer install
and run vendor/bin/phpunit
.
All versions of component-tests with dependencies
PHP Build Version
Package Version
The package soundasleep/component-tests contains the following files
Loading the files please wait ....