Skip to content

Commit

Permalink
Update to use PHPUnit 10 syntax (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Nov 8, 2024
1 parent a3c86d1 commit 4e96c05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"require": {
"php": ">=8.1",
"spiral/distribution": "^3.14.6",
"spiral/distribution": "^3.15",
"league/flysystem": "^2.3.1 || ^3.0"
},
"autoload": {
Expand All @@ -35,7 +35,7 @@
}
},
"require-dev": {
"spiral/boot": "^3.14.6",
"spiral/boot": "^3.15",
"phpunit/phpunit": "^10.1",
"vimeo/psalm": "^5.9",
"jetbrains/phpstorm-attributes": "^1.0",
Expand Down
4 changes: 1 addition & 3 deletions tests/FileTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

use Spiral\Storage\Visibility;

/**
* @group unit
*/
#[\PHPUnit\Framework\Attributes\Group('unit')]
class FileTestCase extends TestCase
{
public function testPathname(): void
Expand Down
4 changes: 1 addition & 3 deletions tests/ManagerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
use Spiral\Storage\Bucket;
use Spiral\Storage\Visibility;

/**
* @group unit
*/
#[\PHPUnit\Framework\Attributes\Group('unit')]
class ManagerTestCase extends TestCase
{
/**
Expand Down
4 changes: 1 addition & 3 deletions tests/StorageTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
use Spiral\Storage\Bucket;
use Spiral\Storage\Visibility;

/**
* @group unit
*/
#[\PHPUnit\Framework\Attributes\Group('unit')]
class StorageTestCase extends TestCase
{
public function testCreate(): void
Expand Down

0 comments on commit 4e96c05

Please sign in to comment.