fix: cookie-layer verify argument casting #9
Annotations
9 errors and 1 warning
Tests P8.3 - ubuntu-latest:
src/Cookie/IPCookieLayer.php#L11
Method Dentro\Paranoia\Cookie\IPCookieLayer::getCookieValue() should return string but returns string|null.
|
Tests P8.3 - ubuntu-latest:
src/Cookie/UserAgentCookieLayer.php#L11
Method Dentro\Paranoia\Cookie\UserAgentCookieLayer::getCookieValue() should return string but returns string|null.
|
Tests P8.3 - ubuntu-latest:
src/Listeners/StoreSessionIP.php#L22
Cannot cast mixed to string.
|
Tests P8.3 - ubuntu-latest:
src/Listeners/StoreSessionUserAgent.php#L22
Cannot cast mixed to string.
|
Tests P8.3 - ubuntu-latest:
src/Middlewares/IPChangeRestrictionMiddleware.php#L60
Cannot cast mixed to string.
|
Tests P8.3 - ubuntu-latest:
src/Middlewares/UserAgentChangeRestrictionMiddleware.php#L60
Cannot cast mixed to string.
|
Tests P8.3 - ubuntu-latest:
src/Storage/SessionStorageHandler.php#L32
Method Dentro\Paranoia\Storage\SessionStorageHandler::getSavedIpAddress() should return string|null but returns mixed.
|
Tests P8.3 - ubuntu-latest:
src/Storage/SessionStorageHandler.php#L41
Method Dentro\Paranoia\Storage\SessionStorageHandler::getSavedUserAgent() should return string|null but returns mixed.
|
Tests P8.3 - ubuntu-latest
Process completed with exit code 1.
|
Tests P8.3 - ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|