Adopt PHP 8.2 and 8.3 language capabilities + prep for Drupal 11
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3445035. -->
Reported by: [wim leers](https://www.drupal.org/user/99777)
Related to !28
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Since <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/cdn/-/work_items/3421351" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/cdn/-/work_items/3421351</a></span>, PHP 8.3 is required.</p>
<p>So let's adopt PHP 8.2 + 8.3 language features that improve maintainability.</p>
<p>See <a href="https://php.watch/versions/8.2">https://php.watch/versions/8.2</a> + <a href="https://php.watch/versions/8.3">https://php.watch/versions/8.3</a>.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #3421351](https://www.drupal.org/node/3421351)
issue