Subject: | use of deprecated Moose "enum" syntax causes test warnings |
When running tests using ANY_MOOSE=Moose (which is necessary to avoid
current problems with Mouse--see [rt.cpan.org #88537]), the following
warning is emitted multiple times:
Show quoted text
> Passing a list of values to enum is deprecated. Enum values should be
> wrapped in an arrayref. at .../Moose/Util/TypeConstraints.pm line 441.
> Moose::Util::TypeConstraints::enum('Prophet::Type::ChangeType', 'add_file', 'add_dir', 'update_file', 'delete') called at lib/Prophet/Meta/Types.pm line 11