Skip to content

Commit 7486ec5

Browse files
committed
Update stubs
1 parent 3f322e4 commit 7486ec5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

stubs/ext/gd/imagedestroy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
function imagedestroy(\GdImage $image): bool
66
{
77
}
8+
#[\Deprecated(since: '8.5', message: "as it has no effect since PHP 8.0")]
89
#[\Since('8.5')]
910
function imagedestroy(\GdImage $image): true
1011
{

stubs/ext/openssl/openssl_cms_encrypt.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ function openssl_cms_encrypt(string $input_filename, string $output_filename, $c
77
}
88
/** @param OpenSSLCertificate|array|string $certificate */
99
#[\Since('8.1')]
10+
#[\Until('8.5')]
1011
function openssl_cms_encrypt(string $input_filename, string $output_filename, $certificate, ?array $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC): bool
1112
{
13+
}
14+
/** @param OpenSSLCertificate|array|string $certificate */
15+
#[\Since('8.5')]
16+
function openssl_cms_encrypt(string $input_filename, string $output_filename, $certificate, ?array $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, string|int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC): bool
17+
{
1218
}

0 commit comments

Comments
 (0)