Skip to content

Commit c686fba

Browse files
committed
phpcbf multi-line function calls
1 parent 96e59a6 commit c686fba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Auth/Process/AttributeFromSQL.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function connect(): \PDO
126126
} catch (\PDOException $e) {
127127
throw new Error\Exception(
128128
'AttributeFromSQL: Failed to connect to \'' .
129-
$this->dsn . '\': ' . $e->getMessage()
129+
$this->dsn . '\': ' . $e->getMessage(),
130130
);
131131
}
132132
$db->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
@@ -179,7 +179,7 @@ public function process(array &$state): void
179179
$this->table . ' WHERE ' .
180180
$iq . 'uid' . $iq . '=? AND (' . $iq . 'sp' . $iq . '=\'%\' OR ' . $iq . 'sp' . $iq . '=?)' .
181181
($this->ignoreExpiry ? '' : ' AND ' . $iq . 'expires' . $iq . '>CURRENT_DATE') .
182-
';'
182+
';',
183183
);
184184
} catch (\PDOException $e) {
185185
throw new Error\Exception('AttributeFromSQL: prepare() failed: ' . $e->getMessage());
@@ -190,7 +190,7 @@ public function process(array &$state): void
190190
} catch (\PDOException $e) {
191191
throw new Error\Exception(
192192
'AttributeFromSQL: execute(' . $attributes[$this->identifyingAttribute][0] .
193-
', ' . $state["Destination"]["entityid"] . ') failed: ' . $e->getMessage()
193+
', ' . $state["Destination"]["entityid"] . ') failed: ' . $e->getMessage(),
194194
);
195195
}
196196

@@ -203,7 +203,7 @@ public function process(array &$state): void
203203
if (count($data) === 0) {
204204
Logger::info(
205205
'AttributeFromSQL: no additional attributes for ' .
206-
$this->identifyingAttribute . '=\'' . $attributes[$this->identifyingAttribute][0] . '\''
206+
$this->identifyingAttribute . '=\'' . $attributes[$this->identifyingAttribute][0] . '\'',
207207
);
208208
return;
209209
}
@@ -216,7 +216,7 @@ public function process(array &$state): void
216216
if (empty($row['attribute']) || $row['value'] === null) {
217217
Logger::debug(
218218
'AttributeFromSQL: skipping invalid attribute/value tuple: '
219-
. var_export($row, true)
219+
. var_export($row, true),
220220
);
221221
continue;
222222
}
@@ -228,7 +228,7 @@ public function process(array &$state): void
228228
if ($this->limit !== null && !in_array($name, $this->limit, true)) {
229229
Logger::notice(
230230
'AttributeFromSQL: skipping unwanted attribute ' .
231-
$name . ' [limited to: ' . join(', ', $this->limit) . ']'
231+
$name . ' [limited to: ' . join(', ', $this->limit) . ']',
232232
);
233233
continue;
234234
}
@@ -241,7 +241,7 @@ public function process(array &$state): void
241241
/* Value already exists in attribute. */
242242
Logger::debug(
243243
'AttributeFromSQL: skipping duplicate attribute/value tuple ' .
244-
$name . '=\'' . $value . '\''
244+
$name . '=\'' . $value . '\'',
245245
);
246246
continue;
247247
}

0 commit comments

Comments
 (0)