Skip to content

Commit 8fc3ba5

Browse files
committed
Updated coding standards.
1 parent 9970e42 commit 8fc3ba5

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

web/modules/custom/do_feed/tests/src/Unit/Hook/PreprocessViewsViewRowRssHookTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ public function testSkipsNonString(array $variables, array $expected): void {
8484
*/
8585
public static function dataProviderSkipsNonString(): \Iterator {
8686
yield 'no description key' => [
87-
['title' => 'Test'],
88-
['title' => 'Test'],
87+
['title' => 'Test'],
88+
['title' => 'Test'],
8989
];
9090
yield 'null description' => [
91-
['description' => NULL],
92-
['description' => NULL],
91+
['description' => NULL],
92+
['description' => NULL],
9393
];
9494
yield 'array description' => [
95-
['description' => ['#markup' => '<svg/>']],
96-
['description' => ['#markup' => '<svg/>']],
95+
['description' => ['#markup' => '<svg/>']],
96+
['description' => ['#markup' => '<svg/>']],
9797
];
9898
}
9999

web/sites/default/includes/modules/settings.clamav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
if (file_exists($contrib_path . '/clamav') && !empty(getenv('DRUPAL_CLAMAV_ENABLED'))) {
1111
$clamav_mode = getenv('DRUPAL_CLAMAV_MODE') ?: NULL;
12-
if (in_array(strtolower((string) $clamav_mode), ['0', 'daemon'])) {
12+
if (in_array(strtolower((string) $clamav_mode), ['0', 'daemon'], TRUE)) {
1313
// Drupal\clamav\Config::MODE_DAEMON.
1414
$config['clamav.settings']['scan_mode'] = 0;
1515
$config['clamav.settings']['mode_daemon_tcpip']['hostname'] = getenv('CLAMAV_HOST') ?: 'clamav';

0 commit comments

Comments
 (0)