Skip to content

Commit

Permalink
Merge branch '1.0' into 1
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 24, 2024
2 parents 6e64ac9 + 75545b6 commit b68459e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"bin/mdphpcs"
],
"require-dev": {
"phpunit/phpunit": "^9.6"
"phpunit/phpunit": "^11.3"
}
}
6 changes: 3 additions & 3 deletions tests/SnifferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
use SilverStripe\MarkdownPhpCodeSniffer\Sniffer;
use PHPUnit\Framework\Attributes\DataProvider;

class SnifferTest extends TestCase
{
/**
* Validates that fenced code blocks are correctly identified and have the expected data
*
* @dataProvider provideFindFencedBlocks
*/
#[DataProvider('provideFindFencedBlocks')]
public function testFindFencedCodeBlocks(
string $path,
bool $exists,
Expand Down Expand Up @@ -48,7 +48,7 @@ public function testFindFencedCodeBlocks(
}
}

public function provideFindFencedBlocks()
public static function provideFindFencedBlocks()
{
return [
'nothing to lint 1' => [
Expand Down

0 comments on commit b68459e

Please sign in to comment.