File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6
6
xmlns =" https://getpsalm.org/schema/config"
7
7
xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8
+ findUnusedBaselineEntry =" true"
9
+ findUnusedCode =" false"
8
10
>
9
11
<projectFiles >
10
12
<directory name =" src" />
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ private function isCurrentLog($ident, $facility)
79
79
*/
80
80
private function switchToLog ($ ident , $ option , $ facility )
81
81
{
82
+ /** @psalm-suppress RedundantCondition Always true in php 8.2 but no clear documentation found */
82
83
if (openlog ($ ident , $ option , $ facility )) {
83
84
self ::$ current_ident = $ ident ;
84
85
self ::$ current_facility = $ facility ;
@@ -115,4 +116,4 @@ private function checkPriority($priority)
115
116
throw new \Exception ('Invalid syslog priority ' );
116
117
}
117
118
}
118
- }
119
+ }
You can’t perform that action at this time.
0 commit comments