@@ -20,7 +20,7 @@ public function testVerifyDefault(): void
2020 self ::assertTrue ($ verify ->check (Status::FREE_EDITION ));
2121 self ::assertFalse ($ verify ->check (Status::SUPPORTER_EDITION ));
2222 self ::assertFalse ($ verify ->check (Status::PRO_EDITION ));
23- self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
23+ self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
2424 self ::assertFalse ($ verify ->is_supporter ()); // User is not recognised as supporter.
2525 self ::assertFalse ($ verify ->is_pro ()); // User is not recognised as pro.
2626
@@ -33,39 +33,39 @@ public function testVerifySupporter(): void
3333 $ verify = new Verify (
3434 license_key: Constants::HASH_KEY ,
3535 hash_supporter: Constants::HASH ,
36- hash_pro: Constants::HASH2 ,
36+ hash_pro: Constants::HASH2 ,
3737 );
3838 self ::assertEquals ($ verify ->get_status (), Status::SUPPORTER_EDITION );
3939
4040 self ::assertTrue ($ verify ->check ());
4141 self ::assertTrue ($ verify ->check (Status::FREE_EDITION ));
4242 self ::assertTrue ($ verify ->check (Status::SUPPORTER_EDITION ));
4343 self ::assertFalse ($ verify ->check (Status::PRO_EDITION ));
44- self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
44+ self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
4545 self ::assertTrue ($ verify ->is_supporter ()); // User is recognised as supporter.
4646 self ::assertFalse ($ verify ->is_pro ()); // User is not recognised as pro.
47- self ::assertFalse ($ verify ->is_signature ()); // User is not recognised as signature.
47+ self ::assertFalse ($ verify ->is_signature ()); // User is not recognised as signature.
4848
4949 $ this ->assertThrows (fn () => $ verify ->authorize (Status::PRO_EDITION ), SupporterOnlyOperationException::class, 'pro ' );
5050 }
5151
52- public function testVerifyPro (): void
52+ public function testVerifyPro (): void
5353 {
5454 $ verify = new Verify (
5555 license_key: Constants::HASH2_KEY ,
5656 hash_supporter: Constants::HASH ,
57- hash_pro: Constants::HASH2 ,
57+ hash_pro: Constants::HASH2 ,
5858 );
5959 self ::assertEquals ($ verify ->get_status (), Status::PRO_EDITION );
6060
6161 self ::assertTrue ($ verify ->check ());
6262 self ::assertTrue ($ verify ->check (Status::FREE_EDITION ));
6363 self ::assertTrue ($ verify ->check (Status::SUPPORTER_EDITION ));
6464 self ::assertTrue ($ verify ->check (Status::PRO_EDITION ));
65- self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
65+ self ::assertFalse ($ verify ->check (Status::SIGNATURE_EDITION ));
6666 self ::assertTrue ($ verify ->is_supporter ()); // User is recognised as supporter.
6767 self ::assertTrue ($ verify ->is_pro ()); // User is recognised as pro.
68- self ::assertFalse ($ verify ->is_signature ()); // User is not recognised as signature.
68+ self ::assertFalse ($ verify ->is_signature ()); // User is not recognised as signature.
6969 }
7070
7171 public function testVerifySignature (): void
@@ -83,15 +83,15 @@ public function testVerifySignature(): void
8383 self ::assertTrue ($ verify ->check (Status::SIGNATURE_EDITION ));
8484 self ::assertTrue ($ verify ->is_supporter ()); // user is recognised as supporter.
8585 self ::assertTrue ($ verify ->is_pro ()); // user is recognised as pro.
86- self ::assertTrue ($ verify ->is_signature ()); // User is not recognised as signature.
86+ self ::assertTrue ($ verify ->is_signature ()); // User is not recognised as signature.
8787 }
8888
8989 public function testVerifyValidate (): void
9090 {
9191 $ verify = new Verify ();
9292
9393 // Check config before executing validation
94- /** @var array<class-string,string> $checks */
94+ /** @var array<class-string,string> $checks */
9595 $ checks = config ('verify.validation ' );
9696 foreach ($ checks as $ class => $ value ) {
9797 $ file = (new \ReflectionClass ($ class ))->getFileName ();
0 commit comments