Page MenuHomePhabricator

Fix a PHP 8.1 strlen() issue with "mysql.pass" configuration
ClosedPublic

Authored by epriestley on Dec 16 2021, 11:07 PM.
Tags
None
Referenced Files
F19935876: D21744.id51836.diff
Sun, Apr 12, 4:45 AM
F19932799: D21744.id51830.diff
Fri, Apr 10, 8:28 PM
F19912395: D21744.diff
Thu, Apr 2, 6:37 PM
F19883647: D21744.id51837.diff
Fri, Mar 20, 11:11 PM
F19827895: D21744.id51836.diff
Mar 9 2026, 1:57 PM
F19811647: D21744.id.diff
Mar 4 2026, 1:58 AM
F19703765: D21744.id51831.diff
Feb 11 2026, 2:38 AM
F19527812: D21744.diff
Jan 19 2026, 4:29 AM
Subscribers
None

Details

Summary

Ref T13588. This configuration value may not be set.

Also fix an issue in bin/storage and whatever else I hit between now and this diff actually uploading.

Also fix a MySQLi report mode difference, beginning in PHP 8.1.

Also update a bunch of "static" property usage in Lisk.

Test Plan

Ran bin/files ... locally under PHP 8.1.

Diff Detail

Repository
rP Phabricator
Branch
php81
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25623
Build 35449: Run Core Tests
Build 35448: arc lint + arc unit

Event Timeline

  • Add annotations for interfaces implemented by PhabricatorHandleList.
  • Fix a strlen() in query construction.
  • Correct behavior in query clause construction.
  • Fix a piece of user initializing code for PHP 8.1.
  • Fix a PHP 8.1 issue in user querying.
  • Fix a PHP 8.1 check in local disk storage engine code.
  • Fix a PHP 8.1 issue in application search code.
  • Fix another random PHP 8.1 issue.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 16 2021, 11:24 PM
This revision was automatically updated to reflect the committed changes.