apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -22,6 +22,7 @@ use Symfony\Component\HttpClient\Response\MockResponse;
/**
* @internal
*
* @coversNothing
*/
class MSUserAbsenceReaderTest extends TestCase
@@ -55,7 +56,7 @@ class MSUserAbsenceReaderTest extends TestCase
$absenceReader = new MSUserAbsenceReader($client, $mapUser->reveal(), $clock);
self::assertNull($absenceReader->isUserAbsent($user), "when no user found, absence should be null");
self::assertNull($absenceReader->isUserAbsent($user), 'when no user found, absence should be null');
}
public function provideDataTestUserAbsence(): iterable
@@ -81,7 +82,7 @@ class MSUserAbsenceReaderTest extends TestCase
}
JSON,
false,
"User is present"
'User is present',
];
yield [
@@ -103,7 +104,7 @@ class MSUserAbsenceReaderTest extends TestCase
}
JSON,
true,
'User is absent with absence scheduled, we are within this period'
'User is absent with absence scheduled, we are within this period',
];
yield [
@@ -125,7 +126,7 @@ class MSUserAbsenceReaderTest extends TestCase
}
JSON,
false,
'User is present: absence is scheduled for later'
'User is present: absence is scheduled for later',
];
yield [
@@ -147,7 +148,7 @@ class MSUserAbsenceReaderTest extends TestCase
}
JSON,
false,
'User is present: absence is past'
'User is present: absence is past',
];
yield [
@@ -169,7 +170,7 @@ class MSUserAbsenceReaderTest extends TestCase
}
JSON,
true,
"User is absent: absence is always enabled"
'User is absent: absence is always enabled',
];
}
}