mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
fmt, typings, typos
This commit is contained in:
parent
eb997b5ba2
commit
7de4c35ab4
34 changed files with 644 additions and 1048 deletions
|
|
@ -12,7 +12,7 @@ class ChatProviderTest extends TestCase {
|
|||
/** @var ChatProvider */
|
||||
private $provider;
|
||||
|
||||
public function setUp(): void {
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
||||
$this->provider = new ChatProvider($this->getDatabaseConnection());
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class DemoListProviderTest extends TestCase {
|
|||
/** @var UserProvider */
|
||||
private $userProvider;
|
||||
|
||||
public function setUp(): void {
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
||||
$this->demoListProvider = new DemoListProvider($this->getDatabaseConnection());
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class DemoProviderTest extends TestCase {
|
|||
/** @var PlayerProvider */
|
||||
private $playerProvider;
|
||||
|
||||
public function setUp(): void {
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
||||
$this->userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class UploadProviderTest extends TestCase {
|
|||
/**
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function setUp(): void {
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
||||
$this->rawParser = $this->getMockBuilder(RawParser::class)
|
||||
|
|
@ -111,7 +111,7 @@ class UploadProviderTest extends TestCase {
|
|||
rmdir($dir);
|
||||
}
|
||||
|
||||
public function tearDown(): void {
|
||||
protected function tearDown(): void {
|
||||
$this->rmdirr($this->tmpDir);
|
||||
|
||||
parent::tearDown();
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class UserProviderTest extends TestCase {
|
|||
/** @var SteamId */
|
||||
private $steamId;
|
||||
|
||||
public function setUp(): void {
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
||||
$this->steamId = $this->getSteamId('76561198024494988', 'Icewind');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue