Skip to content

Commit cbea8f9

Browse files
committed
Formatting
1 parent 3110205 commit cbea8f9

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

ext/enchant/enchant.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class EnchantDictionary
4040

4141
function enchant_broker_init(): EnchantBroker|false {}
4242

43-
#[\Deprecated(since: '8.1', message: 'EnchantBroker object is freed automatically')]
43+
#[\Deprecated(since: '8.1', message: 'as EnchantBroker objects are freed automatically')]
4444
function enchant_broker_free(EnchantBroker $broker): bool {}
4545

4646
function enchant_broker_get_error(EnchantBroker $broker): string|false {}
@@ -61,7 +61,7 @@ function enchant_broker_request_dict(EnchantBroker $broker, string $tag): Enchan
6161

6262
function enchant_broker_request_pwl_dict(EnchantBroker $broker, string $filename): EnchantDictionary|false {}
6363

64-
#[\Deprecated(since: '8.1', message: 'EnchantDictionary object is freed automatically')]
64+
#[\Deprecated(since: '8.1', message: 'as EnchantDictionary objects are freed automatically')]
6565
function enchant_broker_free_dict(EnchantDictionary $dictionary): bool {}
6666

6767
function enchant_broker_dict_exists(EnchantBroker $broker, string $tag): bool {}

ext/enchant/enchant_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/openssl/openssl.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ function openssl_x509_checkpurpose(OpenSSLCertificate|string $certificate, int $
443443

444444
function openssl_x509_read(OpenSSLCertificate|string $certificate): OpenSSLCertificate|false {}
445445

446-
#[\Deprecated(since: '8.0', message: 'OpenSSLCertificate object is freed automatically')]
446+
#[\Deprecated(since: '8.0', message: 'as OpenSSLCertificate objects are freed automatically')]
447447
function openssl_x509_free(OpenSSLCertificate $certificate): void {}
448448

449449
/**
@@ -507,13 +507,13 @@ function openssl_pkey_get_public($public_key): OpenSSLAsymmetricKey|false {}
507507
*/
508508
function openssl_get_publickey($public_key): OpenSSLAsymmetricKey|false {}
509509

510-
#[\Deprecated(since: '8.0', message: 'OpenSSLAsymmetricKey object is freed automatically')]
510+
#[\Deprecated(since: '8.0', message: 'as OpenSSLAsymmetricKey objects are freed automatically')]
511511
function openssl_pkey_free(OpenSSLAsymmetricKey $key): void {}
512512

513513
/**
514514
* @alias openssl_pkey_free
515515
*/
516-
#[\Deprecated(since: '8.0', message: 'OpenSSLAsymmetricKey object is freed automatically')]
516+
#[\Deprecated(since: '8.0', message: 'as OpenSSLAsymmetricKey objects are freed automatically')]
517517
function openssl_free_key(OpenSSLAsymmetricKey $key): void {}
518518

519519
/**

ext/openssl/openssl_arginfo.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/reflection/php_reflection.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function isAnonymous(): bool {}
128128
/**
129129
* @tentative-return-type
130130
*/
131-
#[\Deprecated(message: "ReflectionFunction can no longer be constructed for disabled functions")]
131+
#[\Deprecated(message: "as ReflectionFunction can no longer be constructed for disabled functions")]
132132
public function isDisabled(): bool {}
133133

134134
/** @tentative-return-type */

ext/reflection/php_reflection_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/reflection/tests/ReflectionFunction_isDisabled_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ var_dump($rf->isDisabled());
2020
--EXPECTF--
2121
Function is_file() does not exist
2222

23-
Deprecated: Method ReflectionFunction::isDisabled() is deprecated, ReflectionFunction can no longer be constructed for disabled functions in %s on line %d
23+
Deprecated: Method ReflectionFunction::isDisabled() is deprecated, as ReflectionFunction can no longer be constructed for disabled functions in %s on line %d
2424
bool(false)

ext/shmop/shmop.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|
1212

1313
function shmop_read(Shmop $shmop, int $offset, int $size): string {}
1414

15-
#[\Deprecated(since: '8.0', message: 'Shmop object is freed automatically')]
15+
#[\Deprecated(since: '8.0', message: 'as Shmop objects are freed automatically')]
1616
function shmop_close(Shmop $shmop): void {}
1717

1818
function shmop_size(Shmop $shmop): int {}

ext/shmop/shmop_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)