diff --git a/composer.json b/composer.json
index c917412f..40c78297 100644
--- a/composer.json
+++ b/composer.json
@@ -70,12 +70,7 @@
"cs-check": "phpcs --colors -p src/ tests/",
"cs-fix": "phpcbf --colors -p src/ tests/",
"phpstan": "tools/phpstan analyse",
- "psalm": "tools/psalm --show-info=false",
- "psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
- "stan": [
- "@phpstan",
- "@psalm"
- ],
+ "stan": "@phpstan",
"stan-baseline": "tools/phpstan --generate-baseline",
"stan-setup": "phive install",
"test": "phpunit",
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
deleted file mode 100644
index 5c064bb4..00000000
--- a/psalm-baseline.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/psalm.xml b/psalm.xml
deleted file mode 100644
index 030432ff..00000000
--- a/psalm.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Authenticator/CookieAuthenticator.php b/src/Authenticator/CookieAuthenticator.php
index e678987c..bf52518b 100644
--- a/src/Authenticator/CookieAuthenticator.php
+++ b/src/Authenticator/CookieAuthenticator.php
@@ -18,7 +18,6 @@
use ArrayAccess;
use Authentication\Identifier\AbstractIdentifier;
-use Authentication\Identifier\IdentifierCollection;
use Authentication\PasswordHasher\PasswordHasherTrait;
use Authentication\UrlChecker\UrlCheckerTrait;
use Cake\Http\Cookie\Cookie;
@@ -27,12 +26,11 @@
use InvalidArgumentException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
-use RuntimeException;
/**
* Cookie Authenticator
*
- * Authenticates an identity based on a cookies data.
+ * Authenticates an identity based on a cookie data.
*/
class CookieAuthenticator extends AbstractAuthenticator implements PersistenceInterface
{
@@ -57,28 +55,6 @@ class CookieAuthenticator extends AbstractAuthenticator implements PersistenceIn
'salt' => true,
];
- /**
- * @inheritDoc
- */
- public function __construct(IdentifierCollection $identifiers, array $config = [])
- {
- $this->_checkCakeVersion();
-
- parent::__construct($identifiers, $config);
- }
-
- /**
- * Checks the CakePHP Version by looking for the cookie implementation
- *
- * @return void
- */
- protected function _checkCakeVersion(): void
- {
- if (!class_exists(Cookie::class)) {
- throw new RuntimeException('Install CakePHP version >=3.5.0 to use the `CookieAuthenticator`.');
- }
- }
-
/**
* @inheritDoc
*/