1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-13 04:44:53 +01:00
phorge-phorge/src/applications
Andre Klapper f3d49f7407 Fix implicitly nullable parameter declarations for PHP 8.4
Summary:
Implicitly nullable parameter declarations are deprecated in PHP 8.4:
https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

The proposed syntax was introduced in PHP 7.1.

This patch is a followup on top of D25814.

Refs T15935

Test Plan:
* Try to view a task in the browser
* Try to run `./bin/auth recover` on the CLI
* Try to browse projects in the browser
* Try to create a new project without a name in the browser

Reviewers: O1 Blessed Committers, chris

Reviewed By: O1 Blessed Committers, chris

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15935

Differential Revision: https://we.phorge.it/D25816
2024-10-23 11:10:11 +02:00
..
almanac Drydock and Almanac: add welcome pages 2024-06-25 09:37:01 +02:00
aphlict Fix PHP 8.1 "strlen(null)" exception for "/bin/aphlict notify" without parameter 2024-04-17 13:11:07 +02:00
arcanist/conduit Remove remaining arcanist project code 2015-07-08 19:37:28 +10:00
audit Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
auth Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:10:11 +02:00
badges Disallow awarding a badge without selecting recipient 2024-07-30 10:50:28 +02:00
base Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
cache Add missing variable names to PHPDoc @param of methods 2024-08-21 15:06:26 +02:00
calendar Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
celerity Drop question mark suffix from optional PHPDoc @param types 2024-09-06 19:17:00 +02:00
conduit PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
config Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
conpherence Fix exception handling in ConpherenceViewController::handleRequest() 2024-09-06 10:26:38 +02:00
console log deprecation events in Dark Console 2023-08-31 08:18:28 -07:00
countdown Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
daemon Remove unused parameter from PhabricatorDaemonController::buildSideNavView() call 2024-07-26 13:48:44 +02:00
dashboard Add missing variable names to PHPDoc @param of methods 2024-08-21 15:06:26 +02:00
differential Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
diffusion Avoid RuntimeException passing bogus "service" parameter to Diffusion commit view 2024-10-09 11:19:26 +02:00
diviner Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
doorkeeper Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
draft/storage
drydock Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
fact Suppress PHP 8.1 warnings "Return type mixed is not covariant with tentative return type mixed of method Iterator::key()" 2024-08-02 11:44:25 +02:00
favorites
feed Remove trivial cases of unreachable code 2024-09-04 12:17:28 +02:00
files Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
flag Remove trivial cases of unreachable code 2024-09-04 12:17:28 +02:00
fund Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
guides
harbormaster Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
help
herald PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
home Fix PHP 8.1 "strlen(null)" exception which blocks rendering the Home page 2023-05-01 15:37:56 +02:00
legalpad Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
lipsum
macro Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
maniphest Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
meta Drop question mark suffix from optional PHPDoc @param types 2024-09-06 19:17:00 +02:00
metamta Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
multimeter Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page 2023-05-29 12:35:54 +02:00
notification PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
nuance Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
oauthserver Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
owners Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
packages Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
passphrase Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
paste Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php 2024-05-02 10:28:08 +02:00
people Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
phame Remove trivial cases of unreachable code 2024-09-04 12:17:28 +02:00
phid PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
phlux Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
pholio Warn in comment field if task is closed as duplicate 2024-06-23 15:29:17 +02:00
phortune Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
phpast Remove deprecated buildStandardPage* method calls 2024-05-16 08:39:08 +02:00
phrequent Remove trivial cases of unreachable code 2024-09-04 12:17:28 +02:00
phriction Fix missing file attachment in Phriction 2024-07-01 18:41:55 +02:00
phurl Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
policy Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
ponder Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
project Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:10:11 +02:00
reference/src Make the Remarkup Help Page Extensible 2024-06-26 22:11:44 +02:00
remarkup
repository Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
search Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:10:11 +02:00
settings Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:09:36 +02:00
slowvote Warn in comment field if task is closed as duplicate 2024-06-23 15:29:17 +02:00
spaces Add missing variable names to PHPDoc @param of methods 2024-08-21 15:06:26 +02:00
subscriptions PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
support/application
system Add missing variable names to PHPDoc @param of methods 2024-08-21 15:06:26 +02:00
tokens Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00
transactions Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:10:11 +02:00
typeahead Add missing variable names to PHPDoc @param of methods 2024-08-21 15:06:26 +02:00
uiexample Implements copy button in clone repo modal 2024-02-15 19:38:39 +01:00
xhprof Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string 2024-02-05 14:11:36 +01:00