add SensitiveParameter to sensitive arguments

This change adds the PHP attribute SensitiveParameter to the secret
holding variables.
See: https://www.php.net/manual/en/class.sensitiveparameter

This feature is only available in PHP 8.2, so the minimum php version
required has been updated.

Github Actions now use PHP 8.2 and 8.3 for the tests.
The checkout action has been updated to v4, too.

Fix issue #118
This commit is contained in:
Nicolas CARPi
2024-04-15 21:40:19 +02:00
parent ab93dd41ce
commit 76f420e6b2
8 changed files with 24 additions and 12 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
strategy:
matrix:
php-version: ['8.1', '8.2']
php-version: ['8.2', '8.3']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
+2 -2
View File
@@ -10,11 +10,11 @@ jobs:
strategy:
matrix:
php-version: ['8.1', '8.2']
php-version: ['8.2', '8.3']
endroid-version: ["^3","^4","^5"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
strategy:
matrix:
php-version: ['8.1', '8.2']
php-version: ['8.2', '8.3']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with: