Skip to content

Commit

Permalink
Merge pull request #440 from web-auth/cs/fix-all
Browse files Browse the repository at this point in the history
Fix Rector+ECS
  • Loading branch information
Spomky authored Jul 15, 2023
2 parents c295998 + 7ef9b7b commit 8e9167b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodParameterRector;
use Rector\Doctrine\Set\DoctrineSetList;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
use Rector\PHPUnit\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
Expand Down Expand Up @@ -43,9 +43,6 @@
ReadOnlyPropertyRector::class => [
__DIR__ . '/src/metadata-service/src/Statement/MetadataStatement.php',
],
ReadOnlyPropertyRector::class => [
__DIR__ . '/src/metadata-service/src/Statement/MetadataStatement.php',
],
]);
$config->services()->remove(PreferPHPUnitThisCallRector::class);
$config->phpVersion(PhpVersion::PHP_81);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function __construct(
private ?AuthenticationExtensionsClientOutputs $extensions,
private readonly string $firewallName,
array $roles = [],
private bool $isBackupEligible = false,
private bool $isBackedUp = false,
private readonly bool $isBackupEligible = false,
private readonly bool $isBackedUp = false,
) {
parent::__construct($roles);
}
Expand Down
2 changes: 1 addition & 1 deletion src/webauthn/src/AuthenticatorData.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AuthenticatorData

final public const FLAG_BE = 0b00001000;

final public const FLAG_BS = 0b00010000;
final public const FLAG_BS = 0b00010000;

/**
* TODO: remove bits 3 and 4 as they have been assigned to BE and BS in Webauthn level 3.
Expand Down

0 comments on commit 8e9167b

Please sign in to comment.