Skip to content

Commit ba3beb4

Browse files
authored
Merge pull request #37 from MekDrop/bump-phpunit-to-12
bump phpunit to ^12
2 parents a4168fb + 820590d commit ba3beb4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"smarty-plugins"
3333
],
3434
"require-dev": {
35-
"phpunit/phpunit": "^10.0",
35+
"phpunit/phpunit": "^12.0",
3636
"squizlabs/php_codesniffer": "^3.8",
3737
"phpstan/phpstan": "^2"
3838
},

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd"
44
bootstrap="./vendor/autoload.php"
55
cacheDirectory=".phpunit.cache"
66
executionOrder="depends,defects"

tests/DebugExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testGetModifierCallback(): void
3535
/**
3636
* Data provider for testModifierInSmartyTemplate
3737
*/
38-
public function getInvokeData(): array
38+
public static function getInvokeData(): array
3939
{
4040
$object = new stdClass();
4141
$object->test = 'a';

0 commit comments

Comments
 (0)