Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception in HTTPFutureHTTPResponseStatus
Closed, ResolvedPublic

Description

  1. PHP 8.3.10; Arcanist at 3f893c1484ec17adf3211fa014f9ef70bdeca837
  2. Run ./bin/arc unit --everything
  3. Apart from D25800 and D25801 and T15929, get:
[2024-08-26 18:41:44] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/html/phorge/arcanist/src/future/http/status/HTTPFutureHTTPResponseStatus.php:16]
arcanist(head=master, ref.master=3f893c1484ec)
  #0 HTTPFutureHTTPResponseStatus::__construct(integer, NULL, array) called at [<arcanist>/src/parser/http/PhutilHTTPResponseParser.php:122]
  #1 PhutilHTTPResponseParser::readBytes(string) called at [<arcanist>/src/parser/http/__tests__/PhutilHTTPResponseParserTestCase.php:108]
  #2 PhutilHTTPResponseParserTestCase::assertParse(array, string) called at [<arcanist>/src/parser/http/__tests__/PhutilHTTPResponseParserTestCase.php:14]
  #3 PhutilHTTPResponseParserTestCase::testSimpleParsing() called at [<arcanist>/src/unit/engine/phutil/PhutilTestCase.php:639]
  #4 PhutilTestCase::run() called at [<arcanist>/src/unit/engine/PhutilUnitTestEngine.php:69]
  #5 PhutilUnitTestEngine::run() called at [<arcanist>/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php:148]
  #6 ArcanistConfigurationDrivenUnitTestEngine::run() called at [<arcanist>/src/workflow/ArcanistUnitWorkflow.php:170]
  #7 ArcanistUnitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:427]

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.