diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f29a00052..c9b9786f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/composer.json b/composer.json index 46ecff0e4..4aab889e3 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/examples/authenticator.php b/examples/authenticator.php index 2133be81f..75825fedf 100644 --- a/examples/authenticator.php +++ b/examples/authenticator.php @@ -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);