-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Update PHPCS #1599
Update PHPCS #1599
Conversation
c2967a3
to
3ea33c9
Compare
9f44aed
to
36a1dee
Compare
'yoda_style' => true, | ||
'self_accessor' => false, | ||
'phpdoc_no_useless_inheritdoc' => false, | ||
'modernize_strpos' => false, |
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.
str_contains
is only available from PHP 8.0
@@ -10,9 +10,16 @@ | |||
'imports_order' => ['class', 'function', 'const'], | |||
], | |||
'declare_strict_types' => true, | |||
'get_class_to_class_keyword' => false, |
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.
PHP Fatal error: Cannot use ::class with dynamic class name
in PHP 7.4 and below
'phpdoc_no_useless_inheritdoc' => false, | ||
'modernize_strpos' => false, | ||
'nullable_type_declaration_for_default_null_value' => [ | ||
'use_nullable_type_declaration' => true, |
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 would remove way too many ?
types.
'use_nullable_type_declaration' => true, | ||
], | ||
'no_superfluous_phpdoc_tags' => [ | ||
'allow_mixed' => true, |
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 would remove all @mixed
annotations, which makes phpstan unhappy.
519dcf5
to
4c57972
Compare
# Conflicts: # src/Options.php # tests/Integration/IgnoreErrorsIntegrationTest.php
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.
🥳
No description provided.