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] Fix some more PHP 8.2 deprecation notices #41

Open
wants to merge 2 commits 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: 1 addition & 1 deletion Resources/Private/Templates/OpenidLogin.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<input type="hidden" name="username" value="" />
<input type="hidden" name="userident" value="" />
<div class="input-group-addon">
<span class="fa fa-openid"></span>
<img src="{f:uri.resource(path:'EXT:openid/Resources/Public/Icons/fa-openid.svg')}" alt="fa-openid"/>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions Resources/Public/Icons/fa-openid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/php-openid/Auth/OpenID/AX.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function Auth_OpenID_AX_checkAlias($alias)
* @package OpenID
*/
class Auth_OpenID_AX_Error {
public $message;
function __construct($message=null)
{
$this->message = $message;
Expand Down Expand Up @@ -142,6 +143,10 @@ function _newArgs()
* @package OpenID
*/
class Auth_OpenID_AX_AttrInfo {
public $required;
public $count;
public $type_uri;
public $alias;
/**
* Construct an attribute information object. Do not call this
* directly; call make(...) instead.
Expand Down
4 changes: 4 additions & 0 deletions lib/php-openid/Auth/OpenID/MDB2Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
* @package OpenID
*/
class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
public $associations_table_name;
public $nonces_table_name;
public $connection;
public $max_nonce_age;
/**
* This creates a new MDB2Store instance. It requires an
* established database connection be given to it, and it allows
Expand Down
3 changes: 3 additions & 0 deletions lib/php-openid/Auth/OpenID/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ class Auth_OpenID_Parse {

public $_open_tag_expr = "<%s\b";
public $_close_tag_expr = "<((\/%s\b)|(%s[^>\/]*\/))>";
public $_link_find;
public $_entity_replacements;
public $_ent_replace;

function __construct()
{
Expand Down
4 changes: 4 additions & 0 deletions lib/php-openid/Auth/OpenID/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,8 @@ class Auth_OpenID_ServerResponse {
/** @var Auth_OpenID_Request */
public $request;

public $fields;

/**
* Auth_OpenID_ServerResponse constructor.
*
Expand Down Expand Up @@ -1402,6 +1404,7 @@ function encodeToKVForm()
class Auth_OpenID_WebResponse {
public $code = AUTH_OPENID_HTTP_OK;
public $body = "";
public $headers;

function __construct($code = null, $headers = null,
$body = null)
Expand Down Expand Up @@ -1791,6 +1794,7 @@ function defaultDecoder($message)
* @package OpenID
*/
class Auth_OpenID_EncodingError {
public $response;
function __construct($response = null)
{
if ($response !== null) {
Expand Down
3 changes: 3 additions & 0 deletions lib/php-openid/Auth/Yadis/ParseHTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class Auth_Yadis_ParseHTML {
*/
public $_attr_find = '\b([-\w]+)=(".*?"|\'.*?\'|.+?)[\/\s>]';

public $_entity_replacements;
public $_ent_replace;

function __construct()
{
$this->_attr_find = sprintf("/%s/%s",
Expand Down
4 changes: 4 additions & 0 deletions lib/php-openid/Auth/Yadis/XML.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ function attributes($node)
* @package OpenID
*/
class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
public $xml;
public $doc;
public $xpath;
public $errors;
function __construct()
{
$this->xml = null;
Expand Down
2 changes: 2 additions & 0 deletions lib/php-openid/Auth/Yadis/XRIRes.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class Auth_Yadis_ProxyResolver {
/** @var Auth_Yadis_HTTPFetcher */
protected $fetcher;

public $proxy_url;

function __construct($fetcher, $proxy_url = null)
{
$this->fetcher = $fetcher;
Expand Down