Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate ! (strict type) in argument types #2274

Open
Jeckerson opened this issue Sep 11, 2021 · 0 comments
Open

Deprecate ! (strict type) in argument types #2274

Jeckerson opened this issue Sep 11, 2021 · 0 comments
Assignees

Comments

@Jeckerson
Copy link
Member

For some time this feature is redundant, as PHP itself with every version, continue to force strict types in function arguments and class properties.

Add, during code generation (zephir generate) deprecation notice, that ! symbol must be removed, because in future it won't be recognisable by parser.

@Jeckerson Jeckerson added this to the 0.14.x milestone Sep 11, 2021
@Jeckerson Jeckerson self-assigned this Sep 11, 2021
@Jeckerson Jeckerson modified the milestones: 0.14.x, 0.14.0, 0.15.0 Sep 12, 2021
@Jeckerson Jeckerson modified the milestones: 0.15.0, 0.14.1, Backlog Oct 3, 2021
@Jeckerson Jeckerson removed this from the Backlog milestone Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant