Page MenuHomePhabricator

Remove product literal strings in "pht()", part 20
ClosedPublic

Authored by epriestley on Apr 25 2022, 11:12 PM.
Tags
None
Referenced Files
F13127498: D21786.id51924.diff
Tue, Apr 30, 6:46 PM
Unknown Object (File)
Mon, Apr 29, 9:23 AM
Unknown Object (File)
Mon, Apr 29, 12:59 AM
Unknown Object (File)
Thu, Apr 25, 3:08 PM
Unknown Object (File)
Thu, Apr 25, 2:38 AM
Unknown Object (File)
Wed, Apr 24, 11:36 AM
Unknown Object (File)
Wed, Apr 24, 4:05 AM
Unknown Object (File)
Sat, Apr 20, 6:00 PM
Subscribers
None

Details

Summary

Ref T13658.

Test Plan

Static checks only.

Diff Detail

Repository
rP Phabricator
Branch
product21
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsrc/applications/herald/controller/HeraldWebhookViewController.php:56XHP134Use of Product Name Literal
Unit
Test Failures
Build Status
Buildable 25679
Build 35507: arc lint + arc unit

Unit TestsFailed

TimeTest
12 msPhabricatorObjectMailReceiverTestCase::testDropInvalidObjectMail
EXCEPTION (RuntimeException): strlen(): Passing null to parameter #1 ($string) of type string is deprecated #0 /Users/epriestley/dev/core/lib/phabricator/src/applications/maniphest/xaction/ManiphestTaskOwnerTransaction.php(115): PhutilErrorHandler::handleError(8192, 'strlen(): Passi...', '/Users/epriestl...', 115) #1 /Users/epriestley/dev/core/lib/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php(2612): ManiphestTaskOwnerTransaction->validateTransactions(Object(ManiphestTask), Array)
14 msPhabricatorObjectMailReceiverTestCase::testDropUserMismatchMail
EXCEPTION (RuntimeException): strlen(): Passing null to parameter #1 ($string) of type string is deprecated #0 /Users/epriestley/dev/core/lib/phabricator/src/applications/maniphest/xaction/ManiphestTaskOwnerTransaction.php(115): PhutilErrorHandler::handleError(8192, 'strlen(): Passi...', '/Users/epriestl...', 115) #1 /Users/epriestley/dev/core/lib/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php(2612): ManiphestTaskOwnerTransaction->validateTransactions(Object(ManiphestTask), Array)
207 msPhabricatorCelerityTestCase::testCelerityMaps
3 assertions passed.
10 msPhabricatorConduitTestCase::testConduitMethods
1 assertion passed.
0 msPhabricatorInfrastructureTestCase::testApplicationsInstalled
1 assertion passed.
View Full Test Results (2 Failed · 12 Passed)

Event Timeline

epriestley created this revision.
  • Fix a PHP 8.1 "strlen(null)" issue.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 25 2022, 11:47 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.