Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vimeo/psalm to v5.7.1 #90

Merged
merged 2 commits into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"guzzlehttp/guzzle": "7.5.0",
"fluent/logger": "1.0.1",
"phpunit/phpunit": "9.6.3",
"vimeo/psalm": "5.6.0",
"vimeo/psalm": "5.7.1",
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
"phpcompatibility/php-compatibility": "9.3.5",
"cyclonedx/cyclonedx-php-composer": "3.11.0",
Expand Down
54 changes: 27 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src" />
Expand Down
3 changes: 2 additions & 1 deletion src/Adaptor/Syslog.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ private function isCurrentLog($ident, $facility)
*/
private function switchToLog($ident, $option, $facility)
{
/** @psalm-suppress RedundantCondition Always true in php 8.2 but no clear documentation found */
if (openlog($ident, $option, $facility)) {
self::$current_ident = $ident;
self::$current_facility = $facility;
Expand Down Expand Up @@ -115,4 +116,4 @@ private function checkPriority($priority)
throw new \Exception('Invalid syslog priority');
}
}
}
}