We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With Config::$use_property_default_for_type = true this emits an issue
Config::$use_property_default_for_type = true
<?php class C1 { public $p = 42; } trait T1 { public $p = 'string'; } class C2 extends C1 { use T1; }
(borrowed from phan/phan#300)
InvalidPropertyAssignment - file.php:8 - $this->p with declared type 'int' cannot be assigned type 'string'
but should emit a stronger issue InvalidPropertyComposition
InvalidPropertyComposition
The text was updated successfully, but these errors were encountered:
Closing as something PHPCS could find
Sorry, something went wrong.
No branches or pull requests
With
Config::$use_property_default_for_type = true
this emits an issue(borrowed from phan/phan#300)
but should emit a stronger issue
InvalidPropertyComposition
The text was updated successfully, but these errors were encountered: