Skip to content

Commit

Permalink
scrutinizer integratio + Code cleaning + PHPSpec data provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jmleroux committed Mar 15, 2016
1 parent df9febd commit 438341c
Show file tree
Hide file tree
Showing 10 changed files with 997 additions and 424 deletions.
13 changes: 13 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
checks:
php:
code_rating: true
duplication: true

filter:
paths:
- src/*

build:
environment:
php:
version: 5.6
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ before_install:
- composer selfupdate

install:
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --no-interaction install
- composer --prefer-source --no-interaction update

script:
- bin/phpspec run --format=pretty
- bin/behat

notifications:
email:
- [email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ according to [Shields specification](https://github.com/badges/shields#specifica
This library is used by https://poser.pugx.org

[![Latest Stable Version](https://poser.pugx.org/badges/poser/version.svg)](https://packagist.org/packages/badges/poser) [![Latest Unstable Version](https://poser.pugx.org/badges/poser/v/unstable.svg)](//packagist.org/packages/badges/poser) [![Total Downloads](https://poser.pugx.org/badges/poser/downloads.svg)](https://packagist.org/packages/badges/poser)

[![Build Status](https://travis-ci.org/badges/poser.svg?branch=master)](https://travis-ci.org/badges/poser)

## Use as command

Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"psr-4": { "PUGX\\Poser\\": "src/" }
},
"require": {
"symfony/console": "~2.0|~3.0"
"php": ">=5.3",
"symfony/console": "~2.0|~3.0",
"coduo/phpspec-data-provider-extension": "^1.0"
},
"require-dev": {
"phpspec/phpspec": "2.*",
Expand Down
Loading

0 comments on commit 438341c

Please sign in to comment.