[RSS Feed/News] False positive about PSR class path with phpstorm & extension_hint.php

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #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:
Code:

Code:
<?php
/** @noinspection PhpIllegalPsrClassPathInspection */

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom