You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
9
9
For a full diff see [`2.6.0...main`][2.6.0...main].
10
10
11
+
### Changed
12
+
13
+
- Widened version constraints to allow installation with `phpunit/phpunit:^8.5.19`, `phpunit/phpunit:^9.0.0`, and `phpunit/phpunit:^10.0.0` ([#396]), by [@localheinz]
14
+
11
15
## [`2.6.0`][2.6.0]
12
16
13
17
For a full diff see [`2.5.0...2.6.0`][2.5.0...2.6.0].
@@ -226,6 +230,7 @@ For a full diff see [`7afa59c...1.0.0`][7afa59c...1.0.0].
coding-standards: vendor ## Lints YAML files with yamllint, normalizes composer.json with ergebnis/composer-normalize, and fixes code style issues with friendsofphp/php-cs-fixer
@@ -60,10 +60,10 @@ static-code-analysis-baseline: vendor ## Generates a baseline for static code an
60
60
.PHONY: tests
61
61
tests: ## Runs unit and end-to-end tests with phpunit/phpunit
@@ -40,7 +40,7 @@ Download `phpunit-slow-test-detector.phar` from the [latest release](https://git
40
40
41
41
### Bootstrapping the extension as a `composer` package
42
42
43
-
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^8.5.14` or `phpunit/phpunit:^9.6.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/9.6/configuration.html#the-extensions-element):
43
+
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^8.5.19` or `phpunit/phpunit:^9.0.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/9.6/configuration.html#the-extensions-element):
44
44
45
45
```diff
46
46
<phpunit
@@ -59,7 +59,7 @@ To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^
59
59
</phpunit>
60
60
```
61
61
62
-
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^10.4.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/10.4/configuration.html#the-extensions-element):
62
+
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^10.0.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/10.4/configuration.html#the-extensions-element):
63
63
64
64
```diff
65
65
<phpunit
@@ -80,7 +80,7 @@ To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^
80
80
81
81
### Bootstrapping the extension as a PHAR
82
82
83
-
To bootstrap the extension as a PHAR when using `phpunit/phpunit:^10.4.0`, adjust your `phpunit.xml` configuration file and configure the [`extensionsDirectory` attribute](https://docs.phpunit.de/en/10.4/configuration.html#the-extensionsdirectory-attribute) of the [`<phpunit>` element](https://docs.phpunit.de/en/10.4/configuration.html#the-phpunit-element):
83
+
To bootstrap the extension as a PHAR when using `phpunit/phpunit:^10.0.0`, adjust your `phpunit.xml` configuration file and configure the [`extensionsDirectory` attribute](https://docs.phpunit.de/en/10.4/configuration.html#the-extensionsdirectory-attribute) of the [`<phpunit>` element](https://docs.phpunit.de/en/10.4/configuration.html#the-phpunit-element):
84
84
85
85
```diff
86
86
<phpunit
@@ -107,7 +107,7 @@ You can configure the extension with the following parameters in your `phpunit.x
107
107
-`maximum-count`, an `int`, the maximum count of slow test that should be listed, defaults to `10`
108
108
-`maximum-duration`, an `int`, the maximum duration in milliseconds for all tests, defaults to `500`
109
109
110
-
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^10.4.0`:
110
+
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^10.0.0`:
111
111
112
112
```diff
113
113
<phpunit
@@ -130,7 +130,7 @@ The following example configures the maximum count of slow tests to three, and t
130
130
</phpunit>
131
131
```
132
132
133
-
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^8.5.0` or `phpunit/phpunit:^9.6.0`:
133
+
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^8.5.19` or `phpunit/phpunit:^9.0.0`:
134
134
135
135
```diff
136
136
<phpunit
@@ -218,7 +218,7 @@ vendor/bin/phpunit
218
218
When the extension has detected slow tests, it will report them:
219
219
220
220
```txt
221
-
PHPUnit 10.4.0 by Sebastian Bergmann and contributors.
221
+
PHPUnit 10.0.0 by Sebastian Bergmann and contributors.
0 commit comments