It looks like
Given this code;
PHP:
I've seen it generate;
PHP:
or...
Read more
Читать далее...
xf-dev:class-use-function
gets confused if there are comments before the namespace declaration, and when non-white listed functions are in an existing 'use function' statement.Given this code;
PHP:
Код:
<?php
/**
* @noinspection PhpMissingReturnTypeInspection
*/
namespace SV\Example;
use \XF\App;
I've seen it generate;
PHP:
Код:
<?php
const USE_FUNCTION_PLACEHOLDER = true;
/**
* @noinspection PhpMissingReturnTypeInspection
*/
namespace SV\Example;
use \XF\App;
Read more
Читать далее...