From fcb207857633c5eb1d59b5d7876845ac5329e77a Mon Sep 17 00:00:00 2001 From: Sanic Date: Tue, 7 Mar 2023 15:30:31 +0100 Subject: [PATCH] Fix php82 deprecation warnings (#121) * Fixing deprecation message in php 8.2 * Fixing deprecation message in php 8.2 (context: https://php.watch/versions/8.2/dynamic-properties-deprecated) --------- Co-authored-by: Sanic --- bibtexbrowser.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 1051d3e..9a8cbe5 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -777,6 +777,10 @@ class XMLPrettyPrinter extends ParserDelegate { /** represents @string{k=v} */ class StringEntry { + public $filename; + public $name; + public $value; + function __construct($k, $v, $filename) { $this->name=$k; $this->value=$v; @@ -3368,6 +3372,9 @@ usage: */ class AcademicDisplay { + public $db; + public $entries; + public $title; function getTitle() { return $this->title; } function setTitle($title) { $this->title = $title; return $this; }