Skip to content

Commit

Permalink
Merge pull request #17 from doesntmattr/modernise-library
Browse files Browse the repository at this point in the history
Modernise library
  • Loading branch information
caciobanu authored Feb 21, 2018
2 parents 68e50e9 + 115589f commit 5aa287a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ sudo: false
language: php

php:
- 5.4
- 5.5
- 5.6

env:
Expand Down
28 changes: 16 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "doesntmattr/mongodb-migrations",
"type": "library",
"description": "Managed Database Migrations for MongoDB",
"keywords": ["antimattr", "database", "doctrine", "migration", "mongodb"],
"keywords": ["doesntmattr", "antimattr", "database", "doctrine", "migration", "mongodb"],
"homepage": "http://github.com/doesntmattr/mongodb-migrations",
"license": "MIT",
"authors": [
Expand All @@ -13,29 +13,33 @@
"antimattr/mongodb-migrations" : "*"
},
"require": {
"php": ">=5.4.45",
"doctrine/mongodb": "1.*",
"symfony/console": "^2.5|^3.0|^4",
"symfony/yaml": "^2.5|^3.0|^4"
"php": "^5.6|^7.1",
"doctrine/mongodb": "^1.0",
"symfony/console": "^2.7|^3.3|^4",
"symfony/yaml": "^2.7|^3.3|^4"
},
"require-dev": {
"antimattr/test-case": "~1.0@stable",
"phpunit/phpunit": "~4.0",
"friendsofphp/php-cs-fixer": "^1.0",
"phpunit/phpunit": "^5.0",
"friendsofphp/php-cs-fixer": "^2.0",
"mikey179/vfsStream": "1.*"
},
"autoload": {
"psr-0": { "AntiMattr\\MongoDB\\Migrations\\": "src/" }
"psr-4": {
"AntiMattr\\": "src/AntiMattr"
}
},
"autoload-dev": {
"psr-0": {
"AntiMattr\\TestCase\\": "vendor/antimattr/test-case/src",
"AntiMattr\\Tests\\MongoDB\\Migrations\\": "tests/"
"psr-4": {
"AntiMattr\\": [
"vendor/antimattr/test-case/src/AntiMattr",
"tests/AntiMattr"
]
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.2.x-dev"
}
},
"archive": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class OutputWriterTest extends AntiMattrTestCase

protected function setUp()
{
$this->output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
$this->output = $this->createMock('Symfony\Component\Console\Output\OutputInterface');
$output = $this->output;
$this->outputWriter = new OutputWriter(function ($message) use ($output) {
return $output->writeln($message);
Expand Down

0 comments on commit 5aa287a

Please sign in to comment.