I’m using Agile UI 1.7.1 and I’m very new to it (just installed it).
This caught into my eye while looking at the \atk\ui\App class in PhpStorm 2019.2:
See, the phpdoc block above the public variable
$layout is not recognised as phpdoc syntax (the @var tag is not bold and not underlined). Then take a look at the phpdoc block above the public variable
$catch_exceptions. The @var tag in this block is bold and underlined.
The difference is that the former @var tag is placed in a simple php comment (starts with
//) and the working one is placed in a standard phpdoc comment (
I tried to look at PhpStorm settings and Google around to find out if I could make PhpStorm to recognise also the non-standard way to write phpdoc blocks, but I was out of luck, so that’s why I’m here asking for a solution.
The issue is that now that PhpStorm doesn’t recognize all the phpdoc blocks, for example the
$layout property is interpreted to be just simply the type of
null, so I can’t use autocomplete in PhpStorm, at least not everywhere.
Do you think that this is something that I should fix in my editor settings or should the codebase of Agile UI (maybe other components too?) be refactored so that all the non-standard
// phpdoc blocks would be refactored to
Thank you for your support!