Enable PHPStan

- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
This commit is contained in:
Jeremy Benoist
2019-01-17 14:28:05 +01:00
parent 8445ad4790
commit 1e0d8ad7b7
27 changed files with 118 additions and 43 deletions

View File

@ -17,6 +17,9 @@ class RedirectTest extends TestCase
/** @var Redirect */
private $redirect;
/** @var UsernamePasswordToken */
private $token;
public function setUp()
{
$this->routerMock = $this->getMockBuilder('Symfony\Component\Routing\Router')