Skip to content

Commit

Permalink
PSR2 & PSR4 compliance.
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Mar 25, 2014
1 parent 8a6dee1 commit bd69a1c
Show file tree
Hide file tree
Showing 7 changed files with 1,270 additions and 362 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

branches:
only: master
matrix:
allow_failures:
- php: hhvm

notifications:
email: false
irc: "irc.iiens.net#Erebot"

before_script:
- if [ "$TRAVIS_PHP_VERSION" = "5.3.3" ]; then prefer_source="--prefer-source"; else prefer_source=""; fi
- composer self-update -n
- composer install --dev -n $prefer_source
- composer install --dev -n

script:
- phpunit --coverage-clover clover.xml --bootstrap vendor/erebot/testenv/bootstrap.php tests/
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"minimum-stability": "dev",
"name": "erebot/autoident-module",
"description": "Erebot module to automatically identity the bot to IRC services",
"keywords": ["Erebot", "IRC", "bot", "module"],
Expand All @@ -20,16 +21,16 @@
},
"require": {
"php": ">=5.2.2",
"erebot/api": "~0.6.1",
"erebot/api": "master-dev",
"erebot/generic-doc": "~0.1.0"
},
"require-dev": {
"erebot/buildenv": "~1.1",
"erebot/testenv": "~1.0"
},
"autoload": {
"psr-0": {
"Erebot": "src/"
"psr-4": {
"Erebot\\Module\\": "src/"
}
},
"extra": {
Expand Down

0 comments on commit bd69a1c

Please sign in to comment.