Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Remove PHP 8.2 exceptions #678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Analyser/Header/Baidu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

class Baidu
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/BrowserId.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

class BrowserId
{
protected $data;

public function __construct($header, &$data)
{
if ($header == 'XMLHttpRequest') {
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/OperaMini.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

class OperaMini
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/Puffin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class Puffin
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/UCBrowserNew.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

class UCBrowserNew
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/UCBrowserOld.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

class UCBrowserOld
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down
3 changes: 3 additions & 0 deletions src/Analyser/Header/Useragent.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ class Useragent
{
use Useragent\Os, Useragent\Device, Useragent\Browser, Useragent\Application, Useragent\Using, Useragent\Engine, Useragent\Bot;

protected $data;
protected $options;

public function __construct($header, &$data, &$options)
{
$this->data =& $data;
Expand Down
2 changes: 2 additions & 0 deletions src/Analyser/Header/Wap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

class Wap
{
protected $data;

public function __construct($header, &$data)
{
$this->data =& $data;
Expand Down