Skip to content

Commit

Permalink
Drop HHVM and PHP 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Jun 8, 2017
1 parent 803a2ed commit f19b128
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ cache:
- $HOME/.composer/cache

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 7.1
- nightly

allowed_failures:
- nightly

install:
- composer install -n
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
{"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"}
],
"require": {
"php": ">=5.3.2"
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"
"phpunit/phpunit": "^6.2"
},
"autoload": {
"psr-0": { "Doctrine\\Common\\Inflector\\": "lib/" }
},
"extra": {
"branch-alias": {
"dev-master": "1.1.x-dev"
"dev-master": "1.2.x-dev"
}
}
}
6 changes: 4 additions & 2 deletions tests/Doctrine/Tests/DoctrineTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

namespace Doctrine\Tests;

use PHPUnit\Framework\TestCase;

/**
* Base testcase class for all Doctrine testcases.
*/
abstract class DoctrineTestCase extends \PHPUnit_Framework_TestCase
abstract class DoctrineTestCase extends TestCase
{
}
}

3 comments on commit f19b128

@garrettw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As 5.6 is still being supported and many people still use it, would it not be a good idea to support it here as well until its lifecycle ends (at the end of 2018)?

@GrahamCampbell
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it's still supported by the previous version of this package I guess?

@alcaeus
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garrettw we've started dropping PHP 5.x from all Doctrine projects. As @GrahamCampbell said, if you need support for PHP 5.6, the 1.1.0 release will always provide that. 1.2.0 will require PHP 7.

Please sign in to comment.