Closed springimport closed 7 years ago
I'm pretty sure that this is a limitation of NetBeans... If however, they've recently fixed it in 8.2 and you've been able to manually specify the option please could you let me know which one and I will be able to add it to the package.
Otherwise I'll get round to doing further investigation when I'm back from my holiday. - Happy to accept any PR's too :)
@springimport Seems that also you are not using http://www.php-fig.org/psr/psr-2/#namespace-and-use-declarations
When present, all use declarations MUST go after the namespace declaration.
* @param \Magento\Framework\App\Helper\Context $context
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
* @param \Magento\Customer\Model\Session $customerSession
And you are putting it on phpdoc block, where is not needed if you put it as expected.
👍
Closing issue as I cannot reproduce, the advice offered by @shawe seems to do the trick.
@allebb for me using PhpStorm, yes, do the trick, but NetBeans seems to have a very poor support respecting for PSR1/PSR2 rules.
Please, fix this.
Example:
↓
PSR:
http://www.php-fig.org/psr/psr-2/#method-arguments