Skip to content

Commit 79a2aeb

Browse files
committed
Chore(deps) - Moved PHPUnit dependency under main dependencies
1 parent 95ca0dd commit 79a2aeb

File tree

7 files changed

+1967
-4217
lines changed

7 files changed

+1967
-4217
lines changed

composer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,15 @@
7272
"require-dev": {
7373
"bamarni/composer-bin-plugin": "1.8.2",
7474
"doctrine/doctrine-fixtures-bundle": "4.1.0",
75+
"liuggio/fastest": "1.13.0",
76+
"phpunit/php-code-coverage": "12.1.2",
77+
"phpunit/phpcov": "11.0.0",
78+
"phpunit/phpunit": "12.1.4",
7579
"roave/security-advisories": "dev-latest",
7680
"symfony/browser-kit": "7.2.4",
7781
"symfony/debug-bundle": "7.2.0",
7882
"symfony/maker-bundle": "1.63.0",
83+
"symfony/phpunit-bridge": "7.2.0",
7984
"symfony/requirements-checker": "2.0.3",
8085
"symfony/stopwatch": "7.2.4",
8186
"symfony/var-dumper": "7.2.3",
@@ -118,12 +123,6 @@
118123
"autoload-dev": {
119124
"psr-4": {
120125
"App\\Tests\\": "tests/",
121-
"PHPUnit\\": "tools/01_phpunit/vendor/phpunit/phpunit/src",
122-
"Symfony\\Bridge\\PhpUnit\\": "tools/01_phpunit/vendor/symfony/phpunit-bridge",
123-
"Liuggio\\Fastest\\": [
124-
"tools/01_phpunit/vendor/liuggio/fastest/src",
125-
"tools/01_phpunit/vendor/liuggio/fastest/adapters"
126-
],
127126
"PhpCsFixer\\": "tools/04_symplify/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src",
128127
"Symplify\\CodingStandard\\": "tools/04_symplify/vendor/symplify/easy-coding-standard/vendor/symplify/coding-standard/src",
129128
"Symplify\\EasyCodingStandard\\": "tools/04_symplify/vendor/symplify/easy-coding-standard/src",
@@ -133,10 +132,6 @@
133132
"PHPStan\\Symfony\\": "tools/02_phpstan/vendor/phpstan/phpstan-symfony/src/Symfony",
134133
"PHPStan\\Type\\PHPUnit\\": "tools/02_phpstan/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit",
135134
"PHPStan\\Type\\Symfony\\": "tools/02_phpstan/vendor/phpstan/phpstan-symfony/src/Type/Symfony",
136-
"PHPUnit\\Framework\\MockObject\\": [
137-
"tools/01_phpunit/vendor/phpunit/phpunit/src/Framework/MockObject",
138-
"tools/01_phpunit/vendor/phpunit/phpunit/src/Framework/MockObject/Runtime"
139-
],
140135
"Rector\\": "tools/09_rector/vendor/rector"
141136
}
142137
},

composer.lock

Lines changed: 1927 additions & 199 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml.dist

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
33
<phpunit
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="tools/01_phpunit/vendor/phpunit/phpunit/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
66
colors="true"
77
testdox="true"
88
testdoxSummary="true"
@@ -70,7 +70,11 @@
7070
<junit outputFile="build/logs/junit.xml"/>
7171
</logging>
7272

73-
<source>
73+
<source
74+
ignoreSuppressionOfDeprecations="true"
75+
restrictNotices="true"
76+
restrictWarnings="true"
77+
>
7478
<include>
7579
<directory suffix=".php">./src</directory>
7680
</include>

symfony.lock

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,20 @@
170170
"phpdocumentor/type-resolver": {
171171
"version": "1.0.1"
172172
},
173+
"phpunit/phpunit": {
174+
"version": "12.1",
175+
"recipe": {
176+
"repo": "github.com/symfony/recipes",
177+
"branch": "main",
178+
"version": "10.0",
179+
"ref": "bb22cf8d8c554a623b427d5f3416b538f5525233"
180+
},
181+
"files": [
182+
".env.test",
183+
"phpunit.dist.xml",
184+
"tests/bootstrap.php"
185+
]
186+
},
173187
"psr/cache": {
174188
"version": "1.0.1"
175189
},
@@ -345,6 +359,21 @@
345359
"symfony/password-hasher": {
346360
"version": "v5.3.0"
347361
},
362+
"symfony/phpunit-bridge": {
363+
"version": "7.2",
364+
"recipe": {
365+
"repo": "github.com/symfony/recipes",
366+
"branch": "main",
367+
"version": "6.3",
368+
"ref": "a411a0480041243d97382cac7984f7dce7813c08"
369+
},
370+
"files": [
371+
".env.test",
372+
"bin/phpunit",
373+
"phpunit.xml.dist",
374+
"tests/bootstrap.php"
375+
]
376+
},
348377
"symfony/polyfill-intl-grapheme": {
349378
"version": "v1.17.0"
350379
},

tools/01_phpunit/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/01_phpunit/composer.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)