Skip to content

Commit d370085

Browse files
committed
Prepare for package separation
1 parent 603e7d8 commit d370085

File tree

6 files changed

+69
-6
lines changed

6 files changed

+69
-6
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
*.log
2-
.DS_Store
3-
/.idea/
41
/vendor
52
composer.lock
63
composer.phar

.travis.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
- 5.4
6+
- 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.*"
13+
14+
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
19+
- composer install -n --dev --prefer-source
20+
21+
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text

composer.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "omnipay/buckaroo",
3+
"type": "library",
4+
"description": "Buckaroo driver for the Omnipay payment processing library",
5+
"keywords": [
6+
"buckaroo",
7+
"gateway",
8+
"merchant",
9+
"omnipay",
10+
"pay",
11+
"payment"
12+
],
13+
"homepage": "https://github.com/omnipay/buckaroo",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "Adrian Macneil",
18+
"email": "[email protected]"
19+
},
20+
{
21+
"name": "Omnipay Contributors",
22+
"homepage": "https://github.com/omnipay/buckaroo/contributors"
23+
}
24+
],
25+
"autoload": {
26+
"psr-0": { "Omnipay\\Buckaroo\\" : "src/" }
27+
},
28+
"require": {
29+
"omnipay/common": "2.*"
30+
},
31+
"require-dev": {
32+
"guzzle/plugin-mock": "~3.1",
33+
"mockery/mockery": "~0.8",
34+
"omnipay/tests": "2.*",
35+
"phpunit/phpunit": "~3.7.16",
36+
"squizlabs/php_codesniffer": "~1.4.4"
37+
},
38+
"extra": {
39+
"branch-alias": {
40+
"dev-master": "2.0.x-dev"
41+
}
42+
},
43+
"minimum-stability": "dev",
44+
"prefer-stable": true
45+
}

tests/Omnipay/Buckaroo/GatewayTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Omnipay\Buckaroo;
44

5-
use Omnipay\GatewayTestCase;
5+
use Omnipay\Tests\GatewayTestCase;
66

77
class GatewayTest extends GatewayTestCase
88
{

tests/Omnipay/Buckaroo/Message/CompletePurchaseRequestTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Omnipay\Buckaroo\Message;
44

5-
use Omnipay\TestCase;
5+
use Omnipay\Tests\TestCase;
66

77
class CompletePurchaseRequestTest extends TestCase
88
{

tests/Omnipay/Buckaroo/Message/PurchaseRequestTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Omnipay\Buckaroo\Message;
44

5-
use Omnipay\TestCase;
5+
use Omnipay\Tests\TestCase;
66

77
class PurchaseRequestTest extends TestCase
88
{

0 commit comments

Comments
 (0)