bug #37594 Use hexadecimal numerals instead of hexadecimals in strings to repres… (arekzb)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead.
Discussion
----------
Use hexadecimal numerals instead of hexadecimals in strings to repres…
Use hexadecimal numerals instead of hexadecimals in strings to represent error codes.
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #37577 , #36327
| License | MIT
Class constants are now hexadecimal numerals instead of hexadecimals in strings.
Commits
-------
e9f7769111
Use hexadecimal numerals instead of hexadecimals in strings to represent error codes.
This commit is contained in:
commit
3619661d65
@ -25,9 +25,9 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||||||
*/
|
*/
|
||||||
class Connection extends AbstractConnection
|
class Connection extends AbstractConnection
|
||||||
{
|
{
|
||||||
private const LDAP_INVALID_CREDENTIALS = '0x31';
|
private const LDAP_INVALID_CREDENTIALS = 0x31;
|
||||||
private const LDAP_TIMEOUT = '0x55';
|
private const LDAP_TIMEOUT = 0x55;
|
||||||
private const LDAP_ALREADY_EXISTS = '0x44';
|
private const LDAP_ALREADY_EXISTS = 0x44;
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $bound = false;
|
private $bound = false;
|
||||||
|
Reference in New Issue
Block a user