Skip to content

Commit 271ce63

Browse files
committed
PSR-4
1 parent 4f753d9 commit 271ce63

15 files changed

+3
-21
lines changed

.travis.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@ php:
44
- 5.3
55
- 5.4
66
- 5.5
7-
8-
env:
9-
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.1"
10-
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.1"
11-
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.*"
12-
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.*"
7+
- hhvm
138

149
before_script:
15-
- composer self-update
16-
- composer --version
17-
- composer require symfony/http-foundation:${SYMFONY_VERSION} --no-update
18-
- composer require guzzle/http:${GUZZLE_VERSION} --no-update
1910
- composer install -n --dev --prefer-source
2011

2112
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"autoload": {
26-
"psr-0": { "Omnipay\\Payflow\\" : "src/" }
26+
"psr-4": { "Omnipay\\Payflow\\" : "src/" }
2727
},
2828
"require": {
2929
"omnipay/common": "~2.0"

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4-
bootstrap="tests/bootstrap.php"
4+
bootstrap="vendor/autoload.php"
55
colors="true"
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/bootstrap.php

-9
This file was deleted.

0 commit comments

Comments
 (0)