Skip to content

Do not remove 'use v5.26' or higher from code before syntax check, and check for compliance with the minimal supported version #125

@bschmalhofer

Description

@bschmalhofer

Currently Kernel/TidyAll/Plugin/OTOBO/Perl/SyntaxCheck.pm removes use statements from code before checking the syntax. This is because the required modules may not be available for the syntax check. use v5.24; is not removed because it is on a white list. This is important as for example use v5.24; introduces say as a builtin.

All is fine for the current state. But in future higher versions of Perl might be required and higher use v5.XX; might be in the code. The higher versions should also be on the white list.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions