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

Flag unsupported declare() directives #10175

Closed
weirdan opened this issue Sep 2, 2023 · 1 comment · Fixed by #10176
Closed

Flag unsupported declare() directives #10175

weirdan opened this issue Sep 2, 2023 · 1 comment · Fixed by #10176

Comments

@weirdan
Copy link
Collaborator

weirdan commented Sep 2, 2023

https://psalm.dev/r/e8203450a1 - I'd expect it to be flagged due to the typo in strict_types (missing s).

@psalm-github-bot
Copy link

I found these snippets:

https://psalm.dev/r/e8203450a1
<?php declare(strict_type=1);
Psalm output (using commit 96d8394):

No issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant