We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f458e5b + 88b2765 commit 82f003eCopy full SHA for 82f003e
src/Symfony/Component/Ldap/Tests/LdapTestCase.php
@@ -8,6 +8,14 @@ class LdapTestCase extends TestCase
8
{
9
protected function getLdapConfig()
10
11
+ $h = @ldap_connect(getenv('LDAP_HOST'), getenv('LDAP_PORT'));
12
+
13
+ if (!$h || !@ldap_bind($h)) {
14
+ $this->markTestSkipped('No server is listening on LDAP_HOST:LDAP_PORT');
15
+ }
16
17
+ ldap_close($h);
18
19
return [
20
'host' => getenv('LDAP_HOST'),
21
'port' => getenv('LDAP_PORT'),
src/Symfony/Component/VarDumper/Tests/Caster/ReflectionCasterTest.php
@@ -37,7 +37,7 @@ public function testReflectionCaster()
37
%A]
38
constants: array:3 [
39
"IS_IMPLICIT_ABSTRACT" => 16
40
- "IS_EXPLICIT_ABSTRACT" => 32
+ "IS_EXPLICIT_ABSTRACT" => %d
41
"IS_FINAL" => %d
42
]
43
properties: array:%d [
0 commit comments