@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

PHP 8.2: fix deprecated use of "parent" in callables

Summary: Closes T15200

Test Plan:
Test 1:

I was able to run `arc unit --everything` without the error thrown from T15200

Test 2:

I also tried this and it still works:

```
php -a
require 'src/applications/metamta/exception/PhabricatorMetaMTAReceivedMailProcessingException.php';
$asd = new PhabricatorMetaMTAReceivedMailProcessingException("1", "TEST MESSAGE");
var_dump($asd->getMessage());
```

You get:

```
string(12) "TEST MESSAGE"
```

Reviewers: O1 Blessed Committers, Matthew

Reviewed By: O1 Blessed Committers, Matthew

Subscribers: speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15200

Differential Revision: https://we.phorge.it/D25099

+4 -3
+2 -2
resources/celerity/map.php
··· 180 180 'rsrc/css/phui/phui-tag-view.css' => 'fb811341', 181 181 'rsrc/css/phui/phui-timeline-view.css' => '2d32d7a9', 182 182 'rsrc/css/phui/phui-two-column-view.css' => 'f96d319f', 183 - 'rsrc/css/phui/workboards/phui-workboard-color.css' => 'e86de308', 183 + 'rsrc/css/phui/workboards/phui-workboard-color.css' => '3a1c21ff', 184 184 'rsrc/css/phui/workboards/phui-workboard.css' => '74fc9d98', 185 185 'rsrc/css/phui/workboards/phui-workcard.css' => '913441b6', 186 186 'rsrc/css/phui/workboards/phui-workpanel.css' => '3ae89b20', ··· 882 882 'phui-theme-css' => '35883b37', 883 883 'phui-timeline-view-css' => '2d32d7a9', 884 884 'phui-two-column-view-css' => 'f96d319f', 885 - 'phui-workboard-color-css' => 'e86de308', 885 + 'phui-workboard-color-css' => '3a1c21ff', 886 886 'phui-workboard-view-css' => '74fc9d98', 887 887 'phui-workcard-view-css' => '913441b6', 888 888 'phui-workpanel-view-css' => '3ae89b20',
+2 -1
src/applications/metamta/exception/PhabricatorMetaMTAReceivedMailProcessingException.php
··· 14 14 $this->statusCode = $args[0]; 15 15 16 16 $args = array_slice($args, 1); 17 - call_user_func_array(array('parent', '__construct'), $args); 17 + $parent = get_parent_class($this); 18 + call_user_func_array(array($parent, '__construct'), $args); 18 19 } 19 20 20 21 }