Skip to content

zendframework/zend-code is deprecated #14

Description

@soulseekah

Switch to https://github.com/laminas/laminas-code

Problems arise with code generation with PHP 7.4:

--php_out: protoc-gen-php: Plugin output is unparseable: \nWarning: \"continue\" targeting switch is equivalent to \"break\". Did you mean to use \"continue 2\"? in /Users/soulseekah/Development/wp-ipfs/php-libp2p/vendor/zendframework/zend-code/src/Generator/FileGenerator.php on line 135\n\nWarning: \"continue\" targeting switch is equivalent to \"break\". Did you mean to use \"continue 2\"? in /Users/soulseekah/Development/wp-ipfs/php-libp2p/vendor/zendframework/zend-code/src/Generator/FileGenerator.php on line 138\n\nWarning: \"continue\" targeting switch is equivalent to \"break\".

This was fixed in laminas. https://github.com/laminas/laminas-code/blob/4.5.x/src/Generator/FileGenerator.php#L84

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions