Page MenuHomePhabricator

Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways
ClosedPublic

Authored by epriestley on May 3 2022, 6:10 PM.
Tags
None
Referenced Files
F19514239: D21795.diff
Tue, Jan 13, 11:48 PM
F19049509: D21795.id.diff
Nov 27 2025, 5:39 PM
F19040206: D21795.diff
Nov 26 2025, 11:33 AM
F19018283: D21795.id51964.diff
Nov 23 2025, 10:38 AM
F18877083: D21795.diff
Nov 6 2025, 6:03 AM
F18831987: D21795.id.diff
Oct 25 2025, 5:52 PM
F18827719: D21795.diff
Oct 24 2025, 11:39 AM
F18756621: D21795.id51964.diff
Oct 5 2025, 12:25 PM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13676. Ref T13588. Fix some issues that prevent "bin/phd" and "bin/drydock" from executing under PHP 8.1, broadly because null is being passed to strlen().

Test Plan

Ran bin/phd debug task and bin/drydock ... under PHP 8.1.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.May 3 2022, 6:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 3 2022, 10:57 PM
This revision was automatically updated to reflect the committed changes.