Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test enhancement #2

Merged
merged 1 commit into from
Jan 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ branches:
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.2
- php: 7.1
- php: 7.0
- php: 5.6
- php: 5.5
- php: hhvm
sudo: required
dist: trusty
group: edge

before_install:
- if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then echo 'xdebug.enable = on' >> /etc/hhvm/php.ini; fi
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"gpslab/cqrs": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
"phpunit/phpunit": "^4.8.36",
"scrutinizer/ocular": "~1.3",
"satooshi/php-coveralls": "^1.0"
"php-coveralls/php-coveralls": "^1.0"
}
}
3 changes: 2 additions & 1 deletion tests/ObviousSpecificationQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
namespace GpsLab\Component\Query\Specification;

use Happyr\DoctrineSpecification\Spec;
use PHPUnit\Framework\TestCase;

class ObviousSpecificationQueryTest extends \PHPUnit_Framework_TestCase
class ObviousSpecificationQueryTest extends TestCase
{
public function testHasModifier()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/SpecificationQueryHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
use Doctrine\ORM\EntityManagerInterface;
use Happyr\DoctrineSpecification\EntitySpecificationRepositoryInterface;
use Happyr\DoctrineSpecification\Spec;
use PHPUnit\Framework\TestCase;

class SpecificationQueryHandlerTest extends \PHPUnit_Framework_TestCase
class SpecificationQueryHandlerTest extends TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject|EntityManagerInterface
Expand Down