Skip to content

Commit 34fdacd

Browse files
author
tchapi
committed
Linting fixes
1 parent dc8a5ae commit 34fdacd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Services/LDAPAuth.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ final class LDAPAuth extends AbstractBasic
6262
*/
6363
private $autoCreate;
6464

65-
6665
/**
6766
* Indicates what to do with certificate.
68-
* see https://www.php.net/manual/en/ldap.constants.php#constant.ldap-opt-x-tls-require-cert
67+
* see https://www.php.net/manual/en/ldap.constants.php#constant.ldap-opt-x-tls-require-cert.
6968
*/
7069
private $LDAPCertificateCheckingStrategy;
7170

@@ -78,7 +77,7 @@ public function __construct(ManagerRegistry $doctrine, Utils $utils, string $LDA
7877
$this->LDAPDnPattern = $LDAPDnPattern;
7978
$this->LDAPMailAttribute = $LDAPMailAttribute ?? 'mail';
8079
$this->autoCreate = $autoCreate;
81-
$this->LDAPCertificateCheckingStrategy = $LDAPCertificateCheckingStrategy ?? "try";
80+
$this->LDAPCertificateCheckingStrategy = $LDAPCertificateCheckingStrategy ?? 'try';
8281

8382
$this->doctrine = $doctrine;
8483
$this->utils = $utils;
@@ -111,7 +110,8 @@ protected function ldapOpen($username, $password)
111110
$cert_strategy = LDAP_OPT_X_TLS_TRY;
112111
break;
113112
default:
114-
error_log('Invalid certificate checking strategy: ' . $this->LDAPCertificateCheckingStrategy);
113+
error_log('Invalid certificate checking strategy: '.$this->LDAPCertificateCheckingStrategy);
114+
115115
return false;
116116
}
117117

templates/calendars/index.html.twig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
</h5>
138138
</div>
139139
<code class="mb-1">{{ subscription.source }}</code>
140-
141140
</div>
142141
{% endfor %}
143142
</div>

0 commit comments

Comments
 (0)