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
Unknown Object (File)
Tue, Nov 26, 6:43 PM
Unknown Object (File)
Tue, Nov 26, 8:31 AM
Unknown Object (File)
Tue, Nov 19, 5:27 AM
Unknown Object (File)
Mon, Nov 11, 5:47 AM
Unknown Object (File)
Sun, Nov 3, 11:57 AM
Unknown Object (File)
Oct 24 2024, 9:22 AM
Unknown Object (File)
Oct 23 2024, 12:44 PM
Unknown Object (File)
Oct 23 2024, 3:15 AM
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.