Skip to content

Commit 6668d6c

Browse files
committed
test: run rector
1 parent e48867b commit 6668d6c

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

tests/Authentication/AuthenticationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
final class AuthenticationTest extends DatabaseTestCase
1818
{
19-
protected Authentication $auth;
19+
private Authentication $auth;
2020

2121
protected function setUp(): void
2222
{

tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
final class AccessTokenAuthenticatorTest extends DatabaseTestCase
2424
{
25-
protected AccessTokens $auth;
25+
private AccessTokens $auth;
2626

2727
protected function setUp(): void
2828
{

tests/Authentication/Authenticators/SessionAuthenticatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ final class SessionAuthenticatorTest extends TestCase
2727
use DatabaseTestTrait;
2828
use FakeUser;
2929

30-
protected Session $auth;
30+
private Session $auth;
3131
protected $namespace;
32-
protected $events;
32+
private MockEvents $events;
3333

3434
protected function setUp(): void
3535
{

tests/Authentication/Filters/AbstractFilterTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ abstract class AbstractFilterTest extends TestCase
1818
use FeatureTestTrait;
1919
use AuthenticationTesting;
2020

21+
protected string $routeFilter;
2122
protected $namespace;
2223
protected string $alias;
2324
protected string $classname;

tests/Authentication/HasAccessTokensTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
final class HasAccessTokensTest extends DatabaseTestCase
1717
{
18-
protected User $user;
18+
private User $user;
1919

2020
protected function setUp(): void
2121
{

tests/Unit/CompositionValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
*/
1515
final class CompositionValidatorTest extends TestCase
1616
{
17-
protected CompositionValidator $validator;
18-
protected Auth $config;
17+
private CompositionValidator $validator;
18+
private Auth $config;
1919

2020
protected function setUp(): void
2121
{

tests/Unit/DictionaryValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
final class DictionaryValidatorTest extends CIUnitTestCase
1515
{
16-
protected DictionaryValidator $validator;
16+
private DictionaryValidator $validator;
1717

1818
protected function setUp(): void
1919
{

tests/Unit/NothingPersonalValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
final class NothingPersonalValidatorTest extends CIUnitTestCase
1616
{
17-
protected NothingPersonalValidator $validator;
17+
private NothingPersonalValidator $validator;
1818

1919
protected function setUp(): void
2020
{

tests/Unit/PwnedValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
final class PwnedValidatorTest extends CIUnitTestCase
2020
{
21-
protected PwnedValidator $validator;
21+
private PwnedValidator $validator;
2222

2323
protected function setUp(): void
2424
{

0 commit comments

Comments
 (0)