diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c66427..d086353 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,8 +8,8 @@ jobs: fail-fast: false matrix: php: - - "7.4" - "8.1" + - "8.2" steps: - name: "Checkout" uses: "actions/checkout@v3" diff --git a/Model/Info/RequestInfo.php b/Model/Info/RequestInfo.php index 6cd479f..0b90a1b 100644 --- a/Model/Info/RequestInfo.php +++ b/Model/Info/RequestInfo.php @@ -134,7 +134,8 @@ public function getStatusCode(): int */ public function getSessionAttributes(): array { - return session_status() ? $_SESSION : []; // phpcs:ignore Magento2.Security.Superglobal.SuperglobalUsageError + // phpcs:ignore Magento2.Functions.DiscouragedFunction.Discouraged,Magento2.Security.Superglobal.SuperglobalUsageError + return session_status() ? $_SESSION : []; } public function getPathInfo(): string diff --git a/Readme.md b/Readme.md index 73bc2eb..ed1ee21 100644 --- a/Readme.md +++ b/Readme.md @@ -16,8 +16,8 @@ Module for debugging Magento 2 performance. It works without overwriting any cor All settings have only default scope and config type pool is set to environment for better integration with `php bin/magento app:config:dump` ## Compatibility -* Magento 2.4 -* PHP 7.4, 8.1 +* Magento >= 2.4.4 +* PHP 8.1, 8.2 ## Profiler collectors - Ajax