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

[REF][PHP8.1] Ensure that NULL is not passed to substr in CRM_Utils_F… #23914

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

seamuslee001
Copy link
Contributor

…ile::addTrailingSlash

Overview

This aims to fix the following deprecation Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/jenkins/bknix-edge/build/build-0/web/sites/all/modules/civicrm/CRM/Utils/File.php on line 267 which is triggered when trying to run CRM API etc unit tests on php8.1

Before

Deprecation triggered

After

No Deprecation triggered

ping @eileenmcnaughton @totten @demeritcowboy

@civibot
Copy link

civibot bot commented Jun 29, 2022

(Standard links)

@demeritcowboy
Copy link
Contributor

jenkins retest this please

@demeritcowboy demeritcowboy merged commit c898b8c into civicrm:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants