This commit is contained in:
smiley
2026-02-10 18:23:35 +01:00
parent c55c64dfa0
commit 6bd08fde98
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ast-1.1.3, var_representation, ${{ env.PHP_EXTENSIONS }}
extensions: ast, ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
coverage: none
+1 -1
View File
@@ -55,7 +55,7 @@
"ext-fileinfo": "*",
"chillerlan/php-authenticator": "^5.2.1",
"intervention/image": "^3.11",
"phan/phan": "6.0.0-beta",
"phan/phan": "^6.0.1",
"phpbench/phpbench": "^1.4",
"phpunit/phpunit": "^11.5",
"phpmd/phpmd": "^2.15",
+1
View File
@@ -65,6 +65,7 @@ $qrcode = new QRCode($options);
// create a secret and URI, generate the QR Code
$secret = $authenticator->createSecret(24);
/** @phan-suppress-next-line PhanDeprecatedFunction */
$uri = $authenticator->getUri('your authenticator', 'this website');
$svg = $qrcode->render($uri);