Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Conversation

mhsdesign
Copy link
Contributor

this will suppress the error:

[Semantical Error] The annotation "@phpcs:disable" in method PackageFactory\Fusion\Debug\Debug::var_dump() was never imported.
...
Doctrine\Common\Annotations\AnnotationException

this will ignore phpcs:disable annotations

@IgnoreAnnotation("phpcs:disable")

i think this might be just an issue, when the dev dependency "squizlabs/php_codesniffer" is not installed.

see https://stackoverflow.com/questions/41496487/how-to-tell-symfony-3-to-ignore-certain-annotations

resolves: #1

this will suppress the error: [Semantical Error] The annotation "@phpcs:disable" in method PackageFactory\Fusion\Debug\Debug::var_dump() was never imported.
Doctrine\Common\Annotations\AnnotationException

resolves: PackageFactory#1
@grebaldi
Copy link
Member

Hi @mhsdesign,

I'm very sorry that the response took this long. I do not seem to get any notifications from Github on this repo :/

Anyway, thanks a lot for addressing this issue!

@grebaldi grebaldi merged commit 88acbee into PackageFactory:main Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@phpcs:disable was never imported

2 participants