Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Commit da03db3

Browse files
author
Webysther Nunes
committed
Deps and readme
1 parent ab4fed3 commit da03db3

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: php
2+
3+
php:
4+
- 7.0
5+
- 5.6
6+
- 5.5
7+
- 5.4
8+
- 5.3
9+
- hhvm
10+
11+
script:
12+
# Update composer to latest version.
13+
- composer self-update || true
14+
# Validate composer.json file.
15+
- composer validate
16+
# Try to install all requirements.
17+
- composer install
18+
# Check if there is a security issue with the required packages.
19+
- bin/security-checker security:check

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
# Metapackage for PHP QA Tools
1+
# Metapackage for PHP QA Tools
2+
3+
This is a composer meta package for installing PHP Quality Assurance Tools with only one dependency, based on [h4cc/phpqatools](https://github.com/h4cc/phpqatools).
4+
5+
# Usage
6+
7+
The installed tools are available in vendor/bin/ and can be started like this:
8+
9+
```bash
10+
php vendor/bin/phpmd
11+
```
12+
13+
# Installation
14+
15+
To use this package, add it as as "dev" dependency with this command:
16+
17+
```bash
18+
composer require webs/composer-meta-qa --dev
19+
```
20+
21+
Or modify your composer.json as followed:
22+
23+
```json
24+
require-dev: {
25+
"webs/composer-meta-qa": "@stable"
26+
}
27+
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"email": "webysther@gmail.com"
1111
}
1212
],
13-
"require-dev": {
13+
"require": {
1414
"behat/behat": "@stable",
1515
"brianium/paratest": "@stable",
1616
"friendsofphp/php-cs-fixer": "@stable",

0 commit comments

Comments
 (0)