Skip to content

Commit

Permalink
Un-finalize Printer
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 27, 2024
1 parent 265a39b commit 1abeeb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/PHPStan/Build/FinalClassRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PHPStan\Analyser\Scope;
use PHPStan\File\FileHelper;
use PHPStan\Node\InClassNode;
use PHPStan\Node\Printer\Printer;
use PHPStan\Reflection\FunctionVariant;
use PHPStan\Reflection\ExtendedFunctionVariant;
use PHPStan\Reflection\Php\DummyParameter;
Expand Down Expand Up @@ -54,6 +55,7 @@ public function processNode(Node $node, Scope $scope): array
ExtendedFunctionVariant::class,
DummyParameter::class,
PhpFunctionFromParserNodeReflection::class,
Printer::class,
], true)) {
return [];
}
Expand Down
2 changes: 1 addition & 1 deletion src/Node/Printer/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @api
*/
final class Printer extends Standard
class Printer extends Standard
{

public function __construct()
Expand Down

0 comments on commit 1abeeb7

Please sign in to comment.