Skip to content

Commit 1f599a2

Browse files
williamdesmonnerat
authored andcommitted
Fix Creation of dynamic property
- Deprecated: Creation of dynamic property page::$index is deprecated in /usr/share/phpldapadmin/lib/page.php on line 38 - Deprecated: Creation of dynamic property page::$sysmsg is deprecated in /usr/share/phpldapadmin/lib/page.php on line 468 - Deprecated: Creation of dynamic property page::$_block is deprecated in /usr/share/phpldapadmin/lib/page.php on line 241 - Creation of dynamic property Template::$askcontainer is deprecated - Creation of dynamic property PLAAttribute::$js is deprecated (on create entry of type Thunderbird) - On import feature - On export feature - And others.. Origin: vendor Forwarded: leenooks#202 Bug-Debian: https://bugs.debian.org/1100771
1 parent 9b2ef1b commit 1f599a2

File tree

7 files changed

+8
-1
lines changed

7 files changed

+8
-1
lines changed

lib/PLAAttribute.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* @package phpLDAPadmin
1313
* @subpackage Templates
1414
*/
15+
#[\AllowDynamicProperties]
1516
class PLAAttribute {
1617
# Attribute Name
1718
public $name;

lib/Query.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* @package phpLDAPadmin
1313
* @subpackage Queries
1414
*/
15+
#[\AllowDynamicProperties]
1516
class Query extends xmlTemplate {
1617
protected $description = '';
1718
public $results = array();

lib/Template.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @todo RDN attributes need to be checked that are included in the schema, otherwise mark it is invalid
2929
* @todo askcontainer is no longer used?
3030
*/
31+
#[\AllowDynamicProperties]
3132
class Template extends xmlTemplate {
3233
# If this template visible on the template choice list
3334
private $visible = true;

lib/TemplateRender.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
class TemplateRender extends PageRender {
1616
# Page number
1717
private $pagelast;
18+
private $url_base;
19+
private $layout;
1820

1921
/** CORE FUNCTIONS **/
2022

lib/import_functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public function LDAPimport() {
144144
* @package phpLDAPadmin
145145
* @subpackage Import
146146
*/
147+
#[\AllowDynamicProperties]
147148
class ImportLDIF extends Import {
148149
private $_currentLineNumber = 0;
149150
private $_currentLine = '';

lib/page.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* @package phpLDAPadmin
1313
* @subpackage Page
1414
*/
15+
#[\AllowDynamicProperties]
1516
class page {
1617
# pre-HTML headers
1718
protected $_pageheader;

lib/schema_functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract class SchemaItem {
2424
# The description of this schema item.
2525
protected $description = '';
2626
# Boolean value indicating whether this objectClass is obsolete
27-
private $is_obsolete = false;
27+
protected $is_obsolete = false;
2828

2929
public function setOID($oid) {
3030
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))

0 commit comments

Comments
 (0)