BaguettePHP/mastodon-api

View on GitHub
tests/Entity/StatusTest.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['account']) ? $input['account'] : null, $actual->account);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['sensitive'])    ? $input['sensitive']    : null, $actual->sensitive);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['mentions'])    ? $input['mentions']    : null, $actual->mentions);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['id'])      ? $input['id']      : null, $actual->id);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['url'])     ? $input['url']     : null, $actual->url);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['reblogged'])    ? $input['reblogged']    : null, $actual->reblogged);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['tags'])        ? $input['tags']        : null, $actual->tags);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['application']) ? $input['application'] : null, $actual->application);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['in_reply_to_account_id']) ? $input['in_reply_to_account_id'] : null, $actual->in_reply_to_account_id);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals($expected['toArray'], toArrayValue($actual));
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['reblogs_count'])    ? $input['reblogs_count']    : null, $actual->reblogs_count);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['favourited'])   ? $input['favourited']   : null, $actual->favourited);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['in_reply_to_id'])         ? $input['in_reply_to_id'] : null, $actual->in_reply_to_id);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['favourites_count']) ? $input['favourites_count'] : null, $actual->favourites_count);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['reblog'])     ? $input['reblog']     : null, $actual->reblog);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['spoiler_text']) ? $input['spoiler_text'] : null, $actual->spoiler_text);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['visibility'])   ? $input['visibility']   : null, $actual->visibility);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Reference to undeclared property \Baguette\Mastodon\Entity\Status->in_reply_to_account_id (Did you mean expr->in_reply_to_accountid)
Open

        $this->assertEquals(isset($input['in_reply_to_account_id']) ? $input['in_reply_to_account_id'] : null, $actual->in_reply_to_account_id);
Severity: Minor
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['media_attachments']) ? $input['media_attachments'] : null, $actual->media_attachments);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['content'])    ? $input['content']    : null, $actual->content);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['uri'])     ? $input['uri']     : null, $actual->uri);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['created_at']) ? new \DateTimeImmutable($input['created_at']) : null, $actual->created_at);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

There are no issues that match your filters.

Category
Status