Skip to content

Commit 5aa287a

Browse files
authored
Merge pull request #17 from doesntmattr/modernise-library
Modernise library
2 parents 68e50e9 + 115589f commit 5aa287a

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ sudo: false
22
language: php
33

44
php:
5-
- 5.4
6-
- 5.5
75
- 5.6
86

97
env:

composer.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "doesntmattr/mongodb-migrations",
33
"type": "library",
44
"description": "Managed Database Migrations for MongoDB",
5-
"keywords": ["antimattr", "database", "doctrine", "migration", "mongodb"],
5+
"keywords": ["doesntmattr", "antimattr", "database", "doctrine", "migration", "mongodb"],
66
"homepage": "http://github.com/doesntmattr/mongodb-migrations",
77
"license": "MIT",
88
"authors": [
@@ -13,29 +13,33 @@
1313
"antimattr/mongodb-migrations" : "*"
1414
},
1515
"require": {
16-
"php": ">=5.4.45",
17-
"doctrine/mongodb": "1.*",
18-
"symfony/console": "^2.5|^3.0|^4",
19-
"symfony/yaml": "^2.5|^3.0|^4"
16+
"php": "^5.6|^7.1",
17+
"doctrine/mongodb": "^1.0",
18+
"symfony/console": "^2.7|^3.3|^4",
19+
"symfony/yaml": "^2.7|^3.3|^4"
2020
},
2121
"require-dev": {
2222
"antimattr/test-case": "~1.0@stable",
23-
"phpunit/phpunit": "~4.0",
24-
"friendsofphp/php-cs-fixer": "^1.0",
23+
"phpunit/phpunit": "^5.0",
24+
"friendsofphp/php-cs-fixer": "^2.0",
2525
"mikey179/vfsStream": "1.*"
2626
},
2727
"autoload": {
28-
"psr-0": { "AntiMattr\\MongoDB\\Migrations\\": "src/" }
28+
"psr-4": {
29+
"AntiMattr\\": "src/AntiMattr"
30+
}
2931
},
3032
"autoload-dev": {
31-
"psr-0": {
32-
"AntiMattr\\TestCase\\": "vendor/antimattr/test-case/src",
33-
"AntiMattr\\Tests\\MongoDB\\Migrations\\": "tests/"
33+
"psr-4": {
34+
"AntiMattr\\": [
35+
"vendor/antimattr/test-case/src/AntiMattr",
36+
"tests/AntiMattr"
37+
]
3438
}
3539
},
3640
"extra": {
3741
"branch-alias": {
38-
"dev-master": "1.0.x-dev"
42+
"dev-master": "1.2.x-dev"
3943
}
4044
},
4145
"archive": {

tests/AntiMattr/Tests/MongoDB/Migrations/OutputWriterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class OutputWriterTest extends AntiMattrTestCase
1111

1212
protected function setUp()
1313
{
14-
$this->output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
14+
$this->output = $this->createMock('Symfony\Component\Console\Output\OutputInterface');
1515
$output = $this->output;
1616
$this->outputWriter = new OutputWriter(function ($message) use ($output) {
1717
return $output->writeln($message);

0 commit comments

Comments
 (0)