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

Keep "declare" statements on top of file #39

Open
khalyomede opened this issue May 31, 2022 · 1 comment
Open

Keep "declare" statements on top of file #39

khalyomede opened this issue May 31, 2022 · 1 comment

Comments

@khalyomede
Copy link

khalyomede commented May 31, 2022

I have a php-cs-fixer rule that automatically fix my files to add the declare(strict_types=1); directive on top of my files, including translations files (auth.php, validation.php, ...).

The package keeps removing them, when I want to keep them. Is it possible to keep this directive?

@khalyomede khalyomede changed the title Keep "declate" statements on top of file Keep "declare" statements on top of file May 31, 2022
@amiranagram
Copy link
Owner

Not sure if I can do something about it. I'll do a bit of research and get back to you.

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

No branches or pull requests

2 participants