src/CoreBundle/Entity/SocialPostFeedback.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: User::class, inversedBy: 'socialPostsFeedbacks')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Index(name: 'idx_social_post_uid_spid', columns: ['social_post_id', 'user_id'])]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'user_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'liked', type: 'boolean', options: ['default' => false])]
- Exclude checks
Missing function doc comment Open
Open
public function getUpdatedAt(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setSocialPost(SocialPost $socialPost): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'updated_at', type: 'datetime', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setLiked(bool $liked): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'social_post_feedback')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class SocialPostFeedback
- Exclude checks
Missing function doc comment Open
Open
public function getId(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'disliked', type: 'boolean', options: ['default' => false])]
- Exclude checks
Missing function doc comment Open
Open
public function setUpdatedAt(DateTime $updatedAt): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'social_post_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity]
- Exclude checks
Missing function doc comment Open
Open
public function isDisliked(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setDisliked(bool $disliked): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Timestampable(on: 'update')]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getSocialPost(): SocialPost
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: SocialPost::class, inversedBy: 'feedbacks')]
- Exclude checks
Missing function doc comment Open
Open
public function isLiked(): bool
- Exclude checks