src/Command/BaseCommand.php

Avoid variables with short names like $em. Configured minimum length is 3.
13
protected $em;

src/Command/StatusesHomeTimelineCommand.php

Avoid unused parameters such as '$input'.
95
protected function getContent(InputInterface $input)

src/Entity/Media.php

Avoid variables with short names like $id. Configured minimum length is 3.
15
private $id;

src/Entity/TweetRepository.php

Avoid variables with short names like $qb. Configured minimum length is 3.
45
private function getWithUsersAndMediasQuery($qb)
Avoid variables with short names like $qb. Configured minimum length is 3.
156
$qb = $this->createQueryBuilder('t')
The method deleteAndHideTweetsLessThanId uses an else expression. Else is never necessary and you can simplify the code to work without else.
234
} else {

src/Entity/User.php

Avoid variables with short names like $id. Configured minimum length is 3.
15
private $id;
Avoid variables with short names like $id. Configured minimum length is 3.
42
public function __construct($id = null)
Avoid variables with short names like $id. Configured minimum length is 3.
58
public function setId($id)

src/Utils/PersistTweet.php

Avoid variables with short names like $em. Configured minimum length is 3.
15
public function __construct($em, $displayTable, $table)

tests/Command/StatusesHomeTimelineTest.php

The method testStatusesHomeTimelineWithTweetAndRetweet() has 110 lines of code. Current threshold is set to 100. Avoid really long methods.
146
public function testStatusesHomeTimelineWithTweetAndRetweet()
Avoid variables with short names like $em. Configured minimum length is 3.
188
$em = $this

tests/Command/data/tweet_with_retweet.json

Missing semicolon. (semi)
1
[{"created_at":"Sat Aug 22 20:20:27 +0000 2015","id":999080449,"id_str":"999080449","text":"RT @travisci: Good morning! We shipped official support to run Docker and use Docker images. Happy shipping! http:\/\/t.co\/U0B0T4leLI http:\/\/\u2026","source":"<a href=\"http:\/\/twitter.com\" rel=\"nofollow\">Twitter Web Client<\/a>","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":3

tests/Command/data/tweets_32_bits.json

Missing semicolon. (semi)
1
[{"created_at":"Tue Feb 28 21:18:00 +0000 2015","id":1210900800,"id_str":"1210900800","text":"RT This is a retweet.","source":"<a href=\"http:\/\/twitter.com\" rel=\"nofollow\">Twitter Web Client<\/a>","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":12301465,"id_str":"12301465","name":"Asynchronous tweets","screen_name":"AsyncTweets","location":"","profile_location":null,"des

tests/Controller/DefaultControllerTest.php

The method testTweets() has 101 lines of code. Current threshold is set to 100. Avoid really long methods.
35
public function testTweets($path = null)
The method testTweetsPages() has 149 lines of code. Current threshold is set to 100. Avoid really long methods.
142
public function testTweetsPages()
Avoid variables with short names like $em. Configured minimum length is 3.
601
$em = $this
The method testTweets uses an else expression. Else is never necessary and you can simplify the code to work without else.
628
} else {

tests/Features/Context/FeatureContext.php

Avoid using static access to class '\PHPUnit\Framework\Assert' in method 'theTweetMustHaveCorrectId'.
88
\PHPUnit\Framework\Assert::assertSame(
Avoid using static access to class '\PHPUnit\Framework\Assert' in method 'theTweetMustBeInTimeline'.
99
\PHPUnit\Framework\Assert::assertTrue(