diff --git a/src/Collection/AuthenticationExecutionExportCollection.php b/src/Collection/AuthenticationExecutionExportCollection.php index d1ffb2e..18c36d8 100644 --- a/src/Collection/AuthenticationExecutionExportCollection.php +++ b/src/Collection/AuthenticationExecutionExportCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\AuthenticationExecutionExport; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticationExecutionExportCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/AuthenticationFlowCollection.php b/src/Collection/AuthenticationFlowCollection.php index 023457f..9fcc231 100644 --- a/src/Collection/AuthenticationFlowCollection.php +++ b/src/Collection/AuthenticationFlowCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\AuthenticationFlow; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticationFlowCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/AuthenticatorConfigCollection.php b/src/Collection/AuthenticatorConfigCollection.php index 6a2f5b6..3216c56 100644 --- a/src/Collection/AuthenticatorConfigCollection.php +++ b/src/Collection/AuthenticatorConfigCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\AuthenticatorConfig; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticatorConfigCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ClientCollection.php b/src/Collection/ClientCollection.php index e7d3285..be9e3e2 100644 --- a/src/Collection/ClientCollection.php +++ b/src/Collection/ClientCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Client; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ClientPolicyCollection.php b/src/Collection/ClientPolicyCollection.php index cea2037..cba1219 100644 --- a/src/Collection/ClientPolicyCollection.php +++ b/src/Collection/ClientPolicyCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ClientPolicy; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicyCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ClientPolicyExecutorCollection.php b/src/Collection/ClientPolicyExecutorCollection.php index 38bb269..153c9be 100644 --- a/src/Collection/ClientPolicyExecutorCollection.php +++ b/src/Collection/ClientPolicyExecutorCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ClientPolicyExecutor; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicyExecutorCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ClientProfileCollection.php b/src/Collection/ClientProfileCollection.php index 7d19562..b4787f0 100644 --- a/src/Collection/ClientProfileCollection.php +++ b/src/Collection/ClientProfileCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ClientProfile; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientProfileCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ClientScopeCollection.php b/src/Collection/ClientScopeCollection.php index fcd5336..0720512 100644 --- a/src/Collection/ClientScopeCollection.php +++ b/src/Collection/ClientScopeCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ClientScope; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientScopeCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/CredentialCollection.php b/src/Collection/CredentialCollection.php index bbe99e3..b3a8038 100644 --- a/src/Collection/CredentialCollection.php +++ b/src/Collection/CredentialCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Credential; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class CredentialCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/FederatedIdentityCollection.php b/src/Collection/FederatedIdentityCollection.php index ec0efde..4a6529b 100644 --- a/src/Collection/FederatedIdentityCollection.php +++ b/src/Collection/FederatedIdentityCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\FederatedIdentity; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class FederatedIdentityCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/GroupCollection.php b/src/Collection/GroupCollection.php index 75a68b3..14929fe 100644 --- a/src/Collection/GroupCollection.php +++ b/src/Collection/GroupCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Group; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class GroupCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/IdentityProviderCollection.php b/src/Collection/IdentityProviderCollection.php index 135d229..cadc672 100644 --- a/src/Collection/IdentityProviderCollection.php +++ b/src/Collection/IdentityProviderCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\IdentityProvider; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class IdentityProviderCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/IdentityProviderMapperCollection.php b/src/Collection/IdentityProviderMapperCollection.php index a787652..24190c3 100644 --- a/src/Collection/IdentityProviderMapperCollection.php +++ b/src/Collection/IdentityProviderMapperCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\IdentityProviderMapper; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class IdentityProviderMapperCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/PasswordPolicyTypeCollection.php b/src/Collection/PasswordPolicyTypeCollection.php index b8e782b..5b68965 100644 --- a/src/Collection/PasswordPolicyTypeCollection.php +++ b/src/Collection/PasswordPolicyTypeCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\PasswordPolicyType; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class PasswordPolicyTypeCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/PolicyCollection.php b/src/Collection/PolicyCollection.php index da5ed8a..3ca1f00 100644 --- a/src/Collection/PolicyCollection.php +++ b/src/Collection/PolicyCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Policy; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class PolicyCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ProtocolMapperCollection.php b/src/Collection/ProtocolMapperCollection.php index 57a1f02..6d41019 100644 --- a/src/Collection/ProtocolMapperCollection.php +++ b/src/Collection/ProtocolMapperCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ProtocolMapper; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ProtocolMapperCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/RealmCollection.php b/src/Collection/RealmCollection.php index dc2d151..472d341 100644 --- a/src/Collection/RealmCollection.php +++ b/src/Collection/RealmCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Realm; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class RealmCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/RequiredActionProviderCollection.php b/src/Collection/RequiredActionProviderCollection.php index a75864c..aeee1c5 100644 --- a/src/Collection/RequiredActionProviderCollection.php +++ b/src/Collection/RequiredActionProviderCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\RequiredActionProvider; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class RequiredActionProviderCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ResourceCollection.php b/src/Collection/ResourceCollection.php index d651e63..aea40e8 100644 --- a/src/Collection/ResourceCollection.php +++ b/src/Collection/ResourceCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Resource; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ResourceCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/RoleCollection.php b/src/Collection/RoleCollection.php index a7e0de7..bf97e6a 100644 --- a/src/Collection/RoleCollection.php +++ b/src/Collection/RoleCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Role; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class RoleCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ScopeCollection.php b/src/Collection/ScopeCollection.php index 16d21ae..125e735 100644 --- a/src/Collection/ScopeCollection.php +++ b/src/Collection/ScopeCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\Scope; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ScopeCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/ScopeMappingCollection.php b/src/Collection/ScopeMappingCollection.php index 3a5b861..ad702ac 100644 --- a/src/Collection/ScopeMappingCollection.php +++ b/src/Collection/ScopeMappingCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\ScopeMapping; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ScopeMappingCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/UserCollection.php b/src/Collection/UserCollection.php index 3432ad8..dd08f6b 100644 --- a/src/Collection/UserCollection.php +++ b/src/Collection/UserCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\User; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/UserConsentCollection.php b/src/Collection/UserConsentCollection.php index 50ffb1d..8642c60 100644 --- a/src/Collection/UserConsentCollection.php +++ b/src/Collection/UserConsentCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\UserConsent; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserConsentCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/UserFederationMapperCollection.php b/src/Collection/UserFederationMapperCollection.php index ee5a86f..259e20d 100644 --- a/src/Collection/UserFederationMapperCollection.php +++ b/src/Collection/UserFederationMapperCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\UserFederationMapper; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserFederationMapperCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Collection/UserFederationProviderCollection.php b/src/Collection/UserFederationProviderCollection.php index 4265702..5900dd8 100644 --- a/src/Collection/UserFederationProviderCollection.php +++ b/src/Collection/UserFederationProviderCollection.php @@ -5,12 +5,12 @@ namespace Fschmtt\Keycloak\Collection; use Fschmtt\Keycloak\Representation\UserFederationProvider; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @extends Collection + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserFederationProviderCollection extends Collection { public static function getRepresentationClass(): string diff --git a/src/Representation/AddressClaimSet.php b/src/Representation/AddressClaimSet.php index e49ede2..477843e 100644 --- a/src/Representation/AddressClaimSet.php +++ b/src/Representation/AddressClaimSet.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class AddressClaimSet extends Representation { protected ?string $country; diff --git a/src/Representation/AuthenticationExecutionExport.php b/src/Representation/AuthenticationExecutionExport.php index e5ab495..6106b18 100644 --- a/src/Representation/AuthenticationExecutionExport.php +++ b/src/Representation/AuthenticationExecutionExport.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string|null getAuthenticator() * @method string|null getAuthenticatorConfig() @@ -23,8 +21,9 @@ * @method self withParentFlow(?string $parentFlow) * @method self withPriority(?int $priority) * @method self withRequirement(?string $requirement) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticationExecutionExport extends Representation { protected ?string $authenticator; diff --git a/src/Representation/AuthenticationFlow.php b/src/Representation/AuthenticationFlow.php index 22e0c73..9358461 100644 --- a/src/Representation/AuthenticationFlow.php +++ b/src/Representation/AuthenticationFlow.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Collection\AuthenticationExecutionExportCollection; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method string|null getAlias() @@ -22,8 +21,9 @@ * @method self withId(?string $id) * @method self withProviderId(?string $providerId) * @method self withTopLevel(?bool $topLevel) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticationFlow extends Representation { public function __construct( diff --git a/src/Representation/AuthenticatorConfig.php b/src/Representation/AuthenticatorConfig.php index 0494f2c..2167366 100644 --- a/src/Representation/AuthenticatorConfig.php +++ b/src/Representation/AuthenticatorConfig.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method string|null getAlias() @@ -14,8 +13,9 @@ * @method self withAlias(?string $alias) * @method self withConfig(?Map $config) * @method self withId(?string $id) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class AuthenticatorConfig extends Representation { public function __construct( diff --git a/src/Representation/Client.php b/src/Representation/Client.php index 1324f2f..213bd73 100644 --- a/src/Representation/Client.php +++ b/src/Representation/Client.php @@ -6,7 +6,6 @@ use Fschmtt\Keycloak\Collection\ProtocolMapperCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getAccess() @@ -83,8 +82,9 @@ * @method self withStandardFlowEnabled(?bool $standardFlowEnabled) * @method self withSurrogateAuthRequired(?bool $surrogateAuthRequired) * @method self withWebOrigins(?array $webOrigins) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Client extends Representation { public function __construct( diff --git a/src/Representation/ClientPolicies.php b/src/Representation/ClientPolicies.php index 968644f..eaf5989 100644 --- a/src/Representation/ClientPolicies.php +++ b/src/Representation/ClientPolicies.php @@ -5,13 +5,13 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Collection\ClientPolicyCollection; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method ClientPolicyCollection|null getPolicies() * @method self withPolicies(?ClientPolicyCollection $policies) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicies extends Representation { public function __construct( diff --git a/src/Representation/ClientPolicy.php b/src/Representation/ClientPolicy.php index 38fd42b..12ae0af 100644 --- a/src/Representation/ClientPolicy.php +++ b/src/Representation/ClientPolicy.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method ClientPolicyCondition[]|null getConditions() * @method string|null getDescription() @@ -17,8 +15,9 @@ * @method self withEnabled(?bool $enabled) * @method self withName(?string $name) * @method self withProfiles(?array $profiles) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicy extends Representation { public function __construct( diff --git a/src/Representation/ClientPolicyCondition.php b/src/Representation/ClientPolicyCondition.php index 2527a29..60ac367 100644 --- a/src/Representation/ClientPolicyCondition.php +++ b/src/Representation/ClientPolicyCondition.php @@ -4,15 +4,14 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string|null getCondition() * @method JsonNode|null getConfiguration() * @method self withCondition(?string $condition) * @method self withConfiguration(?JsonNode $configuration) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicyCondition extends Representation { public function __construct( diff --git a/src/Representation/ClientPolicyExecutor.php b/src/Representation/ClientPolicyExecutor.php index f8c130d..1bbc9d6 100644 --- a/src/Representation/ClientPolicyExecutor.php +++ b/src/Representation/ClientPolicyExecutor.php @@ -4,15 +4,14 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method JsonNode|null getConfiguration() * @method string|null getExecutor() * @method self withConfiguration(?JsonNode $configuration) * @method self withExecutor(?string $executor) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientPolicyExecutor extends Representation { public function __construct( diff --git a/src/Representation/ClientProfile.php b/src/Representation/ClientProfile.php index 933d662..4510e99 100644 --- a/src/Representation/ClientProfile.php +++ b/src/Representation/ClientProfile.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Collection\ClientPolicyExecutorCollection; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method bool|null getBuiltin() @@ -16,8 +15,9 @@ * @method self withDescription(?array $description) * @method self withExecutors(?ClientPolicyExecutorCollection $executors) * @method self withName(?string $name) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientProfile extends Representation { public function __construct( diff --git a/src/Representation/ClientProfiles.php b/src/Representation/ClientProfiles.php index 7e9728a..855eb11 100644 --- a/src/Representation/ClientProfiles.php +++ b/src/Representation/ClientProfiles.php @@ -5,15 +5,15 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Collection\ClientProfileCollection; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method ClientProfileCollection|null getGlobalProfiles() * @method ClientProfileCollection|null getProfiles() * @method self withGlobalProfiles(?array $globalProfiles) * @method self withProfiles(?array $profiles) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientProfiles extends Representation { public function __construct( diff --git a/src/Representation/ClientScope.php b/src/Representation/ClientScope.php index c4940e3..f03f2cf 100644 --- a/src/Representation/ClientScope.php +++ b/src/Representation/ClientScope.php @@ -6,7 +6,6 @@ use Fschmtt\Keycloak\Collection\ProtocolMapperCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getAttributes() @@ -21,8 +20,9 @@ * @method self withProtocol(?string $protocol) * @method ProtocolMapperCollection|null getProtocolMappers() * @method self withProtocolMappers(?ProtocolMapperCollection $protocolMappers) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ClientScope extends Representation { public function __construct( diff --git a/src/Representation/Credential.php b/src/Representation/Credential.php index e4fd877..5661b6a 100644 --- a/src/Representation/Credential.php +++ b/src/Representation/Credential.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method int|null getCreatedDate() * @method string|null getCredentialData() @@ -25,8 +23,9 @@ * @method self withType(?string $type) * @method self withUserLabel(?string $userLabel) * @method self withValue(?string $value) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Credential extends Representation { public function __construct( diff --git a/src/Representation/CryptoInfo.php b/src/Representation/CryptoInfo.php index 2924bca..cc8a0f9 100644 --- a/src/Representation/CryptoInfo.php +++ b/src/Representation/CryptoInfo.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Attribute\Since; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method string[]|null getClientSignatureAsymmetricAlgorithms() @@ -16,9 +15,10 @@ * @method self withClientSignatureSymmetricAlgorithms(?array $value) * @method self withCryptoProvider(?string $value) * @method self withSupportedKeystoreTypes(?array $value) + * + * @codeCoverageIgnore */ #[Since('20.0.0')] -#[IgnoreClassForCodeCoverage(CryptoInfo::class)] class CryptoInfo extends Representation { public function __construct( diff --git a/src/Representation/FederatedIdentity.php b/src/Representation/FederatedIdentity.php index e2f224a..a342687 100644 --- a/src/Representation/FederatedIdentity.php +++ b/src/Representation/FederatedIdentity.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string|null getIdentityProvider() * @method string|null getUserId() @@ -13,8 +11,9 @@ * @method self withIdentityProvider(?string $identityProvider) * @method self withUserId(?string $userId) * @method self withUserName(?string $userName) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class FederatedIdentity extends Representation { public function __construct( diff --git a/src/Representation/Group.php b/src/Representation/Group.php index 680f967..9b6b88e 100644 --- a/src/Representation/Group.php +++ b/src/Representation/Group.php @@ -6,7 +6,6 @@ use Fschmtt\Keycloak\Collection\GroupCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getAccess() @@ -25,8 +24,9 @@ * @method self withPath(?string $path) * @method self withRealmRoles(?array $realmRoles) * @method self withSubGroups(?array $subGroups) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Group extends Representation { public function __construct( diff --git a/src/Representation/IdToken.php b/src/Representation/IdToken.php index 4689a03..62b3d60 100644 --- a/src/Representation/IdToken.php +++ b/src/Representation/IdToken.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class IdToken extends Representation { public const ACR = 'acr'; diff --git a/src/Representation/IdentityProvider.php b/src/Representation/IdentityProvider.php index b7275a1..eda8931 100644 --- a/src/Representation/IdentityProvider.php +++ b/src/Representation/IdentityProvider.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method bool|null getAddReadTokenRoleOnCreate() @@ -32,8 +31,9 @@ * @method self withStoreToken(?bool $storeToken) * @method bool|null getTrustEmail() * @method self withTrustEmail(?bool $trustEmail) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class IdentityProvider extends Representation { public function __construct( diff --git a/src/Representation/IdentityProviderMapper.php b/src/Representation/IdentityProviderMapper.php index d537513..7f2bb01 100644 --- a/src/Representation/IdentityProviderMapper.php +++ b/src/Representation/IdentityProviderMapper.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getConfig() @@ -18,8 +17,9 @@ * @method self withIdentityProviderMapper(?string $identityProviderMapper) * @method string|null getName() * @method self withName(?string $name) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class IdentityProviderMapper extends Representation { public function __construct( diff --git a/src/Representation/JsonNode.php b/src/Representation/JsonNode.php index 61e41b8..e5e1798 100644 --- a/src/Representation/JsonNode.php +++ b/src/Representation/JsonNode.php @@ -5,9 +5,10 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Enum\NodeType; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class JsonNode extends Representation { public function __construct( diff --git a/src/Representation/MemoryInfo.php b/src/Representation/MemoryInfo.php index 8c170da..2f018c3 100644 --- a/src/Representation/MemoryInfo.php +++ b/src/Representation/MemoryInfo.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method int getFree() * @method string getFreeFormated() @@ -14,8 +12,9 @@ * @method string getTotalFormated() * @method int getUsed() * @method string getUsedFormated() + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class MemoryInfo extends Representation { public function __construct( diff --git a/src/Representation/MultivaluedHashMap.php b/src/Representation/MultivaluedHashMap.php index d7689a7..e49631d 100644 --- a/src/Representation/MultivaluedHashMap.php +++ b/src/Representation/MultivaluedHashMap.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class MultivaluedHashMap extends Representation { public function __construct( diff --git a/src/Representation/PasswordPolicyType.php b/src/Representation/PasswordPolicyType.php index b6d5d1e..453e6cb 100644 --- a/src/Representation/PasswordPolicyType.php +++ b/src/Representation/PasswordPolicyType.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string|null getConfigType() * @method string|null getDefaultValue() @@ -17,8 +15,9 @@ * @method self withDisplayName(?string $displayName) * @method self withId(?string $name) * @method self withMultipleSupported(?bool $multipleSupported) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class PasswordPolicyType extends Representation { protected ?string $configType; diff --git a/src/Representation/Policy.php b/src/Representation/Policy.php index b0c9a9b..bf38164 100644 --- a/src/Representation/Policy.php +++ b/src/Representation/Policy.php @@ -9,7 +9,6 @@ use Fschmtt\Keycloak\Enum\DecisionStrategy; use Fschmtt\Keycloak\Enum\Logic; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getConfig() @@ -38,8 +37,9 @@ * @method self withScopesData(?ScopeCollection $scopesData) * @method string|null getType() * @method self withType(?string $type) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Policy extends Representation { public function __construct( diff --git a/src/Representation/PolicyMapper.php b/src/Representation/PolicyMapper.php index 39a02f8..49a0b17 100644 --- a/src/Representation/PolicyMapper.php +++ b/src/Representation/PolicyMapper.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class PolicyMapper extends Representation { } diff --git a/src/Representation/ProfileInfo.php b/src/Representation/ProfileInfo.php index a5787be..8f78d64 100644 --- a/src/Representation/ProfileInfo.php +++ b/src/Representation/ProfileInfo.php @@ -4,8 +4,6 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string[]|null getDisabledFeatures() * @method self withDisabledFeatures(?array $value) @@ -15,8 +13,9 @@ * @method self withName(?string $value) * @method string[]|null getPreviewFeatures() * @method self withPreviewFeatures(?array $value) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ProfileInfo extends Representation { public function __construct( diff --git a/src/Representation/ProtocolMapper.php b/src/Representation/ProtocolMapper.php index 6651784..0a5743d 100644 --- a/src/Representation/ProtocolMapper.php +++ b/src/Representation/ProtocolMapper.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getConfig() @@ -20,8 +19,9 @@ * @method self withName(?string $name) * @method self withProtocol(?string $protocol) * @method self withProtocolMapper(?string $protocolMapper) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ProtocolMapper extends Representation { public function __construct( diff --git a/src/Representation/Realm.php b/src/Representation/Realm.php index 2477b00..086b0d3 100644 --- a/src/Representation/Realm.php +++ b/src/Representation/Realm.php @@ -19,7 +19,6 @@ use Fschmtt\Keycloak\Collection\UserFederationMapperCollection; use Fschmtt\Keycloak\Collection\UserFederationProviderCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method int|null getAccessCodeLifespan() @@ -268,8 +267,9 @@ * @method self withWebAuthnPolicyRpId(?string $value) * @method self withWebAuthnPolicySignatureAlgorithms(?array $value) * @method self withWebAuthnPolicyUserVerificationRequirement(?string $value) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Realm extends Representation { public function __construct( diff --git a/src/Representation/RequiredActionProvider.php b/src/Representation/RequiredActionProvider.php index 007b054..7b7b8d8 100644 --- a/src/Representation/RequiredActionProvider.php +++ b/src/Representation/RequiredActionProvider.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method string|null getAlias() @@ -22,8 +21,9 @@ * @method self withPriority(?bool $priority) * @method string|null getProviderId() * @method self withProviderId(?string $providerId) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class RequiredActionProvider extends Representation { public function __construct( diff --git a/src/Representation/Resource.php b/src/Representation/Resource.php index 55bf548..78f6712 100644 --- a/src/Representation/Resource.php +++ b/src/Representation/Resource.php @@ -6,9 +6,10 @@ use Fschmtt\Keycloak\Collection\ScopeCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class Resource extends Representation { public function __construct( diff --git a/src/Representation/ResourceServer.php b/src/Representation/ResourceServer.php index 651104b..22f939d 100644 --- a/src/Representation/ResourceServer.php +++ b/src/Representation/ResourceServer.php @@ -9,7 +9,6 @@ use Fschmtt\Keycloak\Collection\ScopeCollection; use Fschmtt\Keycloak\Enum\DecisionStrategy; use Fschmtt\Keycloak\Enum\PolicyEnforcementMode; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method bool|null getAllowRemoveResourceManagement() @@ -30,8 +29,9 @@ * @method self withPolicyEnforcementMode(?PolicyEnforcementMode $policyEnforcementMode) * @method self withResources(?ResourceCollection $resources) * @method self withScopes(?ScopeCollection $scopes) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ResourceServer extends Representation { public function __construct( diff --git a/src/Representation/Role.php b/src/Representation/Role.php index 7e38da2..c7845dd 100644 --- a/src/Representation/Role.php +++ b/src/Representation/Role.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method array|null getAttributes() @@ -15,8 +14,9 @@ * @method string|null getContainerId() * @method string|null getDescription() * @method string|null getName() + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Role extends Representation { public function __construct( diff --git a/src/Representation/RoleComposites.php b/src/Representation/RoleComposites.php index 67a619e..a4ae4a3 100644 --- a/src/Representation/RoleComposites.php +++ b/src/Representation/RoleComposites.php @@ -6,15 +6,15 @@ use Fschmtt\Keycloak\Collection\RealmCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getClient() * @method RealmCollection|null getRealm() * @method self withClient(?Map $client) * @method self withRealm(?RealmCollection $realm) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class RoleComposites extends Representation { public function __construct( diff --git a/src/Representation/Roles.php b/src/Representation/Roles.php index 8bc4c76..04d52a4 100644 --- a/src/Representation/Roles.php +++ b/src/Representation/Roles.php @@ -5,15 +5,15 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getClient() * @method self withClient(?Map $client) * @method string[]|null getRealm() * @method self withRealm(?array $realm) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class Roles extends Representation { public function __construct( diff --git a/src/Representation/Scope.php b/src/Representation/Scope.php index f3cd26b..f5a9d1d 100644 --- a/src/Representation/Scope.php +++ b/src/Representation/Scope.php @@ -6,9 +6,10 @@ use Fschmtt\Keycloak\Collection\PolicyCollection; use Fschmtt\Keycloak\Collection\ResourceCollection; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class Scope extends Representation { public function __construct( diff --git a/src/Representation/ScopeMapping.php b/src/Representation/ScopeMapping.php index 02365cd..26afb7c 100644 --- a/src/Representation/ScopeMapping.php +++ b/src/Representation/ScopeMapping.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class ScopeMapping extends Representation { /** diff --git a/src/Representation/ServerInfo.php b/src/Representation/ServerInfo.php index 5003dd3..a6b1bf1 100644 --- a/src/Representation/ServerInfo.php +++ b/src/Representation/ServerInfo.php @@ -7,7 +7,6 @@ use Fschmtt\Keycloak\Attribute\Since; use Fschmtt\Keycloak\Collection\PasswordPolicyTypeCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method array|null getBuiltinProtocolMappers() @@ -40,8 +39,9 @@ * @method self withSocialProviders(?array $socialProviders) * @method self withSystemInfo(?SystemInfo $systemInfo) * @method self withThemes(?array $themes) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class ServerInfo extends Representation { public function __construct( diff --git a/src/Representation/SystemInfo.php b/src/Representation/SystemInfo.php index 9a7f9eb..6a260b5 100644 --- a/src/Representation/SystemInfo.php +++ b/src/Representation/SystemInfo.php @@ -4,9 +4,9 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - -#[IgnoreClassForCodeCoverage(self::class)] +/** + * @codeCoverageIgnore + */ class SystemInfo extends Representation { protected ?string $fileEncoding; diff --git a/src/Representation/User.php b/src/Representation/User.php index 81781a1..343c922 100644 --- a/src/Representation/User.php +++ b/src/Representation/User.php @@ -8,7 +8,6 @@ use Fschmtt\Keycloak\Collection\FederatedIdentityCollection; use Fschmtt\Keycloak\Collection\UserConsentCollection; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getAccess() @@ -59,8 +58,9 @@ * @method self withServiceAccountClientId(?string $serviceAccountClientId) * @method self withTotp(?bool $totp) * @method self withUsername(?string $username) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class User extends Representation { public function __construct( diff --git a/src/Representation/UserConsent.php b/src/Representation/UserConsent.php index bd39be3..290bb6f 100644 --- a/src/Representation/UserConsent.php +++ b/src/Representation/UserConsent.php @@ -4,15 +4,14 @@ namespace Fschmtt\Keycloak\Representation; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; - /** * @method string|null getClientId() * @method int|null getCreatedDate() * @method string[]|null getGrantedClientScopes() * @method int|null getLastUpdatedDate() + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserConsent extends Representation { public function __construct( diff --git a/src/Representation/UserFederationMapper.php b/src/Representation/UserFederationMapper.php index 11507af..441be77 100644 --- a/src/Representation/UserFederationMapper.php +++ b/src/Representation/UserFederationMapper.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method Map|null getConfig() @@ -18,8 +17,9 @@ * @method self withId(?string $id) * @method string|null getName() * @method self withName(?string $name) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserFederationMapper extends Representation { public function __construct( diff --git a/src/Representation/UserFederationProvider.php b/src/Representation/UserFederationProvider.php index 9238867..796f1b9 100644 --- a/src/Representation/UserFederationProvider.php +++ b/src/Representation/UserFederationProvider.php @@ -5,7 +5,6 @@ namespace Fschmtt\Keycloak\Representation; use Fschmtt\Keycloak\Type\Map; -use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage; /** * @method int|null getChangedSyncPeriod() @@ -24,8 +23,9 @@ * @method self withPriority(?int $priority) * @method string|null getProviderName() * @method self withProviderName(?string $providerName) + * + * @codeCoverageIgnore */ -#[IgnoreClassForCodeCoverage(self::class)] class UserFederationProvider extends Representation { public function __construct(