Fix 2.0.x branch phpstan next minor
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3556055. -->
Reported by: [scott_euser](https://www.drupal.org/user/3267594)
Related to !995
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<pre>Note: Using configuration file /builds/project/ai/web/modules/custom/ai/phpstan.neon.<br> ------ -------------------------------------------------------------- <br> Line src/Form/AiPromptForm.php <br> ------ -------------------------------------------------------------- <br> 169 Call to deprecated method get() of class <br> Symfony\Component\HttpFoundation\Request: <br> since Symfony 7.4, use properties `->attributes`, `query` or <br> `request` directly instead <br> 🪪 method.deprecated <br> ------ -------------------------------------------------------------- <br> ------ -------------------------------------------------------------- <br> Line src/Form/AiSetupForm.php <br> ------ -------------------------------------------------------------- <br> 896 Call to deprecated method get() of class <br> Symfony\Component\HttpFoundation\Request: <br> since Symfony 7.4, use properties `->attributes`, `query` or <br> `request` directly instead <br> 🪪 method.deprecated <br> ------ -------------------------------------------------------------- <br> [ERROR] Found 2 errors </pre><h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>See <a href="https://git.drupalcode.org/project/ai/-/jobs/7146422">https://git.drupalcode.org/project/ai/-/jobs/7146422</a></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>MR</p>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
<p>N/A</p>
issue