Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from mduplouy/refactoring
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
albancrommer committed Feb 23, 2016
2 parents c85c000 + 57a0ee6 commit 927b0c0
Show file tree
Hide file tree
Showing 79 changed files with 5,636 additions and 1,893 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/nbproject/private/
vendor/
/nbproject
/vendor/
/.project
35 changes: 35 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
filter:
path: [app/*]
excluded_paths: [vendor/*, tests/*]
checks:
php:
code_rating: true
duplication: true
build:
environment:
mongodb: false
redis: false
mysql: false
postgresql: false
dependencies:
before:
- 'cat /dev/null'
override:
- 'cat /dev/null'
after:
- 'cat /dev/null'
tests:
override:
- 'cat /dev/null'
tools:
php_mess_detector: true
php_analyzer: true
php_code_sniffer:
enabled: true
config:
standard: PSR2
external_code_coverage: true
php_pdepend: true
php_cpd:
enabled: true
excluded_dirs: [vendor, tests]
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: php

sudo: false

php:
- 5.3
- 5.4
- 5.5

install: composer install

script: ./vendor/bin/phpunit --coverage-clover=coverage.clover

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

cache:
directories:
- vendor
19 changes: 0 additions & 19 deletions AcmeException.php

This file was deleted.

Loading

0 comments on commit 927b0c0

Please sign in to comment.