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

PHP 7.4: RemovedFunctions: account for deprecated LDAP functions #831

Merged
merged 1 commit into from Jun 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionsSniff.php
Expand Up @@ -920,6 +920,14 @@ class RemovedFunctionsSniff extends AbstractRemovedFeatureSniff
'7.4' => true,
'alternative' => null,
),
'ldap_control_paged_result_response' => array(
'7.4' => false,
'alternative' => 'ldap_search()',
),
'ldap_control_paged_result' => array(
'7.4' => false,
'alternative' => 'ldap_search()',
),
'wddx_add_vars' => array(
'7.4' => true,
'alternative' => null,
Expand Down
Expand Up @@ -231,3 +231,5 @@ wddx_packet_end();
wddx_packet_start();
wddx_serialize_value();
wddx_serialize_vars();
ldap_control_paged_result_response();
ldap_control_paged_result();
Expand Up @@ -183,6 +183,9 @@ public function dataDeprecatedFunctionWithAlternative()
array('mbereg_search_getregs', '7.3', 'mb_ereg_search_getregs()', array(164), '7.2'),
array('mbereg_search_getpos', '7.3', 'mb_ereg_search_getpos()', array(165), '7.2'),
array('mbereg_search_setpos', '7.3', 'mb_ereg_search_setpos()', array(166), '7.2'),

array('ldap_control_paged_result_response', '7.4', 'ldap_search()', array(234), '7.3'),
array('ldap_control_paged_result', '7.4', 'ldap_search()', array(235), '7.3'),
);
}

Expand Down