Skip to content

Commit fa27feb

Browse files
committed
Update to PHPUnit 8
1 parent 3a91eca commit fa27feb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=7.1",
14+
"php": ">=7.2",
1515
"wol-soft/php-micro-template": "^1.3",
1616
"symplify/easy-coding-standard": "^4.1"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^7.1"
19+
"phpunit/phpunit": "^8.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

src/Model/Validator/PropertyTemplateValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
}
4848

4949
/**
50-
* Get the source code for the coeck to perform
50+
* Get the source code for the check to perform
5151
*
5252
* @return string
5353
*

tests/AbstractPHPModelGeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class AbstractPHPModelGeneratorTest extends TestCase
2323

2424
private $generatedFiles = [];
2525

26-
public static function setUpBeforeClass()
26+
public static function setUpBeforeClass(): void
2727
{
2828
if (is_dir(sys_get_temp_dir() . '/PHPModelGeneratorTest')) {
2929
$di = new RecursiveDirectoryIterator(sys_get_temp_dir() . '/PHPModelGeneratorTest', FilesystemIterator::SKIP_DOTS);
@@ -38,7 +38,7 @@ public static function setUpBeforeClass()
3838
@mkdir(sys_get_temp_dir() . '/PHPModelGeneratorTest/Models');
3939
}
4040

41-
public function tearDown()
41+
public function tearDown(): void
4242
{
4343
parent::tearDown();
4444

0 commit comments

Comments
 (0)