Skip to content

Commit

Permalink
PSR-2 & PSR-4 compliance.
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Mar 30, 2014
1 parent afe4558 commit 3a31a7f
Show file tree
Hide file tree
Showing 7 changed files with 1,865 additions and 160 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
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"minimum-stability": "dev",
"name": "erebot/minised-module",
"description": "Erebot module that provides a simplified version of sed's substitution command",
"keywords": ["Erebot", "IRC", "bot", "module"],
Expand All @@ -14,12 +15,12 @@
"support": {
"email": "erebot@erebot.net",
"issues": "https://github.com/Erebot/Erebot_Module_MiniSed/issues",
"wiki": "http://erebot.github.com/Erebot_Module_MiniSed/",
"wiki": "http://erebot.github.io/Erebot_Module_MiniSed/",
"irc": "irc://irc.iiens.net/Erebot",
"source": "https://github.com/Erebot/Erebot_Module_MiniSed"
},
"require": {
"php": ">=5.2.2",
"php": ">=5.3.0",
"erebot/api": "dev-master",
"erebot/installers": "dev-master",
"erebot/generic-doc": "dev-master"
Expand All @@ -29,8 +30,8 @@
"erebot/testenv": "dev-master"
},
"autoload": {
"psr-0": {
"Erebot": "src/"
"psr-4": {
"Erebot\\Module\\": "src/"
}
},
"extra": {
Expand Down
Loading

0 comments on commit 3a31a7f

Please sign in to comment.