Skip to content

Commit

Permalink
Update phpunit to v10
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
  • Loading branch information
Sieg committed Feb 16, 2025
1 parent e5962c4 commit 562d6d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"oxid-esales/oxideshop-ce": "<7.0.0-rc.2"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.8.10",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"mikey179/vfsstream": "~1.6.8",
"codeception/codeception": "^5.0",
"codeception/codeception": "5.1",
"codeception/module-asserts": "^3.0",
"codeception/module-db": "^3.0",
"codeception/module-filesystem": "^3.0",
"codeception/module-webdriver": "^3.1",
"codeception/module-webdriver": "^4.0",
"oxid-esales/codeception-modules": "dev-b-7.1.x",
"oxid-esales/codeception-page-objects": "dev-b-7.1.x",
"oxid-esales/developer-tools": "dev-b-7.1.x"
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Email/Core/EmailExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function (
$calculatedUserFileName,
$calculatedOwnerFileName
) {
switch ($matcher->getInvocationCount()) {
switch ($matcher->numberOfInvocations()) {
case 1:
$this->assertSame($path, $invoicePath);
$this->assertSame($name, $calculatedUserFileName);
Expand Down
16 changes: 7 additions & 9 deletions tests/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true" processUncoveredFiles="false">
<source>
<include>
<directory suffix=".php">../src</directory>
</include>
</coverage>
</source>
<testsuites>
<testsuite name="Unit">
<directory>Unit/</directory>
Expand All @@ -27,4 +25,4 @@
<directory>Integration/</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>

0 comments on commit 562d6d0

Please sign in to comment.