Skip to content

Maestro updates to PHPUnit 8.0 #14

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

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"webmozart/path-util": "^2.3"
},
"require-dev": {
"phpunit/phpunit": "~7.0",
"phpunit/phpunit": "^9.0",
"symfony/filesystem": "^3.2",
"friendsofphp/php-cs-fixer": "~2.15.0",
"phpstan/phpstan": "~0.12.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/ClassToFileConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ClassToFileConverterTest extends IntegrationTestCase
{
private $classLoader;

public function setUp()
protected function setUp(): void
{
$this->classLoader = require __DIR__.'/../../vendor/autoload.php';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Composer/ComposerClassToFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ComposerClassToFileTest extends ComposerTestCase
*/
private $converter;

public function setUp()
protected function setUp(): void
{
$this->initWorkspace();
$this->logger = $this->prophesize(LoggerInterface::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Composer/ComposerFileToClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class ComposerFileToClassTest extends ComposerTestCase
{
public function setUp()
protected function setUp(): void
{
$this->initWorkspace();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Composer/ComposerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
abstract class ComposerTestCase extends IntegrationTestCase
{
public function setUp()
protected function setUp(): void
{
$this->initWorkspace();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Simple/SimpleClassToFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SimpleClassToFileTest extends SimpleTestCase
*/
private $classToFile;

public function setUp()
protected function setUp(): void
{
$this->initWorkspace();
$this->copyProject();
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Simple/SimpleFileToClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SimpleFileToClassTest extends SimpleTestCase
*/
private $fileToClass;

public function setUp()
protected function setUp(): void
{
$this->initWorkspace();
$this->copyProject();
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ChainClassToFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ChainClassToFileTest extends TestCase
private $classToFile1;
private $classToFile2;

public function setUp()
protected function setUp(): void
{
$this->classToFile1 = $this->prophesize(ClassToFile::class);
$this->classToFile2 = $this->prophesize(ClassToFile::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ChainFileToClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ChainFileToClassTest extends TestCase
private $fileToClass1;
private $fileToClass2;

public function setUp()
protected function setUp(): void
{
$this->fileToClass1 = $this->prophesize(FileToClass::class);
$this->fileToClass2 = $this->prophesize(FileToClass::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CompositeTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CompositeTransformerTest extends TestCase
{
private $transformer;

public function setUp()
protected function setUp(): void
{
$this->classToFile = $this->prophesize(ClassToFile::class);
$this->fileToClassCandidates = $this->prophesize(FileToClass::class);
Expand Down