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

Depend on phpunit directly instead of using the phpunit-bridge

parent 84b53a65
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9",
"symfony/browser-kit": "^5.2",
"symfony/http-client": "^5.2",
"symfony/monolog-bundle": "^3.7",
......@@ -37,14 +38,12 @@
},
"scripts": {
"test": [
"@php vendor/bin/simple-phpunit"
"@php vendor/bin/phpunit"
],
"phpstan": [
"@php vendor/bin/simple-phpunit --atleast-version 0",
"@php vendor/bin/phpstan analyze --ansi"
],
"psalm": [
"@php vendor/bin/simple-phpunit --atleast-version 0",
"@php vendor/bin/psalm"
],
"lint": [
......@@ -59,7 +58,7 @@
"@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff"
],
"coverage": [
"@php vendor/bin/simple-phpunit --coverage-html _coverage"
"@php vendor/bin/phpunit --coverage-html _coverage"
]
}
}
This diff is collapsed.
......@@ -7,8 +7,6 @@ parameters:
paths:
- src
- tests
bootstrapFiles:
- vendor/bin/.phpunit/phpunit-9-0/vendor/autoload.php
excludePaths:
- tests/bootstrap.php
ignoreErrors:
......
......@@ -11,8 +11,6 @@
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<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"/>
<server name="KERNEL_CLASS" value="Dbp\Relay\TemplateBundle\Tests\Kernel"/>
</php>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment