Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed Dec 12, 2024
1 parent 083f7ca commit dfd6f5b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@
],
'php_unit_mock_short_will_return' => true,
'php_unit_set_up_tear_down_visibility' => true,
'visibility_required' => [
'elements' => [
// 'property' // Disabled because of PHP 8.4 aviz
'method',
'const'
],
],
'php_unit_size_class' => false,
'php_unit_test_annotation' => [
'style' => 'prefix',
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/Auth/AuthorizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Tempest\Auth\Authenticator;
use Tempest\Auth\Install\CreatePermissionsTable;
use Tempest\Auth\Install\User;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\CreateUserPermissionsTable;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\User;
use Tempest\Clock\Clock;
use Tempest\Database\Migrations\CreateMigrationsTable;
use Tempest\Router\Session\Managers\FileSessionManager;
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/Auth/SessionAuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use Tempest\Auth\Authenticator;
use Tempest\Auth\CurrentUserNotLoggedIn;
use Tempest\Auth\Install\CreatePermissionsTable;
use Tempest\Auth\Install\User;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\CreateUserPermissionsTable;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\User;
use Tempest\Auth\SessionAuthenticator;
use Tempest\Clock\Clock;
use Tempest\Database\Migrations\CreateMigrationsTable;
Expand Down
6 changes: 3 additions & 3 deletions tests/Integration/Auth/UserModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

namespace Tests\Tempest\Integration\Auth;

use Tempest\Auth\Install\Permission;
use Tempest\Auth\Install\CreatePermissionsTable;
use Tempest\Auth\Install\User;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\CreateUserPermissionsTable;
use Tempest\Auth\Install\CreateUsersTable;
use Tempest\Auth\Install\Permission;
use Tempest\Auth\Install\User;
use Tempest\Database\Migrations\CreateMigrationsTable;
use Tests\Tempest\Integration\Auth\Fixtures\UserPermissionBackedEnum;
use Tests\Tempest\Integration\Auth\Fixtures\UserPermissionUnitEnum;
Expand Down

0 comments on commit dfd6f5b

Please sign in to comment.