Skip to content
Snippets Groups Projects
Commit 9ad33815 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Use phpunit directly instead of via phpunit-bridge

This way the phpunit dependencies can be pinned.
parent b4a17ccf
No related branches found
No related tags found
No related merge requests found
Pipeline #81582 failed
/_coverage
/*.cache
cghooks.lock
.idea
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
......@@ -6,9 +11,6 @@
/var/
/vendor/
###< symfony/framework-bundle ###
.idea
/npm-debug.log
.phpunit.result.cache
###> symfony/phpunit-bridge ###
.phpunit
......@@ -16,9 +18,7 @@
/phpunit.xml
###< symfony/phpunit-bridge ###
/_coverage
/public/docs
/*.cache
cghooks.lock
\ No newline at end of file
###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###
......@@ -55,17 +55,15 @@
"@auto-scripts"
],
"test": [
"@php bin/phpunit"
"@php vendor/bin/phpunit"
],
"coverage": [
"@php bin/phpunit --coverage-html _coverage"
"@php vendor/bin/phpunit --coverage-html _coverage"
],
"phpstan": [
"@php bin/phpunit --atleast-version 0",
"@php vendor/bin/phpstan analyze --ansi"
],
"psalm": [
"@php bin/phpunit --atleast-version 0",
"@php vendor/bin/psalm"
],
"lint": [
......@@ -97,6 +95,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.0.2",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9",
"symfony/browser-kit": "^5.4",
"symfony/debug-bundle": "^5.4",
"symfony/http-client": "^5.4",
......
This diff is collapsed.
......@@ -7,8 +7,6 @@ parameters:
paths:
- src
- tests
bootstrapFiles:
- bin/.phpunit/phpunit-9-0/vendor/autoload.php
excludePaths:
- tests/bootstrap.php
- src/Swagger/DocumentationNormalizer.php
......
......@@ -12,8 +12,6 @@
<server name="APP_ENV" value="test" force="true"/>
<server name="KERNEL_CLASS" value="App\Kernel"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="9"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
<testsuites>
......
......@@ -76,6 +76,9 @@
"doctrine/inflector": {
"version": "2.0.4"
},
"doctrine/instantiator": {
"version": "1.4.0"
},
"doctrine/lexer": {
"version": "1.2.1"
},
......@@ -121,6 +124,9 @@
"monolog/monolog": {
"version": "2.3.5"
},
"myclabs/deep-copy": {
"version": "1.10.2"
},
"nelmio/cors-bundle": {
"version": "2.1",
"recipe": {
......@@ -142,6 +148,12 @@
"openlss/lib-array2xml": {
"version": "1.0.0"
},
"phar-io/manifest": {
"version": "2.0.3"
},
"phar-io/version": {
"version": "3.1.0"
},
"php-cs-fixer/diff": {
"version": "v2.0.2"
},
......@@ -154,12 +166,44 @@
"phpdocumentor/type-resolver": {
"version": "1.5.1"
},
"phpspec/prophecy": {
"version": "v1.15.0"
},
"phpstan/phpstan": {
"version": "1.1.1"
},
"phpstan/phpstan-phpunit": {
"version": "1.0.0"
},
"phpunit/php-code-coverage": {
"version": "9.2.10"
},
"phpunit/php-file-iterator": {
"version": "3.0.6"
},
"phpunit/php-invoker": {
"version": "3.1.1"
},
"phpunit/php-text-template": {
"version": "2.0.4"
},
"phpunit/php-timer": {
"version": "5.0.3"
},
"phpunit/phpunit": {
"version": "9.5",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "9.3",
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
},
"files": [
".env.test",
"phpunit.xml.dist",
"tests/bootstrap.php"
]
},
"psr/cache": {
"version": "1.0.1"
},
......@@ -184,9 +228,54 @@
"ralouphie/getallheaders": {
"version": "3.0.3"
},
"sebastian/cli-parser": {
"version": "1.0.1"
},
"sebastian/code-unit": {
"version": "1.0.8"
},
"sebastian/code-unit-reverse-lookup": {
"version": "2.0.3"
},
"sebastian/comparator": {
"version": "4.0.6"
},
"sebastian/complexity": {
"version": "2.0.2"
},
"sebastian/diff": {
"version": "4.0.4"
},
"sebastian/environment": {
"version": "5.1.3"
},
"sebastian/exporter": {
"version": "4.0.4"
},
"sebastian/global-state": {
"version": "5.0.3"
},
"sebastian/lines-of-code": {
"version": "1.0.3"
},
"sebastian/object-enumerator": {
"version": "4.0.4"
},
"sebastian/object-reflector": {
"version": "2.0.4"
},
"sebastian/recursion-context": {
"version": "4.0.4"
},
"sebastian/resource-operations": {
"version": "3.0.3"
},
"sebastian/type": {
"version": "2.3.4"
},
"sebastian/version": {
"version": "3.0.2"
},
"spomky-labs/base64url": {
"version": "v2.0.4"
},
......@@ -517,6 +606,9 @@
"symfony/yaml": {
"version": "v5.3.6"
},
"theseer/tokenizer": {
"version": "1.2.1"
},
"twig/twig": {
"version": "v3.3.3"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment