Skip to content

Find a workaround for the warning when using token_get_all #10

Open
@alexander-schranz

Description

@alexander-schranz

Currently in MigrationUtil class only the first 20 lines are read of the migration this can cause when cut unluckily into the following warning

PHP Warning: Unterminated comment starting line 1 in Command line code on line 1
Warning: Unterminated comment starting line 1 in Command line code on line 1

This warning is at current state suppressed using @. This sadly suppression can sadly not be detected by sentry (see following issue) and throws always a error there.

What is the case of just reading the first 20 lines, are there maybe today better ways? Should we just check if a comment was opened and close it manually before giving it to the function?

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