Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3424701
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3424701
Commits
d5c0c588
Commit
d5c0c588
authored
7 months ago
by
catch
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci/pipeline.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci/pipeline.yml
core/tests/PHPStan/composer.json
+1
-1
1 addition, 1 deletion
core/tests/PHPStan/composer.json
core/tests/PHPStan/phpunit.xml.dist
+3
-3
3 additions, 3 deletions
core/tests/PHPStan/phpunit.xml.dist
with
6 additions
and
6 deletions
.gitlab-ci/pipeline.yml
+
2
−
2
View file @
d5c0c588
# 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
:
...
...
This diff is collapsed.
Click to expand it.
core/tests/PHPStan/composer.json
+
1
−
1
View file @
d5c0c588
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
core/tests/PHPStan/phpunit.xml.dist
+
3
−
3
View file @
d5c0c588
...
...
@@ -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. -->
<
coverag
e>
<
sourc
e>
<include>
<directory>
Rules
</directory>
</include>
</
coverag
e>
</
sourc
e>
</phpunit>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment