Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

"Classlike is not defined or imported anywhere." #446

Closed codiceovvio closed 6 years ago

codiceovvio commented 6 years ago

Hi, there!

I already have seen #314, as well as #338 and #371, but still it appears that @access property in docblocks is reported as an error. he same happens when adding @TODO in docblocks

serenata_classlike_01 serenata_classlike_03

I already tried what suggested in the other issues (force reindex project, restart Atom, rebuild serenata cache) with no luck.

System Info

OS: Ubuntu 16.04, x64 PHP: 7.1.14 x64 Atom: 1.30.0 Php-Ide-Serenata: 4.5.0

aligner@1.2.4
aligner-javascript@1.3.0
aligner-php@1.2.0
aligner-scss@1.3.1
atom-autocomplete-php@0.25.6
atom-ide-ui@0.13.0
autoclose-html@0.23.0
busy-signal@1.4.3
docblockr@0.13.7
editorconfig@2.2.2
emmet@2.4.3
file-icons@2.1.24
git-blame@1.7.0
git-control@0.9.0
git-history@3.3.0
git-log@0.4.1
git-plus@8.0.2
git-time-machine@2.1.0
grunt-runner@0.14.0
gulp-control@0.5.0
highlight-line@0.12.0
highlight-selected@0.14.0
hyperclick@0.1.5
intentions@1.1.5
language-haskell@1.17.8
language-latex@1.1.1
language-twig@1.6.3
line-ending-converter@1.3.2
linter@2.2.0
linter-chktex@1.3.1
linter-eslint@8.4.1
linter-jscs@4.1.3
linter-jshint@3.1.8
linter-jsonlint@1.3.0
linter-phpcs@1.6.8
linter-sass-lint@1.8.3
linter-shellcheck@1.5.0
linter-ui-default@1.7.1
markdown-preview-plus@3.6.0
markdown-scroll-sync@2.1.2
merge-conflicts@1.4.5
minimap@4.29.8
minimap-find-and-replace@4.5.2
minimap-git-diff@4.3.1
minimap-highlight-selected@4.6.1
php-ide-serenata@4.5.0
php-integrator-annotations@1.2.0
php-integrator-refactoring@1.4.1
php-twig@4.0.0
pigments@0.40.2
pretty-json@2.0.3
project-manager@3.3.6
script@3.18.1
split-diff@1.5.2
Sublime-Style-Column-Selection@1.7.4
symbols-tree-view@0.14.0
tabs-to-spaces@1.0.5
todo-show@2.3.2
tree-view-autoresize@2.3.0
tree-view-git-status@1.5.1
Gert-dev commented 6 years ago

This is a known issue, but thanks for reporting it anyway. The problem is (was) that the server validates against a list of known docblock tags and assumes that everything else should be a special annotation tag (for which a class must be defined, such as for Symfony or Doctrine annotations).

Since this isn't feasible in the long term, as there are other tools that use their own annotations as well, such as PHPCS and PHPMD, it is going to be removed in 5.0.