-
Notifications
You must be signed in to change notification settings - Fork 43
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
Increase PHPStan level #162
Conversation
I think we can go for a new major version, it's time to move on ;D |
@@ -1,5 +1,7 @@ | |||
<?php | |||
|
|||
declare(strict_types=1); | |||
|
|||
/* | |||
* This file is part of the Symfony2 PhoneNumberBundle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of the file header update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good idea!
I discovered recently that's is something supported by php-cs : https://github.com/symfony/symfony/blob/7.1/.php-cs-fixer.dist.php#L16
Maybe we can open an issue / PR in order to decide of a header we want to have in all files?
bf79645
to
02f93fa
Compare
|
02f93fa
to
f5770c3
Compare
This probably break the BC promise and its probably not complete : there's probably other non strict typed methods I should take care of.
WDYT about this, should we go for a new major version with strict typing?
If yes, is there anything else we would like to include in a new major version?