Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit c6a4f08

Browse files
committed
Merge branch 'improvement/174'
Close #174
2 parents 936fa7a + aed14b0 commit c6a4f08

36 files changed

+169
-171
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.phpunit.result.cache
12
/clover.xml
23
/coveralls-upload.json
34
/docs/html/

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ matrix:
2020
- php: 7.1
2121
env:
2222
- DEPS=locked
23+
- LEGACY_DEPS="phpunit/phpunit"
2324
- CS_CHECK=true
2425
- TEST_COVERAGE=true
2526
- php: 7.1
@@ -48,9 +49,10 @@ before_install:
4849
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4950

5051
install:
51-
- travis_retry composer install $COMPOSER_ARGS
52+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
53+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
5254
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
53-
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
55+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update $COMPOSER_ARGS --prefer-lowest --prefer-stable ; fi
5456
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
5557
- stty cols 120 && composer show
5658

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"ext-phar": "*",
2424
"doctrine/annotations": "^1.0",
25-
"phpunit/phpunit": "^7.5.15",
25+
"phpunit/phpunit": "^7.5.16 || ^8.4",
2626
"zendframework/zend-coding-standard": "^1.0",
2727
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2828
},

composer.lock

Lines changed: 56 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/Annotation/AnnotationManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class AnnotationManagerTest extends TestCase
2020
{
21-
public function setUp()
21+
protected function setUp() : void
2222
{
2323
if (! getenv('TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT')) {
2424
$this->markTestSkipped(

test/Annotation/DoctrineAnnotationParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class DoctrineAnnotationParserTest extends TestCase
2323
*/
2424
private $parser;
2525

26-
public function setUp()
26+
protected function setUp() : void
2727
{
2828
if (! getenv('TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT')) {
2929
$this->markTestSkipped(

test/Annotation/GenericAnnotationParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GenericAnnotationParserTest extends TestCase
2323
*/
2424
private $parser;
2525

26-
public function setUp()
26+
protected function setUp() : void
2727
{
2828
$this->parser = new Annotation\Parser\GenericAnnotationParser();
2929
}

test/Generator/AbstractMemberGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AbstractMemberGeneratorTest extends TestCase
2020
*/
2121
private $fixture;
2222

23-
protected function setUp()
23+
protected function setUp() : void
2424
{
2525
$this->fixture = $this->getMockForAbstractClass(AbstractMemberGenerator::class);
2626
}

0 commit comments

Comments
 (0)