minor #14103 [PhpunitBridge] Trim final stop from deprecation message (WouterJ)
This PR was merged into the 2.7 branch.
Discussion
----------
[PhpunitBridge] Trim final stop from deprecation message
**Before**
```
The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the
setMethods() method instead or the "methods" option in the route definition.: 18x
```
**After**
```
The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the
setMethods() method instead or the "methods" option in the route definition: 18x
```
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
98f3ba9
Trim final stop from deprecation message
This commit is contained in:
commit
a49c4328e8
@ -105,7 +105,7 @@ class DeprecationErrorHandler
|
||||
uasort($deprecations[$group], $cmp);
|
||||
|
||||
foreach ($deprecations[$group] as $msg => $notices) {
|
||||
echo "\n", $msg, ': ', $notices['count'], "x\n";
|
||||
echo "\n", rtrim($msg, '.'), ': ', $notices['count'], "x\n";
|
||||
|
||||
arsort($notices);
|
||||
|
||||
|
Reference in New Issue
Block a user