mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Merge pull request #7494 from zoonru/deprecate_template_extended_count
Deprecate template_extended_count
This commit is contained in:
commit
5cd52551cc
@ -51,7 +51,7 @@
|
||||
</PossiblyUndefinedIntArrayOffset>
|
||||
</file>
|
||||
<file src="src/Psalm/Internal/Analyzer/ClassAnalyzer.php">
|
||||
<DeprecatedProperty occurrences="7">
|
||||
<DeprecatedProperty occurrences="9">
|
||||
<code>$codebase->php_major_version</code>
|
||||
<code>$codebase->php_major_version</code>
|
||||
<code>$codebase->php_major_version</code>
|
||||
@ -59,6 +59,8 @@
|
||||
<code>$codebase->php_minor_version</code>
|
||||
<code>$codebase->php_minor_version</code>
|
||||
<code>$codebase->php_minor_version</code>
|
||||
<code>$storage->template_extended_count</code>
|
||||
<code>$storage->template_extended_count</code>
|
||||
</DeprecatedProperty>
|
||||
<PossiblyUndefinedIntArrayOffset occurrences="3">
|
||||
<code>$comments[0]</code>
|
||||
@ -501,7 +503,8 @@
|
||||
</PossiblyUndefinedIntArrayOffset>
|
||||
</file>
|
||||
<file src="src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php">
|
||||
<DeprecatedProperty occurrences="2">
|
||||
<DeprecatedProperty occurrences="3">
|
||||
<code>$storage->template_extended_count</code>
|
||||
<code>$this->codebase->php_major_version</code>
|
||||
<code>$this->codebase->php_minor_version</code>
|
||||
</DeprecatedProperty>
|
||||
|
@ -361,6 +361,7 @@ class ClassLikeStorage
|
||||
public $template_extended_params;
|
||||
|
||||
/**
|
||||
* @deprecated Will be replaced with $template_type_extends_count in Psalm v5
|
||||
* @var ?int
|
||||
*/
|
||||
public $template_extended_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user