Skip to content

Commit

Permalink
PSR-4
Browse files Browse the repository at this point in the history
  • Loading branch information
amacneil committed Apr 14, 2014
1 parent d3ef603 commit b84f938
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 21 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,9 @@ php:
- 5.3
- 5.4
- 5.5

env:
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.1"
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.1"
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.*"
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.*"
- hhvm

before_script:
- composer self-update
- composer --version
- composer require symfony/http-foundation:${SYMFONY_VERSION} --no-update
- composer require guzzle/http:${GUZZLE_VERSION} --no-update
- composer install -n --dev --prefer-source

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"autoload": {
"psr-0": { "Omnipay\\GoCardless\\" : "src/" }
"psr-4": { "Omnipay\\GoCardless\\" : "src/" }
},
"require": {
"omnipay/common": "~2.0"
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit b84f938

Please sign in to comment.