Skip to content
Snippets Groups Projects
Commit d5c0c588 authored by catch's avatar catch
Browse files

Issue #3464978 by mondrake: Make PHPStan rule testing use PHPUnit 10

parent d7fe8641
No related branches found
No related tags found
No related merge requests found
# cspell:ignore cobertura drupaltestbot drupaltestbotpw Dwebdriver logfile XVFB
# cspell:ignore cobertura drupaltestbot drupaltestbotpw Dwebdriver logfile testdox XVFB
stages:
- 🗜️ Test
......@@ -222,7 +222,7 @@ variables:
- docker-php-ext-enable pcov
- cd core/tests/PHPStan
- composer install
- vendor/bin/phpunit tests --coverage-text --colors=never --coverage-cobertura=coverage.cobertura.xml --log-junit junit.xml
- vendor/bin/phpunit tests --testdox --coverage-text --colors=never --coverage-cobertura=coverage.cobertura.xml --log-junit junit.xml
# Default job settings runs a script that junit files in a specific location..
after_script: []
artifacts:
......
......@@ -2,7 +2,7 @@
"name": "drupal/phpstan-testing",
"description": "Tests Drupal core's PHPStan rules",
"require-dev": {
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^10",
"phpstan/phpstan": "1.11.8"
},
"license": "GPL-2.0-or-later",
......
......@@ -6,7 +6,7 @@
beStrictAboutChangesToGlobalState="true"
failOnWarning="true"
cacheResult="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
<php>
<!-- Set error reporting to E_ALL. -->
<ini name="error_reporting" value="32767"/>
......@@ -19,9 +19,9 @@
</testsuite>
</testsuites>
<!-- Settings for coverage reports. -->
<coverage>
<source>
<include>
<directory>Rules</directory>
</include>
</coverage>
</source>
</phpunit>
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