mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
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
This commit is contained in:
parent
5eac69b79d
commit
6036079e88
2 changed files with 4 additions and 3 deletions
|
@ -180,7 +180,7 @@ return array(
|
||||||
'rsrc/css/phui/phui-tag-view.css' => 'fb811341',
|
'rsrc/css/phui/phui-tag-view.css' => 'fb811341',
|
||||||
'rsrc/css/phui/phui-timeline-view.css' => '2d32d7a9',
|
'rsrc/css/phui/phui-timeline-view.css' => '2d32d7a9',
|
||||||
'rsrc/css/phui/phui-two-column-view.css' => 'f96d319f',
|
'rsrc/css/phui/phui-two-column-view.css' => 'f96d319f',
|
||||||
'rsrc/css/phui/workboards/phui-workboard-color.css' => 'e86de308',
|
'rsrc/css/phui/workboards/phui-workboard-color.css' => '3a1c21ff',
|
||||||
'rsrc/css/phui/workboards/phui-workboard.css' => '74fc9d98',
|
'rsrc/css/phui/workboards/phui-workboard.css' => '74fc9d98',
|
||||||
'rsrc/css/phui/workboards/phui-workcard.css' => '913441b6',
|
'rsrc/css/phui/workboards/phui-workcard.css' => '913441b6',
|
||||||
'rsrc/css/phui/workboards/phui-workpanel.css' => '3ae89b20',
|
'rsrc/css/phui/workboards/phui-workpanel.css' => '3ae89b20',
|
||||||
|
@ -882,7 +882,7 @@ return array(
|
||||||
'phui-theme-css' => '35883b37',
|
'phui-theme-css' => '35883b37',
|
||||||
'phui-timeline-view-css' => '2d32d7a9',
|
'phui-timeline-view-css' => '2d32d7a9',
|
||||||
'phui-two-column-view-css' => 'f96d319f',
|
'phui-two-column-view-css' => 'f96d319f',
|
||||||
'phui-workboard-color-css' => 'e86de308',
|
'phui-workboard-color-css' => '3a1c21ff',
|
||||||
'phui-workboard-view-css' => '74fc9d98',
|
'phui-workboard-view-css' => '74fc9d98',
|
||||||
'phui-workcard-view-css' => '913441b6',
|
'phui-workcard-view-css' => '913441b6',
|
||||||
'phui-workpanel-view-css' => '3ae89b20',
|
'phui-workpanel-view-css' => '3ae89b20',
|
||||||
|
|
|
@ -14,7 +14,8 @@ final class PhabricatorMetaMTAReceivedMailProcessingException
|
||||||
$this->statusCode = $args[0];
|
$this->statusCode = $args[0];
|
||||||
|
|
||||||
$args = array_slice($args, 1);
|
$args = array_slice($args, 1);
|
||||||
call_user_func_array(array('parent', '__construct'), $args);
|
$parent = get_parent_class($this);
|
||||||
|
call_user_func_array(array($parent, '__construct'), $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue