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

Disable DateTime #17

Closed
mabar opened this issue Sep 17, 2018 · 2 comments
Closed

Disable DateTime #17

mabar opened this issue Sep 17, 2018 · 2 comments

Comments

@mabar
Copy link
Contributor

mabar commented Sep 17, 2018

Always is better to use DateTimeImmutable

@f3l1x
Copy link
Contributor

f3l1x commented Sep 29, 2018

@mabar Could you please add example of the sniff?

@mabar
Copy link
Contributor Author

mabar commented Oct 9, 2018

I found there is an implementation but it is not merged yet. I think only option now is to copy it in our library squizlabs/PHP_CodeSniffer#1360

@mabar mabar closed this as completed Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants