Skip to content

Problem with Annontation #1

Description

@richardsjoqvist

Using your example code (on https://github.com/andyftw/ssllabs-php) I get the following error on PHP 7.3:
/var/www/isimo/vendor/andyftw/ssllabs-php/src/Request.php, Line 74:
[Semantical Error] The annotation "@jms\Serializer\Annotation\AccessType" in class Andyftw\SSLLabs\Model\Info does not exist, or could not be auto-loaded.

It seems there may be a few other threads with the same error if that helps:
schmittjoh/serializer#855
symfony/symfony#25555

There is a solution on stack, which unfortunately uses deprecated methods:
https://stackoverflow.com/questions/14629137/jmsserializer-stand-alone-annotation-does-not-exist-or-cannot-be-auto-loaded

Sorry, but I do not have the time to make a more in-depth analysis or try to fix it and create a pr, hope you can find out what the problem is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions