Skip to content

Commit e89ce36

Browse files
committed
Added PHP_CodeSniffer, PHPMD & Sensiolabs Security Checker.
Updated documentation and added some awesome shields :)
1 parent 1611d9a commit e89ce36

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ script:
88
- composer self-update || true
99
- composer validate
1010
- composer install
11+
- ./vendor/bin/phpcs --version
12+
- ./vendor/bin/phpmd --version
1113
- ./vendor/bin/phpunit --version
14+
- ./vendor/bin/security-checker --version
15+
- ./vendor/bin/security-checker security:check composer.lock

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 Dealerdirect
3+
Copyright (c) 2016 Dealerdirect B.V.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Dealerdirect: PHP Quality Assurance Tools
22

3+
[![Travis](https://img.shields.io/travis/DealerDirect/php-qa-tools.svg?style=flat-square)](https://travis-ci.org/DealerDirect/php-qa-tools)
4+
[![Dependency Status](https://www.versioneye.com/user/projects/580939a4d65a77002f5eab70/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/580939a4d65a77002f5eab70)
5+
[![Packagist](https://img.shields.io/packagist/dt/dealerdirect/qa-tools.svg?style=flat-square)](https://packagist.org/packages/dealerdirect/qa-tools)
6+
![Maintenance](https://img.shields.io/maintenance/yes/2016.svg?style=flat-square)
7+
![Awesome](https://img.shields.io/badge/awesome%3F-yes-brightgreen.svg?style=flat-square)
8+
[![License](https://img.shields.io/github/license/dealerdirect/php-qa-tools.svg?style=flat-square)](https://github.com/DealerDirect/php-qa-tools)
9+
310
*“If you don’t have time to do it right you must have time to do it over.”*
411

512
This is essentially a Composer meta package, creating a fast, easy and
@@ -9,11 +16,15 @@ convenient way of installing all PHP Quality Assurance tools.
916

1017
You'll get the following tools by depending on this package:
1118

19+
* **[PHP_CodeSniffer]**: Detects violations of a defined set of coding standards
1220
* **[PHPMD]**: PHP Mess Detector
1321
* **[PHPUnit]**: Testing framework for PHP
22+
* **[SensioLabs Security Checker]**: Checks for dependencies with known security vulnerabilities
1423

15-
[PHPMD]: https://phpmd.org/
16-
[PHPUnit]: https://phpunit.de/
24+
[PHP_CodeSniffer]: https://github.com/squizlabs/PHP_CodeSniffer
25+
[PHPMD]: https://phpmd.org
26+
[PHPUnit]: https://phpunit.de
27+
[SensioLabs Security Checker]: https://security.sensiolabs.org/
1728

1829
## Contributing
1930

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"require": {
2626
"php": ">=5.6,<8.0-dev",
2727
"phpmd/phpmd": "^2.2.0",
28-
"phpunit/phpunit": "^5.5.0"
28+
"phpunit/phpunit": "^5.5.0",
29+
"sensiolabs/security-checker": "^4.0",
30+
"squizlabs/php_codesniffer": "^2.5"
2931
},
3032
"suggest": {
3133
},

0 commit comments

Comments
 (0)