Skip to content

Commit d89618f

Browse files
committed
PHP 8.2 > Creation of dynamic property Class::$property is deprecated
1 parent f6d779c commit d89618f

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionListener.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
*/
2121
class sfDoctrineConnectionListener extends Doctrine_EventListener
2222
{
23+
protected
24+
$connection,
25+
$encoding;
26+
2327
public function __construct($connection, $encoding)
2428
{
2529
$this->connection = $connection;

lib/routing/sfRoute.class.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
* @subpackage routing
1616
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
1717
* @version SVN: $Id$
18-
*
19-
* @property $firstOptional int
20-
* @property $segments array
2118
*/
2219
class sfRoute implements Serializable
2320
{
@@ -37,7 +34,9 @@ class sfRoute implements Serializable
3734
$defaults = array(),
3835
$requirements = array(),
3936
$tokens = array(),
40-
$customToken = false;
37+
$customToken = false,
38+
$firstOptional = null,
39+
$segments = array();
4140

4241
/**
4342
* Constructor.

lib/task/sfBaseTask.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ abstract class sfBaseTask extends sfCommandApplicationTask
2121
protected
2222
$configuration = null,
2323
$pluginManager = null,
24-
$statusStartTime = null;
24+
$statusStartTime = null,
25+
$filesystem = null,
26+
$tokens = array();
2527

2628
/**
2729
* @see sfTask

lib/util/sfBrowser.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class sfBrowser extends sfBrowserBase
2121
protected
2222
$listeners = array(),
2323
$context = null,
24-
$currentException = null;
24+
$currentException = null,
25+
$rawConfiguration = array();
2526

2627
/**
2728
* Calls a request to a uri.

0 commit comments

Comments
 (0)