Page MenuHomePhorge

PHP 8 fixes
ClosedPublic

Authored by mollekopf on Jan 24 2023, 1:34 PM.
Tags
None
Referenced Files
F12943734: D4010.id11462.diff
Fri, Jun 21, 10:10 PM
Unknown Object (File)
Thu, Jun 13, 12:40 AM
Unknown Object (File)
Wed, Jun 12, 5:46 PM
Unknown Object (File)
Tue, Jun 11, 2:39 PM
Unknown Object (File)
Tue, Jun 11, 1:29 AM
Unknown Object (File)
Fri, Jun 7, 1:46 PM
Unknown Object (File)
Tue, May 28, 7:11 AM
Unknown Object (File)
Thu, May 23, 6:06 PM
Subscribers

Details

Reviewers
machniak
Group Reviewers
Restricted Project
Commits
rACa9bf8b439f88: PHP 8 fixes

Diff Detail

Repository
rAC autoconf
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Jan 24 2023, 1:34 PM
machniak subscribed.
machniak added inline comments.
lib/Autodiscover.php
162

If $host is null str_replace() will throw a warning, no? Better to use empty string. Anyway, I don't see how is it possible to have $params[0] to be null/not-set?

169

This is not the same. What if the config is an empty string for some reason?

lib/AutodiscoverMicrosoft.php
166

Again, this is not the same.

This revision now requires changes to proceed.Jan 25 2023, 2:51 PM
This revision was not accepted when it landed; it landed in state Needs Revision.Feb 24 2023, 4:26 PM
Closed by commit rACa9bf8b439f88: PHP 8 fixes (authored by mollekopf). · Explain Why
This revision was automatically updated to reflect the committed changes.