加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/salesagility/SuiteCRM
克隆/下载
deprecated.php 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
Clemente Raposo 提交于 2023-06-01 14:10 . Run rector root folder files
<?php
/**
* Backwards compatibility for OneLogin\Saml2
*/
$saml2_class_names = [
'Auth',
'AuthnRequest',
'Constants',
'Error',
'ValidationError',
'IdPMetadataParser',
'LogoutRequest',
'LogoutResponse',
'Metadata',
'Response',
'Settings',
'Utils',
];
foreach ($saml2_class_names as $name) {
class_alias("OneLogin\\Saml2\\" . $name, 'OneLogin_Saml2_' . $name);
}
if (!class_exists(OneLogin_Saml2_Auth::class)) {
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Auth {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_AuthnRequest {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Constants {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Error {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_ValidationError {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_IdPMetadataParser {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_LogoutRequest {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_LogoutResponse {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Metadata {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Response {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Settings {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
#[\AllowDynamicProperties]
class OneLogin_Saml2_Utils {}
}
/**
* Backwards compatibility for Zend
*/
class_alias('SuiteCRM\\Zend_Oauth_Provider', 'Zend\\Oauth\\Provider');
if (!class_exists(Provider::class)) {
/** @deprecated this is an alias for Zend_Oauth_Provider */
#[\AllowDynamicProperties]
class Provider {}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化