Skip to content

gherkin:snippets command still produces old syntax #6757

@DutchAtDisney

Description

@DutchAtDisney

What are you trying to achieve?

When running the codecept gherkin:snippets to generate snippets from feature files, I expect the snippets to use the Codeception 5 / PHP 8 attribute syntax ( i.e. https://codeception.com/07-28-2022/codeception-5.html#attributes ).

This command should be updated to provide snippets using the new, version-appropriate attribute syntax.

What do you get instead?

Snippets use the old Codeception < 4 PhpDoc syntax.

Details

  • Codeception version: 5.1.1
  • PHP Version: 8.1
  • Operating System: Debian
  • Installation type: Composer

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