Skip to content

Deprecated: trim() with PHP 8.2Β #138

@yovannygomez

Description

@yovannygomez

I have updated my project to PHP 8.2 and the warning has started to appear. My brainmaestro/composer-git-hooks version of is v2.8.5

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /vendor/brainmaestro/composer-git-hooks/src/helpers.php on line 54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions