Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Sep 2, 2024
1 parent 353a7d7 commit 07a7167
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Php8StubsMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2816,6 +2816,8 @@ public function __construct(int $phpVersionId)
'mb_rtrim' => 'stubs/ext/mbstring/mb_rtrim.php',
'mb_trim' => 'stubs/ext/mbstring/mb_trim.php',
'mb_ucfirst' => 'stubs/ext/mbstring/mb_ucfirst.php',
'openssl_password_hash' => 'stubs/ext/openssl/openssl_password_hash.php',
'openssl_password_verify' => 'stubs/ext/openssl/openssl_password_verify.php',
'pcntl\\qosclass' => 'stubs/ext/pcntl/Pcntl/QosClass.php',
'pcntl_getcpu' => 'stubs/ext/pcntl/pcntl_getcpu.php',
'pcntl_getcpuaffinity' => 'stubs/ext/pcntl/pcntl_getcpuaffinity.php',
Expand Down
7 changes: 7 additions & 0 deletions stubs/ext/openssl/openssl_password_hash.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

#if defined(HAVE_OPENSSL_ARGON2)
#[\Since('8.4')]
function openssl_password_hash(string $algo, #[\SensitiveParameter] string $password, array $options = []): string
{
}
6 changes: 6 additions & 0 deletions stubs/ext/openssl/openssl_password_verify.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

#[\Since('8.4')]
function openssl_password_verify(string $algo, #[\SensitiveParameter] string $password, string $hash): bool
{
}

0 comments on commit 07a7167

Please sign in to comment.