Skip to content

Commit aa78f8d

Browse files
committed
Enhance PHPUnit fixtures
1 parent 2163c5b commit aa78f8d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ before_install:
1616
- phpenv config-rm xdebug.ini || echo "xdebug not available"
1717
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
1818
- export PATH="$PATH:$HOME/.composer/vendor/bin"
19-
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-6.5.phar
19+
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-7.5.phar
2020
- if [[ $coverage = 1 ]]; then mkdir -p build/logs; fi
2121
- if [[ $coverage = 1 ]]; then wget https://github.com/satooshi/php-coveralls/releases/download/v2.0.0/php-coveralls.phar; fi
2222
- if [[ $lint = 1 ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.10.0/php-cs-fixer.phar; fi

tests/AnnotationGenerator/ApiPlatformCoreAnnotationGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ApiPlatformCoreAnnotationGeneratorTest extends TestCase
2828
*/
2929
private $generator;
3030

31-
public function setUp()
31+
protected function setUp(): void
3232
{
3333
$graph = new \EasyRdf_Graph();
3434
$myEnum = new \EasyRdf_Resource('http://schema.org/MyEnum', $graph);

tests/Command/GenerateTypesCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GenerateTypesCommandTest extends TestCase
2828
*/
2929
private $fs;
3030

31-
public function setUp()
31+
protected function setUp(): void
3232
{
3333
$this->fs = new Filesystem();
3434
}

0 commit comments

Comments
 (0)