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

Deprecated: strpos() #13

Open
lbailey-ucsf opened this issue Nov 13, 2024 · 0 comments · May be fixed by #14
Open

Deprecated: strpos() #13

lbailey-ucsf opened this issue Nov 13, 2024 · 0 comments · May be fixed by #14

Comments

@lbailey-ucsf
Copy link

"2 risky tests" reported when running core unit tests in MOODLE_404_STABLE (M4.4.3)

There were 2 risky tests:

1) availability_mobileapp_condition_testcase::test_in_tree
This test printed output: 
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

2) availability_mobileapp_condition_testcase::test_usage
This test printed output: 
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/runner/work/moodle/moodle/availability/condition/mobileapp/classes/condition.php on line 97
@stopfstedt stopfstedt linked a pull request Nov 15, 2024 that will close this issue
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 a pull request may close this issue.

1 participant