Skip to content

Commit 98d1069

Browse files
authored
Merge pull request #842 from paulbalandan/bleeding-edge
Enable phpstan's bleedingEdge.neon
2 parents 2907a5c + f55f63c commit 98d1069

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- phpstan-baseline.php
3+
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon
34

45
parameters:
56
tmpDir: build/phpstan

tests/Authentication/HasHmacTokensTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,16 @@ public function testHmacTokens(): void
4545
$this->assertSame([], $this->user->accessTokens());
4646

4747
// Give the user a couple of access tokens
48-
/** @var AccessToken $token1 */
4948
$token1 = fake(
5049
UserIdentityModel::class,
5150
['user_id' => $this->user->id, 'type' => 'hmac_sha256', 'secret' => 'key1', 'secret2' => 'secretKey1']
5251
);
5352

54-
/** @var AccessToken $token2 */
5553
$token2 = fake(
5654
UserIdentityModel::class,
5755
['user_id' => $this->user->id, 'type' => 'hmac_sha256', 'secret' => 'key2', 'secret2' => 'secretKey2']
5856
);
5957

60-
/** @var AccessToken[] $tokens */
6158
$tokens = $this->user->hmacTokens();
6259

6360
$this->assertCount(2, $tokens);

0 commit comments

Comments
 (0)