Skip to content

Commit e94616f

Browse files
tools(deps-dev): Update phpunit/phpunit requirement from 10.1.3 to 10.2.0 in /tools/phpunit (#375)
* tools(deps-dev): Update phpunit/phpunit requirement in /tools/phpunit Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.0/ChangeLog-10.2.md) - [Commits](sebastianbergmann/phpunit@10.1.3...10.2.0) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * migrate phpunit config Signed-off-by: Jan Kowalleck <[email protected]> * clean scripts Signed-off-by: Jan Kowalleck <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jan Kowalleck <[email protected]>
1 parent 771303a commit e94616f

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

composer.json

+8
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@
7676
}
7777
},
7878
"scripts": {
79+
"clean": [
80+
"rm -rf reports",
81+
"@php tools/psalm/vendor/vimeo/psalm/psalm --clear-cache",
82+
"@php tools/psalm/vendor/vimeo/psalm/psalm --clear-global-cache",
83+
"rm -rf .*.cache",
84+
"rm -rf .tmp"
85+
],
7986
"cs-fix": "@php tools/php-cs-fixer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --diff",
8087
"dev-setup": [
8188
"@composer -d tools/composer-normalize update",
@@ -107,6 +114,7 @@
107114
"test:psalm": "@php tools/psalm/vendor/vimeo/psalm/psalm"
108115
},
109116
"scripts-descriptions": {
117+
"clean": "Remove all results, caches, temp-files and so on.",
110118
"cs-fix": "Fix files according to coding standards.",
111119
"dev-setup": "Install dev-requirements and tools.",
112120
"normalize": "Normalize composer.json",

phpunit.dist.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
<directory>tests</directory>
1818
</testsuite>
1919
</testsuites>
20-
<coverage cacheDirectory=".phpunit.cache/code-coverage">
20+
<source>
2121
<include>
22-
<directory suffix=".php">src</directory>
22+
<directory>src</directory>
2323
</include>
24+
</source>
25+
<coverage cacheDirectory=".phpunit.cache/code-coverage">
2426
<report>
2527
<clover outputFile="reports/coverage.clover.xml"/>
2628
<html outputDirectory="reports/coverage.html"/>

tools/phpunit/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "metapackage",
44
"description": "phpunit",
55
"require-dev": {
6-
"phpunit/phpunit": "10.1.3",
6+
"phpunit/phpunit": "10.2.0",
77
"roave/security-advisories": "dev-latest"
88
},
99
"config": {

0 commit comments

Comments
 (0)