ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,937
- Points
- 823
Reputation:
It looks like
Given this code;
PHP:
I've seen it generate;
PHP:
or...
Read more
Continue reading...
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:
Code:
<?php
/**
* @noinspection PhpMissingReturnTypeInspection
*/
namespace SV\Example;
use \XF\App;
I've seen it generate;
PHP:
Code:
<?php
const USE_FUNCTION_PLACEHOLDER = true;
/**
* @noinspection PhpMissingReturnTypeInspection
*/
namespace SV\Example;
use \XF\App;
Read more
Continue reading...