Skip to content

Commit f60328b

Browse files
committed
Drop obsolete E_STRICT error level
1 parent 5718904 commit f60328b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Tracy/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public static function errorTypeToString(int $type): string
130130
E_USER_WARNING => 'User Warning',
131131
E_NOTICE => 'Notice',
132132
E_USER_NOTICE => 'User Notice',
133-
E_STRICT => 'Strict standards',
134133
E_DEPRECATED => 'Deprecated',
135134
E_USER_DEPRECATED => 'User Deprecated',
136135
];

tests/Tracy.Bridges/TracyExtension.services.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $compiler->addExtension('tracy', new TracyExtension);
2424
$compiler->addConfig([
2525
'tracy' => [
2626
'logSeverity' => E_USER_NOTICE,
27-
'strictMode' => 'E_ALL & ~(E_STRICT|E_NOTICE)',
27+
'strictMode' => 'E_ALL & ~(E_NOTICE)',
2828
'scream' => ['E_DEPRECATED', 'E_USER_DEPRECATED'],
2929
'keysToHide' => ['abc'],
3030
],
@@ -49,7 +49,7 @@ Assert::same(Tracy\Debugger::getBlueScreen(), $container->getService('tracy.blue
4949
Assert::same(Tracy\Debugger::getBar(), $container->getService('tracy.bar'));
5050

5151
Assert::same(E_USER_NOTICE, Tracy\Debugger::$logSeverity);
52-
Assert::same(E_ALL & ~(E_STRICT | E_NOTICE), Tracy\Debugger::$strictMode);
52+
Assert::same(E_ALL & ~(E_NOTICE), Tracy\Debugger::$strictMode);
5353
Assert::same(E_DEPRECATED | E_USER_DEPRECATED, Tracy\Debugger::$scream);
5454
Assert::contains('password', Tracy\Debugger::getBlueScreen()->keysToHide);
5555
Assert::contains('abc', Tracy\Debugger::getBlueScreen()->keysToHide);

0 commit comments

Comments
 (0)