Commit bb866782 authored by catch's avatar catch
Browse files

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

parent fffc68d7
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# cspell:ignore cobertura drupaltestbot drupaltestbotpw
# cspell:ignore cobertura drupaltestbot drupaltestbotpw testdox

stages:
  - 🗜️ Test
@@ -191,7 +191,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:
+1 −1
Original line number Diff line number Diff line
@@ -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.7"
    },
    "license": "GPL-2.0-or-later",
+3 −3
Original line number Diff line number Diff line
@@ -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>