Skip to content

Adding UserAgent Component #62

Adding UserAgent Component

Adding UserAgent Component #62

Triggered via pull request October 23, 2023 15:44
Status Failure
Total duration 1m 22s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

7 errors
UnusedClass: src/SonsOfPHP/Component/UserAgent/UserAgentFactoryInterface.php#L10
src/SonsOfPHP/Component/UserAgent/UserAgentFactoryInterface.php:10:11: UnusedClass: Class SonsOfPHP\Component\UserAgent\UserAgentFactoryInterface is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php#L12
src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php:12:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\UserAgent\UserAgentInterface::isBot (see https://psalm.dev/087)
PossiblyUnusedMethod: src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php#L14
src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php:14:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\UserAgent\UserAgentInterface::isMobile (see https://psalm.dev/087)
PossiblyUnusedMethod: src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php#L16
src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php:16:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\UserAgent\UserAgentInterface::isTablet (see https://psalm.dev/087)
PossiblyUnusedMethod: src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php#L18
src/SonsOfPHP/Component/UserAgent/UserAgentInterface.php:18:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\UserAgent\UserAgentInterface::isDesktop (see https://psalm.dev/087)
UnusedClass: src/SonsOfPHP/Component/UserAgent/UserAgentProviderInterface.php#L10
src/SonsOfPHP/Component/UserAgent/UserAgentProviderInterface.php:10:11: UnusedClass: Class SonsOfPHP\Component\UserAgent\UserAgentProviderInterface is never used (see https://psalm.dev/075)
Psalm (8.1)
Process completed with exit code 2.