From edd2e2aca443cd889d755ed9fd7711e20a7c96f1 Mon Sep 17 00:00:00 2001 From: Paulo Magalhaes Date: Tue, 19 Mar 2024 12:04:32 +0000 Subject: [PATCH] Declare previously dynamic variables Avoid warning about dynamic variables in php8.2. --- lib/generator/sfPropelFormGenerator.class.php | 6 ++++++ lib/task/sfPropelGenerateModuleTask.class.php | 2 ++ 2 files changed, 8 insertions(+) diff --git a/lib/generator/sfPropelFormGenerator.class.php b/lib/generator/sfPropelFormGenerator.class.php index ec690c0ef..38774df76 100644 --- a/lib/generator/sfPropelFormGenerator.class.php +++ b/lib/generator/sfPropelFormGenerator.class.php @@ -23,6 +23,12 @@ class sfPropelFormGenerator extends sfGenerator protected $dbMap = null; + public + $params = null; + + public + $table = null; + /** * Initializes the current sfGenerator instance. * diff --git a/lib/task/sfPropelGenerateModuleTask.class.php b/lib/task/sfPropelGenerateModuleTask.class.php index 7d21c232e..6df035e96 100644 --- a/lib/task/sfPropelGenerateModuleTask.class.php +++ b/lib/task/sfPropelGenerateModuleTask.class.php @@ -20,6 +20,8 @@ */ class sfPropelGenerateModuleTask extends sfPropelBaseTask { + protected $constants; + /** * @see sfTask */