Commit c272a4cd authored by jcnventura's avatar jcnventura Committed by Joao Ventura

Issue #3189103 by jcnventura: Remove deprecated code

parent 6a1b28ca
......@@ -261,46 +261,3 @@ function hook_openid_connect_userinfo_save(UserInterface $account, array $contex
$account->set('field_' . $key, $value);
}
}
/**
* Save userinfo hook.
*
* This hook runs after the claim mappings have been applied by the OpenID
* Connect module, but before the account will be saved.
*
* A popular use case for this hook is mapping additional information like
* user roles or other complex claims provided by the identity provider, that
* the OpenID Connect module has no mapping mechanisms for.
*
* @param \Drupal\user\UserInterface $account
* A user account object.
* @param array $context
* An associative array with context information:
* - tokens: Array of original tokens.
* - user_data: Array of user and session data from the ID token.
* - userinfo: Array of user information from the userinfo endpoint.
* - plugin_id: The plugin identifier.
* - sub: The remote user identifier.
* - is_new: Whether the account was created during authorization.
*
* @ingroup openid_connect_api
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use hook_openid_connect_userinfo_save() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2912214
*/
function hook_openid_connect_save_userinfo(UserInterface $account, array $context) {
}
/**
* Alter hook to alter the user properties to be skipped for mapping.
*
* @param array $properties_to_skip
* An array of of properties to skip.
*
* @ingroup openid_connect_api
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use hook_openid_connect_user_properties_ignore_alter() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2921095
*/
function hook_openid_connect_user_properties_to_skip_alter(array &$properties_to_skip) {
}
......@@ -170,251 +170,3 @@ function openid_connect_form_user_login_form_alter(&$form, FormStateInterface $f
}
}
}
/**
* Saves user profile information into a user account.
*
* @param \Drupal\user\UserInterface $account
* An user account object.
* @param array $userinfo
* An array with information about the user.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::saveUserinfo() or
* \Drupal::service('openid_connect.openid_connect')->saveUserinfo() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_save_userinfo(UserInterface $account, array $userinfo) {
@trigger_error("openid_connect_save_userinfo() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::saveUserinfo() or \Drupal::service('openid_connect.openid_connect')->saveUserinfo() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
\Drupal::service('openid_connect.openid_connect')->saveUserinfo($account, $userinfo);
}
/**
* Logs in a user.
*
* @param \Drupal\user\UserInterface $account
* The user account.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::loginUser() or
* user_login_finalize() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_login_user(UserInterface $account) {
@trigger_error("openid_connect_login_user() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::loginUser() or user_login_finalize() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
user_login_finalize($account);
}
/**
* Save the current path in the session, for redirecting after authorization.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnectSession::saveDestination() or
* \Drupal::service('openid_connect.session')->saveDestination() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_save_destination() {
@trigger_error("openid_connect_save_destination() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnectSession::saveDestination() or \Drupal::service('openid_connect.session')->saveDestination() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
\Drupal::service('openid_connect.session')->saveDestination();
}
/**
* Creates a user indicating sub-id and login provider.
*
* @param string $sub
* The subject identifier.
* @param array $userinfo
* The user claims, containing at least 'email'.
* @param string $client_name
* The machine name of the client.
* @param int $status
* The initial user status.
*
* @return object|false
* The user object or FALSE on failure.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::createUser() or
* \Drupal::service('openid_connect.openid_connect')->createUser() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_create_user($sub, array $userinfo, $client_name, $status = 1) {
@trigger_error("openid_connect_create_user() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::createUser() or \Drupal::service('openid_connect.openid_connect')->createUser() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->createUser($sub, $userinfo, $client_name, $status);
}
/**
* Generate a username for a new account.
*
* @param string $sub
* The subject identifier.
* @param array $userinfo
* The user claims.
* @param string $client_name
* The client identifier.
*
* @return string
* A unique username.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* No replacement is intended. The new method
* Drupal\openid_connect\OpenIDConnect::generateUsername() or
* \Drupal::service('openid_connect.openid_connect')->generateUsername()
* will be set protected for the OpenID Connect service.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_generate_username($sub, array $userinfo, $client_name) {
@trigger_error("openid_connect_generate_username() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. No replacement is intended. The new method Drupal\openid_connect\OpenIDConnect::generateUsername() or \Drupal::service('openid_connect.openid_connect')->generateUsername() will be set protected for the OpenID Connect service. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->generateUsername($sub, $userinfo, $client_name);
}
/**
* Check if a user name already exists.
*
* @param string $name
* A name to test.
*
* @return bool
* TRUE if a user exists with the given name, FALSE otherwise.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* No replacement is intended. The new method
* Drupal\openid_connect\OpenIDConnect::usernameExists() or
* \Drupal::service('openid_connect.openid_connect')->usernameExists()
* will be set protected for the OpenID Connect service.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_username_exists($name) {
@trigger_error("openid_connect_username_exists() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. No replacement is intended. The new method Drupal\openid_connect\OpenIDConnect::usernameExists() or \Drupal::service('openid_connect.openid_connect')->usernameExists() will be set protected for the OpenID Connect service. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->usernameExists($name);
}
/**
* Find whether the user is allowed to change their own password.
*
* @param object $account
* A user account object.
*
* @return bool
* TRUE if access is granted, FALSE otherwise.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::hasSetPasswordAccess() or
* \Drupal::service('openid_connect.openid_connect')->hasSetPasswordAccess()
* instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_set_password_access($account) {
@trigger_error("openid_connect_set_password_access() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::hasSetPasswordAccess() or \Drupal::service('openid_connect.openid_connect')->hasSetPasswordAccess() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->hasSetPasswordAccess($account);
}
/**
* Connect an external OpenID Connect account to a Drupal user account.
*
* @param object $account
* The Drupal user object.
* @param string $client_name
* The client machine name.
* @param string $sub
* The 'sub' property identifying the external account.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnectAuthmap::createAssociation() or
* \Drupal::service('openid_connect.authmap')->createAssociation() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_connect_account($account, $client_name, $sub) {
@trigger_error("openid_connect_connect_account() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnectAuthmap::createAssociation() or \Drupal::service('openid_connect.authmap')->createAssociation() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
\Drupal::service('openid_connect.authmap')->createAssociation($account, $client_name, $sub);
}
/**
* Disconnect an external OpenID Connect account from a Drupal user account.
*
* @param object $account
* The Drupal user object.
* @param string $client_name
* The client machine name.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnectAuthmap::deleteAssociation() or
* \Drupal::service('openid_connect.authmap')->deleteAssociation() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_disconnect_account($account, $client_name) {
@trigger_error("openid_connect_disconnect_account() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnectAuthmap::deleteAssociation() or \Drupal::service('openid_connect.authmap')->deleteAssociation() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
\Drupal::service('openid_connect.authmap')->deleteAssociation($account->id(), $client_name);
}
/**
* Get the 'sub' property from the user data and/or user claims.
*
* The 'sub' (Subject Identifier) is a unique ID for the external provider to
* identify the user.
*
* @param array $user_data
* The user data as returned from
* OpenIDConnectClientInterface::decodeIdToken().
* @param array $userinfo
* The user claims as returned from
* OpenIDConnectClientInterface::retrieveUserInfo().
*
* @return string|false
* The sub, or FALSE if there was an error.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::extractSub() or
* \Drupal::service('openid_connect.openid_connect')->extractSub() instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_extract_sub(array $user_data, array $userinfo) {
@trigger_error("openid_connect_extract_sub() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::extractSub() or \Drupal::service('openid_connect.openid_connect')->extractSub() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->extractSub($user_data, $userinfo);
}
/**
* Complete the authorization after tokens have been retrieved.
*
* @param object $client
* The client.
* @param array $tokens
* The tokens as returned from OpenIDConnectClientInterface::retrieveTokens().
* @param string|array $destination
* The path to redirect to after authorization.
*
* @return bool
* TRUE on success, FALSE on failure.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::completeAuthorization() or
* \Drupal::service('openid_connect.openid_connect')->completeAuthorization()
* instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_complete_authorization($client, array $tokens, &$destination) {
@trigger_error("openid_connect_complete_authorization() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::completeAuthorization() or \Drupal::service('openid_connect.openid_connect')->completeAuthorization() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->completeAuthorization($client, $tokens, $destination);
}
/**
* Connect the current user's account to an external provider.
*
* @param object $client
* The client.
* @param array $tokens
* The tokens as returned from OpenIDConnectClientInterface::retrieveTokens().
*
* @return bool
* TRUE on success, FALSE on failure.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0.
* Use Drupal\openid_connect\OpenIDConnect::connectCurrentUser() or
* \Drupal::service('openid_connect.openid_connect')->connectCurrentUser()
* instead.
* @see https://www.drupal.org/project/openid_connect/issues/2961938
*/
function openid_connect_connect_current_user($client, array $tokens) {
@trigger_error("openid_connect_connect_current_user() is deprecated in openid_connect:8.x-1.0-beta6 and is removed from openid_connect:8.x-2.0. Use Drupal\openid_connect\OpenIDConnect::connectCurrentUser() or \Drupal::service('openid_connect.openid_connect')->connectCurrentUser() instead. See https://www.drupal.org/project/openid_connect/issues/2961938", E_USER_DEPRECATED);
return \Drupal::service('openid_connect.openid_connect')->connectCurrentUser($client, $tokens);
}
<?php
namespace Drupal\openid_connect;
/**
* Class Authmap.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\OpenIDConnectAuthmap instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Authmap extends OpenIDConnectAuthmap {
}
<?php
namespace Drupal\openid_connect;
/**
* Class Claims.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\OpenIDConnectClaims instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Claims extends OpenIDConnectClaims {
}
<?php
namespace Drupal\openid_connect\Controller;
/**
* Class RedirectController.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Controller\OpenIDConnectRedirectController instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class RedirectController extends OpenIDConnectRedirectController {
}
<?php
namespace Drupal\openid_connect\Form;
/**
* Class AccountsForm.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Form\OpenIDConnectAccountsForm instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class AccountsForm extends OpenIDConnectAccountsForm {
}
<?php
namespace Drupal\openid_connect\Form;
/**
* Class LoginForm.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Form\OpenIDConnectLoginForm instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class LoginForm extends OpenIDConnectLoginForm {
}
<?php
namespace Drupal\openid_connect\Form;
/**
* Class SettingsForm.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Form\OpenIDConnectSettingsForm instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class SettingsForm extends OpenIDConnectSettingsForm {
}
......@@ -180,8 +180,6 @@ class OpenIDConnect {
'default_langcode',
];
$this->moduleHandler->alter('openid_connect_user_properties_ignore', $properties_ignore, $context);
// Invoke deprecated hook with deprecation error message.
$this->moduleHandler->alterDeprecated('hook_openid_connect_user_properties_to_skip_alter() is deprecated and will be removed in 8.x-2.0.', 'openid_connect_user_properties_to_skip', $properties_ignore, $context);
$properties_ignore = array_unique($properties_ignore);
return array_combine($properties_ignore, $properties_ignore);
......@@ -412,8 +410,7 @@ class OpenIDConnect {
* @param \Drupal\openid_connect\Plugin\OpenIDConnectClientInterface $client
* The client.
* @param array $tokens
* The tokens as returned from
* OpenIDConnectClientInterface::retrieveTokens().
* The tokens as returned by OpenIDConnectClientInterface::retrieveTokens().
*
* @return bool
* TRUE on success, FALSE on failure.
......@@ -679,10 +676,6 @@ class OpenIDConnect {
}
// Allow other modules to add additional user information.
$this->moduleHandler->invokeAllDeprecated('openid_connect_save_userinfo() is deprecated and will be removed in 8.x-2.0.', 'openid_connect_save_userinfo', [
$account,
$context,
]);
$this->moduleHandler->invokeAll('openid_connect_userinfo_save', [
$account,
$context,
......
......@@ -14,7 +14,7 @@ class OpenIDConnectStateToken implements OpenIDConnectStateTokenInterface {
/**
* {@inheritdoc}
*/
public static function create() {
public function create() {
$state = Crypt::randomBytesBase64();
$_SESSION['openid_connect_state'] = $state;
return $state;
......@@ -23,7 +23,7 @@ class OpenIDConnectStateToken implements OpenIDConnectStateTokenInterface {
/**
* {@inheritdoc}
*/
public static function confirm($state_token) {
public function confirm($state_token) {
return isset($_SESSION['openid_connect_state']) &&
$state_token == $_SESSION['openid_connect_state'];
}
......
......@@ -14,13 +14,8 @@ interface OpenIDConnectStateTokenInterface {
*
* @return string
* A state token that later can be validated to prevent request forgery.
*
* @deprecated in openid_connect:8.x-1.0-rc2 and is removed from openid_connect:8.x-2.0.
* Instead of the static OpenIDConnectStateToken::create, use the non-static
* \Drupal::service('openid_connect.state_token')->create() instead.
* @see https://www.drupal.org/project/openid_connect/issues/3055847
*/
public static function create();
public function create();
/**
* Confirms anti-forgery state token.
......@@ -31,12 +26,7 @@ interface OpenIDConnectStateTokenInterface {
* @return bool
* Whether the state token matches the previously created one that is stored
* in the session.
*
* @deprecated in openid_connect:8.x-1.0-rc2 and is removed from openid_connect:8.x-2.0.
* Instead of the static OpenIDConnectStateToken::confirm use the non-static
* \Drupal::service('openid_connect.state_token')->confirm() instead.
* @see https://www.drupal.org/project/openid_connect/issues/3055847
*/
public static function confirm($state_token);
public function confirm($state_token);
}
<?php
namespace Drupal\openid_connect\Plugin\Block;
/**
* Class LoginBlock.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\Block\OpenIDConnectLoginBlock instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class LoginBlock extends OpenIDConnectLoginBlock {
}
<?php
namespace Drupal\openid_connect\Plugin\OpenIDConnectClient;
/**
* Class Facebook.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectFacebookClient
* instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Facebook extends OpenIDConnectFacebookClient {
}
<?php
namespace Drupal\openid_connect\Plugin\OpenIDConnectClient;
/**
* Class Generic.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectGenericClient
* instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Generic extends OpenIDConnectGenericClient {
}
<?php
namespace Drupal\openid_connect\Plugin\OpenIDConnectClient;
/**
* Class Github.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectGithubClient
* instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Github extends OpenIDConnectGithubClient {
}
<?php
namespace Drupal\openid_connect\Plugin\OpenIDConnectClient;
/**
* Class Google.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectGoogleClient
* instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Google extends OpenIDConnectGoogleClient {
}
<?php
namespace Drupal\openid_connect\Plugin\OpenIDConnectClient;
/**
* Class Linkedin.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectLinkedinClient
* instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class Linkedin extends OpenIDConnectLinkedinClient {
}
<?php
namespace Drupal\openid_connect;
/**
* Class StateToken.
*
* @deprecated in openid_connect:8.x-1.0-beta6 and is removed from
* openid_connect:8.x-2.0. You should implement
* Drupal\openid_connect\OpenIDConnectStateToken instead.
*
* @see https://www.drupal.org/project/openid_connect/issues/2960886
*/
class StateToken extends OpenIDConnectStateToken {
}
......@@ -258,13 +258,6 @@ class OpenIDConnectTest extends UnitTestCase {
[]
);
$this->moduleHandler->expects($this->once())
->method('alterDeprecated')
->with(
'hook_openid_connect_user_properties_to_skip_alter() is deprecated and will be removed in 8.x-2.0.', 'openid_connect_user_properties_to_skip',
$defaultPropertiesIgnore
);
$actualPropertiesIgnored = $this->openIdConnect->userPropertiesIgnore([]);
$this->assertArrayEquals($expectedResults, $actualPropertiesIgnored);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment