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
@@ -104,11 +105,13 @@ To bootstrap the extension as a `composer` package when using
104
105
105
106
-`phpunit/phpunit:^10.0.0`
106
107
-`phpunit/phpunit:^11.0.0`
108
+
-`phpunit/phpunit:^12.0.0`
107
109
108
110
adjust your `phpunit.xml` configuration file and configure the
109
111
110
112
-[`extensions` element](https://docs.phpunit.de/en/10.5/configuration.html#the-extensions-element) on [`phpunit/phpunit:^10.0.0`](https://docs.phpunit.de/en/10.5/)
111
113
-[`extensions` element](https://docs.phpunit.de/en/11.0/configuration.html#the-extensions-element) on [`phpunit/phpunit:^11.0.0`](https://docs.phpunit.de/en/11.0/)
114
+
-[`extensions` element](https://docs.phpunit.de/en/12.0/configuration.html#the-extensions-element) on [`phpunit/phpunit:^12.0.0`](https://docs.phpunit.de/en/12.0/)
112
115
113
116
```diff
114
117
<phpunit
@@ -163,11 +166,13 @@ To bootstrap the extension as a PHAR when using
163
166
164
167
-`phpunit/phpunit:^10.0.0`
165
168
-`phpunit/phpunit:^11.0.0`
169
+
-`phpunit/phpunit:^12.0.0`
166
170
167
171
adjust your `phpunit.xml` configuration file and configure the
168
172
169
173
-[`extensionsDirectory` attribute](https://docs.phpunit.de/en/10.5/configuration.html#the-extensionsdirectory-attribute) and the [`extensions` element](https://docs.phpunit.de/en/10.5/configuration.html#the-extensions-element) on [`phpunit/phpunit:^10.0.0`](https://docs.phpunit.de/en/10.5/)
170
174
-[`extensionsDirectory` attribute](https://docs.phpunit.de/en/11.0/configuration.html#the-extensionsdirectory-attribute) and the [`extensions` element](https://docs.phpunit.de/en/11.0/configuration.html#the-extensions-element) on [`phpunit/phpunit:^11.0.0`](https://docs.phpunit.de/en/11.0/)
175
+
-[`extensionsDirectory` attribute](https://docs.phpunit.de/en/12.0/configuration.html#the-extensionsdirectory-attribute) and the [`extensions` element](https://docs.phpunit.de/en/12.0/configuration.html#the-extensions-element) on [`phpunit/phpunit:^12.0.0`](https://docs.phpunit.de/en/12.0/)
171
176
172
177
```diff
173
178
<phpunit
@@ -284,11 +289,13 @@ To configure the extension when using
284
289
285
290
-`phpunit/phpunit:^10.0.0`
286
291
-`phpunit/phpunit:^11.0.0`
292
+
-`phpunit/phpunit:^12.0.0`
287
293
288
294
adjust your `phpunit.xml` configuration file and configure one or more
289
295
290
296
-[`parameter` elements](https://docs.phpunit.de/en/10.5/configuration.html#the-parameter-element) on [`phpunit/phpunit:^10.0.0`](https://docs.phpunit.de/en/10.5/)
291
297
-[`parameter` elements](https://docs.phpunit.de/en/11.0/configuration.html#the-parameter-element) on [`phpunit/phpunit:^11.0.0`](https://docs.phpunit.de/en/11.0/)
298
+
-[`parameter` elements](https://docs.phpunit.de/en/12.0/configuration.html#the-parameter-element) on [`phpunit/phpunit:^12.0.0`](https://docs.phpunit.de/en/12.0/)
292
299
293
300
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds:
294
301
@@ -320,6 +327,7 @@ You can configure the maximum duration for a single test case with
320
327
- an `Attribute\MaximumDuration` attribute when using
321
328
-`phpunit/phpunit:^10.0.0`
322
329
-`phpunit/phpunit:^11.0.0`
330
+
-`phpunit/phpunit:^12.0.0`
323
331
- a `@maximumDuration` annotation in the DocBlock when using
324
332
-`phpunit/phpunit:^6.5.0`
325
333
-`phpunit/phpunit:^7.5.0`
@@ -450,6 +458,7 @@ When using
450
458
451
459
-`phpunit/phpunit:^10.0.0`
452
460
-`phpunit/phpunit:^11.0.0`
461
+
-`phpunit/phpunit:^12.0.0`
453
462
454
463
the extension uses the new event system of `phpunit/phpunit`.
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -380,6 +380,21 @@ parameters:
380
380
count:1
381
381
path:test/Unit/Version/MajorTest.php
382
382
383
+
-
384
+
message:"#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Version\\\\MajorTest\\:\\:testIsLessThanReturnsFalseWhenValueIsGreater\\(\\) has no return type specified\\.$#"
385
+
count:1
386
+
path:test/Unit/Version/MajorTest.php
387
+
388
+
-
389
+
message:"#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Version\\\\MajorTest\\:\\:testIsLessThanReturnsFalseWhenValueIsSame\\(\\) has no return type specified\\.$#"
390
+
count:1
391
+
path:test/Unit/Version/MajorTest.php
392
+
393
+
-
394
+
message:"#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Version\\\\MajorTest\\:\\:testIsLessThanReturnsTrueWhenValueIsLess\\(\\) has no return type specified\\.$#"
395
+
count:1
396
+
path:test/Unit/Version/MajorTest.php
397
+
383
398
-
384
399
message:"#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Version\\\\MajorTest\\:\\:testIsOneOfReturnsFalseWhenAllValuesAreDifferent\\(\\) has no return type specified\\.$#"
0 commit comments