Page MenuHomePhorge

Deprecation notice @ HTTPFutureHTTPResponseStatus.php:16
Open, Needs TriagePublic

Description

1revi@WSL:~$ arc download F13285
2 DATA Downloading "Command-Line Input" (271 byte(s)) to "Command-Line Input"...
3[2024-08-29 15:15:37] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/home/revi/arcanist/src/future/http/status/HTTPFutureHTTPResponseStatus.php:16]
4arcanist(head=master, ref.master=04e3e250f7da)
5 #0 HTTPFutureHTTPResponseStatus::__construct(integer, NULL, array) called at [<arcanist>/src/parser/http/PhutilHTTPResponseParser.php:122]
6 #1 PhutilHTTPResponseParser::readBytes(string) called at [<arcanist>/src/future/http/HTTPSFuture.php:586]
7 #2 HTTPSFuture::didReceiveDataCallback(CurlHandle, string)
8 #3 curl_multi_exec(CurlMultiHandle, NULL) called at [<arcanist>/src/future/http/HTTPSFuture.php:494]
9 #4 HTTPSFuture::isReady() called at [<arcanist>/src/future/Future.php:63]
10 #5 Future::updateFuture() called at [<arcanist>/src/future/FutureIterator.php:224]
11 #6 FutureIterator::next() called at [<arcanist>/src/future/FutureIterator.php:190]
12 #7 FutureIterator::rewind()
13 #8 iterator_to_array(FutureIterator) called at [<arcanist>/src/future/FutureIterator.php:84]
14 #9 FutureIterator::resolveAll() called at [<arcanist>/src/future/Future.php:47]
15 #10 Future::resolve() called at [<arcanist>/src/future/http/BaseHTTPFuture.php:302]
16 #11 BaseHTTPFuture::resolvex() called at [<arcanist>/src/workflow/ArcanistDownloadWorkflow.php:161]
17 #12 ArcanistDownloadWorkflow::runWorkflow(PhutilArgumentParser) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:227]
18 #13 ArcanistWorkflow::executeWorkflow(PhutilArgumentParser) called at [<arcanist>/src/toolset/ArcanistPhutilWorkflow.php:21]
19 #14 ArcanistPhutilWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:493]
20 #15 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:171]
21 #16 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37]
22 #17 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6]
23 #18 require_once(string) called at [<arcanist>/bin/arc:10]
24[2024-08-29 15:15:37] ERROR 8192: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated at [/home/revi/arcanist/src/utils/utf8.php:127]
25arcanist(head=master, ref.master=04e3e250f7da)
26 #0 preg_match(string, NULL) called at [<arcanist>/src/utils/utf8.php:127]
27 #1 phutil_is_utf8_slowly(NULL) called at [<arcanist>/src/utils/utf8.php:106]
28 #2 phutil_is_utf8(NULL) called at [<arcanist>/src/utils/utf8.php:16]
29 #3 phutil_utf8ize(NULL) called at [<arcanist>/src/future/http/status/HTTPFutureHTTPResponseStatus.php:32]
30 #4 HTTPFutureHTTPResponseStatus::__construct(integer, NULL, array) called at [<arcanist>/src/parser/http/PhutilHTTPResponseParser.php:122]
31 #5 PhutilHTTPResponseParser::readBytes(string) called at [<arcanist>/src/future/http/HTTPSFuture.php:586]
32 #6 HTTPSFuture::didReceiveDataCallback(CurlHandle, string)
33 #7 curl_multi_exec(CurlMultiHandle, NULL) called at [<arcanist>/src/future/http/HTTPSFuture.php:494]
34 #8 HTTPSFuture::isReady() called at [<arcanist>/src/future/Future.php:63]
35 #9 Future::updateFuture() called at [<arcanist>/src/future/FutureIterator.php:224]
36 #10 FutureIterator::next() called at [<arcanist>/src/future/FutureIterator.php:190]
37 #11 FutureIterator::rewind()
38 #12 iterator_to_array(FutureIterator) called at [<arcanist>/src/future/FutureIterator.php:84]
39 #13 FutureIterator::resolveAll() called at [<arcanist>/src/future/Future.php:47]
40 #14 Future::resolve() called at [<arcanist>/src/future/http/BaseHTTPFuture.php:302]
41 #15 BaseHTTPFuture::resolvex() called at [<arcanist>/src/workflow/ArcanistDownloadWorkflow.php:161]
42 #16 ArcanistDownloadWorkflow::runWorkflow(PhutilArgumentParser) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:227]
43 #17 ArcanistWorkflow::executeWorkflow(PhutilArgumentParser) called at [<arcanist>/src/toolset/ArcanistPhutilWorkflow.php:21]
44 #18 ArcanistPhutilWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:493]
45 #19 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:171]
46 #20 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37]
47 #21 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6]
48 #22 require_once(string) called at [<arcanist>/bin/arc:10]
49[2024-08-29 15:15:37] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/home/revi/arcanist/src/utils/utf8.php:141]
50arcanist(head=master, ref.master=04e3e250f7da)
51 #0 phutil_is_utf8_slowly(NULL) called at [<arcanist>/src/utils/utf8.php:106]
52 #1 phutil_is_utf8(NULL) called at [<arcanist>/src/utils/utf8.php:16]
53 #2 phutil_utf8ize(NULL) called at [<arcanist>/src/future/http/status/HTTPFutureHTTPResponseStatus.php:32]
54 #3 HTTPFutureHTTPResponseStatus::__construct(integer, NULL, array) called at [<arcanist>/src/parser/http/PhutilHTTPResponseParser.php:122]
55 #4 PhutilHTTPResponseParser::readBytes(string) called at [<arcanist>/src/future/http/HTTPSFuture.php:586]
56 #5 HTTPSFuture::didReceiveDataCallback(CurlHandle, string)
57 #6 curl_multi_exec(CurlMultiHandle, NULL) called at [<arcanist>/src/future/http/HTTPSFuture.php:494]
58 #7 HTTPSFuture::isReady() called at [<arcanist>/src/future/Future.php:63]
59 #8 Future::updateFuture() called at [<arcanist>/src/future/FutureIterator.php:224]
60 #9 FutureIterator::next() called at [<arcanist>/src/future/FutureIterator.php:190]
61 #10 FutureIterator::rewind()
62 #11 iterator_to_array(FutureIterator) called at [<arcanist>/src/future/FutureIterator.php:84]
63 #12 FutureIterator::resolveAll() called at [<arcanist>/src/future/Future.php:47]
64 #13 Future::resolve() called at [<arcanist>/src/future/http/BaseHTTPFuture.php:302]
65 #14 BaseHTTPFuture::resolvex() called at [<arcanist>/src/workflow/ArcanistDownloadWorkflow.php:161]
66 #15 ArcanistDownloadWorkflow::runWorkflow(PhutilArgumentParser) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:227]
67 #16 ArcanistWorkflow::executeWorkflow(PhutilArgumentParser) called at [<arcanist>/src/toolset/ArcanistPhutilWorkflow.php:21]
68 #17 ArcanistPhutilWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:493]
69 #18 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:171]
70 #19 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37]
71 #20 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6]
72 #21 require_once(string) called at [<arcanist>/bin/arc:10]
73 DONE Saved "Command-Line Input" as "Command-Line Input".

revi@WSL:~$ cd ~/arcanist/
revi@WSL:~/arcanist$ git show
commit 04e3e250f7da6a55c908d373a0df9949eeea6d7b (HEAD -> master, origin/master, origin/HEAD)
Author:     Andre Klapper <a9016009@gmx.de>
AuthorDate: 2024-08-23 12:55:36 +0200
Commit:     Andre Klapper <a9016009@gmx.de>
CommitDate: 2024-08-23 18:52:13 +0200

    Add missing variable names to PHPDoc @param of methods

revi@WSL:~$ php -v
PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.20, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies
revi@WSL:~$ neofetch

       _,met$$$$$gg.          revi@WSL
    ,g$$$$$$$$$$$$$$$P.       --------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) on Windows 10 x86_64
 ,$$P'              `$$$.     Kernel: 5.15.153.1-microsoft-standard-WSL2
',$$P       ,ggs.     `$$b:   Uptime: 13 mins
`d$$'     ,$P"'   .    $$$    Packages: [REDACTED REDUNDANT INFO]
 $$P      d$'     ,    $$P    Shell: bash 5.2.15
 $$:      $$.   -    ,d$$'    Terminal: Windows Terminal
 $$;      Y$b._   _,d$P'      CPU: [REDACTED REDUNDANT INFO]
 Y$$.    `.`"Y$$$$P"'         GPU: [REDACTED REDUNDANT INFO]
 `$$b      "-.__              Memory: [REDACTED REDUNDANT INFO]
  `Y$$
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

Related Objects

Mentioned Here
P46 arc download