From e6f2afabac74f74c32ccd0e18d013ccfab9047dc Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Thu, 30 Jul 2026 22:17:05 +0700 Subject: [PATCH] Finalize FileNode class --- src/PhpParser/Node/FileNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpParser/Node/FileNode.php b/src/PhpParser/Node/FileNode.php index c39b2d0c27b..4611c641578 100644 --- a/src/PhpParser/Node/FileNode.php +++ b/src/PhpParser/Node/FileNode.php @@ -22,7 +22,7 @@ /** * Inspired by https://github.com/phpstan/phpstan-src/commit/ed81c3ad0b9877e6122c79b4afda9d10f3994092 */ -class FileNode extends Stmt +final class FileNode extends Stmt { /** * Imports queued to be added on the next UseAddingPostRector run; scoped to this file