composer base packages updates
This commit is contained in:
@@ -238,6 +238,7 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
- [MissingPropertyType](issues/MissingPropertyType.md)
|
||||
- [MissingReturnType](issues/MissingReturnType.md)
|
||||
- [NullOperand](issues/NullOperand.md)
|
||||
- [PrivateFinalMethod](issues/PrivateFinalMethod.md)
|
||||
- [PropertyNotSetInConstructor](issues/PropertyNotSetInConstructor.md)
|
||||
- [RawObjectIteration](issues/RawObjectIteration.md)
|
||||
- [RedundantConditionGivenDocblockType](issues/RedundantConditionGivenDocblockType.md)
|
||||
|
||||
@@ -211,6 +211,7 @@
|
||||
- [PossiblyUnusedParam](issues/PossiblyUnusedParam.md)
|
||||
- [PossiblyUnusedProperty](issues/PossiblyUnusedProperty.md)
|
||||
- [PossiblyUnusedReturnValue](issues/PossiblyUnusedReturnValue.md)
|
||||
- [PrivateFinalMethod](issues/PrivateFinalMethod.md)
|
||||
- [PropertyNotSetInConstructor](issues/PropertyNotSetInConstructor.md)
|
||||
- [PropertyTypeCoercion](issues/PropertyTypeCoercion.md)
|
||||
- [RawObjectIteration](issues/RawObjectIteration.md)
|
||||
|
||||
14
vendor/vimeo/psalm/docs/running_psalm/issues/PrivateFinalMethod.md
vendored
Normal file
14
vendor/vimeo/psalm/docs/running_psalm/issues/PrivateFinalMethod.md
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# PrivateFinalMethod
|
||||
|
||||
Emitted when a class defines private final method. PHP 8.0+ emits a warning when it sees private final method (except `__construct` where it's allowed), and allows redefinition in child classes (effectively ignoring `final` modifier). Before PHP 8.0, `final` was respected in this case.
|
||||
|
||||
```php
|
||||
<?php
|
||||
class Foo {
|
||||
final private function baz(): void {}
|
||||
}
|
||||
```
|
||||
|
||||
## Why this is bad
|
||||
|
||||
It causes a warning, and behavior differs between versions.
|
||||
Reference in New Issue
Block a user