Skip to content

Fix PHP 8.3 deprecations#2

Merged
JanPetterMG merged 1 commit into
VIPnytt:masterfrom
kudmni:patch-1
Feb 20, 2025
Merged

Fix PHP 8.3 deprecations#2
JanPetterMG merged 1 commit into
VIPnytt:masterfrom
kudmni:patch-1

Conversation

@kudmni

@kudmni kudmni commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

E_DEPRECATED: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated {"code":8192,"message":"stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated","file":"/var/www/vendor/vipnytt/useragentparser/src/UserAgentParser.php","line":113}

E_DEPRECATED: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated {"code":8192,"message":"stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated","file":"/var/www/vendor/vipnytt/useragentparser/src/UserAgentParser.php","line":113}

E_DEPRECATED: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated {"code":8192,"message":"stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated","file":"/var/www/vendor/vipnytt/useragentparser/src/UserAgentParser.php","line":113}

E_DEPRECATED: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated {"code":8192,"message":"stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated","file":"/var/www/vendor/vipnytt/useragentparser/src/UserAgentParser.php","line":113}
@JanPetterMG JanPetterMG merged commit 806f25b into VIPnytt:master Feb 20, 2025
@JanPetterMG

Copy link
Copy Markdown
Collaborator

Thanks!
Version 1.0.6 is now released.

@edim24

edim24 commented Feb 20, 2025

Copy link
Copy Markdown

Running
composer require vipnytt/useragentparser:1.0.6
causes such error:

 Problem 1
    - Root composer.json requires vipnytt/useragentparser 1.0.6 (exact version match: 1.0.6 or 1.0.6.0), found vipnytt/useragentparser[dev-master, v0.1.0, v0.2.0, v0.2.1, v1.0.0, ..., v1.0.5] but it does not match the constraint.

With previous version (1.0.5) all works fine.

@edim24

edim24 commented Feb 21, 2025

Copy link
Copy Markdown

Sorry, the problem was in cache (((

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants