This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Description
Hi guys
I saw PSR2 issues when generating classes.
See errors below
92 | ERROR | [x] Expected 1 blank line at end of file; 2 found
92 | ERROR | [x] The closing brace for the class must go on the next line after the body
I post you an exemple which generate these errors
<?php
namespace AppBundle\Domain\Entity;
class MyClass
{
/**
* @var int|null
*/
private $id = null;
/**
* @param int $id
* @return $this
*/
public function setId($id)
{
$id = (int) $id;
$this->id = $id;
return $this;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
}