Fixed False positive about PSR class path with phpstorm & extension_hint.php


Well-known member
Affected version
2.2.10 Patch 1
The generated extension_hint.php file is used to create developer aliases for IDE autocompletion. However if phpstorm analyzes this file it generates warnings/errors for not matching PSR class path conventions.

This can be supressed by emitting the following at the top of the file:
/** @noinspection PhpIllegalPsrClassPathInspection */
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Disable PSR class path inspection in extension_hint.php
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom