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

PHPUnit 10 Shift #1408

Merged
merged 3 commits into from
Sep 15, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ node_modules/

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

/.phpunit.cache
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"nunomaduro/collision": "^7.0",
"nunomaduro/larastan": "^2.6",
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0",
"phpunit/phpunit": "^10.0",
"rector/rector": "^0.18.0"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/BooksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Tests\TestCase;

class BooksTest extends TestCase
final class BooksTest extends TestCase
{
/**
* @throws \DariusIII\ItunesApi\Exceptions\InvalidProviderException
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Tests\TestCase;

class SettingsTest extends TestCase
final class SettingsTest extends TestCase
{
public function testSettingValue(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Install/InstallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Class InstallTest.
*/
class InstallTest extends \PHPUnit\Framework\TestCase
final class InstallTest extends \PHPUnit\Framework\TestCase
{
public function testFullInstall(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPUnit\Framework\TestCase;

class ExampleTest extends TestCase
final class ExampleTest extends TestCase
{
/**
* A basic test example.
Expand Down