Skip to content

Commit

Permalink
Merge pull request #123 from creative-commoners/pulls/3/phpunit11
Browse files Browse the repository at this point in the history
DEP Use PHPUnit 11
  • Loading branch information
GuySartorelli authored Sep 18, 2024
2 parents e1bd979 + d6bc335 commit eb982e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"psr/simple-cache": "^3.0.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^11.3",
"mikey179/vfsstream": "^1.6",
"squizlabs/php_codesniffer": "^3.7",
"silverstripe/standards": "^1",
Expand Down
3 changes: 2 additions & 1 deletion tests/Transformer/YamlTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use org\bovigo\vfs\vfsStream;
use Symfony\Component\Finder\Finder;
use MJS\TopSort\CircularDependencyException;
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;

class YamlTransformerTest extends TestCase
{
Expand Down Expand Up @@ -74,8 +75,8 @@ protected function getConfigDirectory()

/**
* Test that we can have an empty file without throwing any errors.
* @doesNotPerformAssertions
*/
#[DoesNotPerformAssertions]
public function testEmptyFileIgnored()
{
file_put_contents($this->getFilePath('empty.yml') ?? '', '');
Expand Down

0 comments on commit eb982e2

Please sign in to comment.