refactor: add space related lint rules

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
Saw-jan
2025-06-19 12:12:17 +05:45
parent a565108302
commit 2ef566b85b
25 changed files with 123 additions and 120 deletions

View File

@@ -394,7 +394,7 @@ trait Provisioning {
* @throws Exception
*/
public function createLdapUser(array $setting): void {
$ou = $this->ldapUsersOU ;
$ou = $this->ldapUsersOU;
// Some special characters need to be escaped in LDAP DN and attributes
// The special characters allowed in a username (UID) are +_.@-
// Of these, only + has to be escaped.
@@ -540,8 +540,8 @@ trait Provisioning {
*/
public function usersHaveBeenCreated(
TableNode $table,
bool $useDefault=true,
bool $initialize=true
bool $useDefault = true,
bool $initialize = true
) {
$this->verifyTableNodeColumns($table, ['username'], ['displayname', 'email', 'password']);
$table = $table->getColumnsHash();