+3 votes

We're already starting new projects on PHP 7.4 with strict typing and typed properties.

It would be nice if at some point in the near future Skipper would be able to export typed properties for "annotation" mode if configured to do so.

in Feature Request by (3.6k points)

1 Answer

+3 votes

It's definitely on our todo list.

The current state where Skipper can read such definitions but not write is an only a temporary solution (https://support.skipper18.com/402/downloads-skipper-beta).

Unfortunately, it will be a huge job because currently all parsers/exporters are able to modify only @orm annotations. Now it will be necessary to update also non-annotations parts and modify code directly.

by Skipper developer (141k points)

It would be great to have the ability to export typed properties. Is this feature planned for any upcoming releases?

Unfortunately, not in the near future. As I wrote before, Skipper currently modifies only @ORM with the only exception where a new variable is created. However, such a change would require a complete rewrite of the export logic to enable modification of any PHP code.