1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-25 08:58:19 +02:00
Commit Graph

68 Commits

Author SHA1 Message Date
Yoshinari Takaoka 9f1b814a2b Add &warn.deprecated.function-*; to all deprecated functions
https://github.com/php/doc-en/commit/ce98b568f85353c4bf263133f09c4db9294833f9
2025-10-05 13:34:14 +09:00
Yoshinari Takaoka 99bb1f3e92 Update function attributes
https://github.com/php/doc-en/commit/42d5fb01e01e9ab1fdb47612833dd13d9003df6a
2025-10-05 13:31:39 +09:00
Yoshinari Takaoka 10db6a37d4 戻り値の未訳部分を対応 2025-09-19 20:18:05 +09:00
Yoshinari Takaoka e4dfed2508 不要な原文を削除 2025-09-07 21:25:55 +09:00
Yoshinari Takaoka 996fb2ce5d [PHP 8.4] プロパティフック関係の、Reflection まわりの追加変更に追随
但し、 #271 で問題になっている propertyhooktype.xml は除く。
2025-09-07 16:22:39 +09:00
Yoshinari Takaoka f7d26aa5db [ext/reflection] sync with en. 2025-08-27 18:54:39 +09:00
siwa32 b8ed28cd20 PHP8.4 doc-en#4037とdoc-en#4244を翻訳 (#224)
* PHP 8.4: Document reflection changes を翻訳

https://github.com/php/doc-en/pull/4037

* [PHP 8.4] Add class constant types for Reflection を翻訳

https://github.com/php/doc-en/pull/4244/files

* インデント微調整

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2024-12-23 14:06:17 +09:00
Yoshinari Takaoka e75bd56deb visibility を「可視性」と訳している部分を全て修正。但し、「非対称可視性プロパティ」は除く
https://github.com/php/doc-en/commit/16f66c05a4060a7d673ae1c70b656d65009407b0
2024-12-08 18:43:56 +09:00
武田 憲太郎 9e6d1b95cb chore: ReflectionProperty::isLazy へ英語版リビジョンとメンテナを追加 2024-11-17 15:08:08 +09:00
KentarouTakeda abe2346182 [PHP 8.4] 「非対称可視性プロパティ」の翻訳 (#153)
* [PHP 8.4] 「非対称可視性プロパティ」の翻訳

* 用語の統一: 参照 → リファレンス

* 非対称が許可される条件を正確にし表現も見直し

---------

Co-authored-by: Takuya Aramaki <takaram71@gmail.com>
2024-11-14 22:00:17 +09:00
KentarouTakeda f438331f83 [PHP 8.4] 「レイジーオブジェクト」の翻訳 (#159)
* 追加ドキュメント 英語版状態

* [PHP 8.4] 「レイジーオブジェクト」の翻訳
2024-11-14 21:59:35 +09:00
Yoshinari Takaoka e61ab47b49 Updated EN-Revision only 2024-04-29 04:47:34 +09:00
Yoshinari Takaoka f993682e25 Fixed function argument in example
https://github.com/php/doc-en/commit/c1aba02c4753e56b4ab5053a0ab5be8584cbf8bc
2024-04-29 04:46:01 +09:00
Yoshinari Takaoka b4b28f8d6a 訳を修正 2023-11-16 03:12:54 +09:00
Yoshinari Takaoka 093be4e44a [PHP 8.3]: The ReflectionProperty::setValue $object is now required.
https://github.com/php/doc-en/commit/0a8a502764676759e213265a3e1e675c43533dd1
2023-11-16 01:22:10 +09:00
Yoshinari Takaoka 20a3b226d1 Document ReflectionProperty::setValue PHP 8.3 deprecation
https://github.com/php/doc-en/commit/c20aa1db4ebd113c792785d85bb97390d3cbf334
2023-10-07 19:03:33 +09:00
Yoshinari Takaoka 728ede7f39 Reflection: fix some "undocumented" methods, and some other edits for consistency
* If a method has a refpurpose, description, parameters and return
  values, it's documented, there's no need for the warning box.
* Add description where there was none. It is usually very similar
  to the refpurpose.
* Document ReflectionZendExtension::__construct(), and update
  ReflectionExtension::__construct() for consistency.
* In ReflectionFunction::__toString()
* Remove some references to deprecated export() methods.
* Add example for ReflectionParameter::__toString().

https://github.com/php/doc-en/commit/ca840c9a6d665e60a7de48b57a5b6440c0d3b0c1
2023-06-17 11:10:20 +09:00
Yoshinari Takaoka acc3a9d851 Constructor promotion does not promote default values
https://github.com/php/doc-en/commit/9f89eee340331eb13a38a95ea64f47dfe866d46e
2023-01-19 03:20:44 +09:00
Yoshinari Takaoka a5fb40849c 訳を既存のものに合わせた 2023-01-17 14:42:01 +09:00
Yoshinari Takaoka 17f3e5ee1b Missing getAttributes documentation
https://github.com/php/doc-en/commit/fadab82e11cf93c08eb214cf9d67e9e5ac586a30
2023-01-17 14:35:42 +09:00
Yoshinari Takaoka cdafb72cba Update ext/reflection role attributes
https://github.com/php/doc-en/commit/ec2fe9a592f794978114ef5021db9f1d00c2e05d
2022-12-12 20:33:00 +09:00
Yoshinari Takaoka 2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka d14607bdc2 ReflectionProperty::(g|s)etValue() no longer needs ::setAccessible()
This integrates user note 127516.

https://github.com/php/doc-en/commit/12dce4f0cc555ad5ea09450885c66c7aa8b76ce7
2022-09-08 00:22:21 +09:00
Yoshinari Takaoka 7cfc3057d7 静的 -> static な文脈をさらに調整 2022-05-03 03:02:27 +09:00
Yoshinari Takaoka fc2c148c1c static[プロパティ|メソッド] 関連をさらに調整 2022-05-03 02:35:52 +09:00
Yoshinari Takaoka bbc7f38069 s/静的プロパティ/staticプロパティ/
find . -name '*.xml' | xargs sed -i "s/静的プロパティ/staticプロパティ/g"
2022-05-03 02:21:41 +09:00
Yoshinari Takaoka 18fe544b89 Remove return value section for Reflection constructors
https://github.com/php/doc-en/commit/967b4787bab600be8f96129d4960ad60f47f31e7
2022-04-08 23:30:10 +09:00
Yoshinari Takaoka 3bf0366dc5 Remove &warn.undocumented.func; from Reflection
Removed from all the places where it wasn't stricly necessary.

https://github.com/php/doc-en/commit/ab58951f68a04d2e5ad4f784070a034ad1c7831d
2022-03-30 20:20:36 +09:00
nsfisis ac410da75d ReflectionProperty::setAccessible の記述を修正 (#33) 2022-01-16 23:12:15 +09:00
Yoshinari Takaoka da0a851ec1 [PHP 8.1] Remove final modifier from __clone()
https://github.com/php/doc-en/commit/83b643180006fea2634672cc260a3ecbb056fffe
2021-12-03 00:58:52 +09:00
Yoshinari Takaoka 58eb309433 some more tweaks. 2021-11-28 19:44:48 +09:00
Yoshinari Takaoka 67c6b3598a method description tweaks. 2021-11-28 19:41:53 +09:00
Yoshinari Takaoka a124c071ac [PHP 8.1] Document readonly properties.
https://github.com/php/doc-en/commit/d73c3dcbd6e2b085781115aa42d17b80ea285b9e
2021-11-28 13:43:57 +09:00
Yoshinari Takaoka 350ce97bbe sync with en / 応急処置的にビルドエラーを修正
自分の PR だマージされたことで、存在しないリンクが発生し、各ロケールのビルドが壊れた... 正直、スマンカッタ。(とはいえ、避けられないビルドエラー)

https://github.com/php/doc-en/commit/d73c3dcbd6e2b085781115aa42d17b80ea285b9e
2021-11-28 09:52:26 +09:00
Yoshinari Takaoka 92c25c7114 Reflection(Property|Method)::setAccessible() no longer has effect
Cf. <https://wiki.php.net/rfc/make-reflection-setaccessible-no-op>.
https://github.com/php/doc-en/commit/7b6a20ed5d1f1bec158b0c57b69bf021a9ed2799
2021-11-27 23:33:36 +09:00
Yoshinari Takaoka 3468e33752 Fix: ReflectionProperty::isPromoted() is missing from documentation
https://github.com/php/doc-en/commit/327a44719a100f22b8c9cabb751c131919f1dcf8
2021-10-20 20:36:24 +09:00
Yoshinari Takaoka 18c5d6c77e Generate methodsynopses based on stubs for recent changes
https://github.com/php/doc-en/commit/b0b19b66183b28cebc1ffbcf1e2b8763f9d9c7b3
2021-10-02 03:09:00 +09:00
Yoshinari Takaoka 8219acfe9a ReflectionProperty: fix a few references to wrong class name(s)
These methods only exist on the `ReflectionProperty` class, not on `ReflectionClass`.
2021-07-03 17:18:07 +09:00
Yoshinari Takaoka e93c1b769f Added ReflectionAttribute related Documentation. (php/doc-en#588) 2021-06-04 20:53:16 +09:00
Yoshinari Takaoka b328f5e58c Fix #81065: Changes to Reflection modifiers not documented 2021-05-24 00:31:05 +09:00
Yoshinari Takaoka 5cc4e054f3 replaced deprected warning with deprecated-removed one. 2021-05-02 14:26:16 +09:00
Yoshinari Takaoka 4c4cf5d04b Removed references to PHP 5, PHP 7.0 (php/doc-en#548) 2021-04-26 21:29:47 +09:00
George Peter Banyard 223542483b Update EN-Revision tags for new rev-check
This only updates files which have an empty diff between the two different revisions
2021-02-02 18:27:13 +00:00
Yoshinari Takaoka 987c394d49 Fix #55026: Document access to protected/private members using reflection
Closes GH-325.
2021-01-13 01:50:18 +09:00
Yoshinari Takaoka f6dde88663 Extend ReflectionProperty::hasDefaultValue() example
Closes GH-295.
2021-01-08 10:10:56 +09:00
Yoshinari Takaoka 9b47fea4f6 Generate reflection methodsynopses based on stubs
We also document the new `$filter` parameter for the `ReflectionClass`
methods `::getConstants()` and `::getReflectionConstants()` and the
respective constants.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-298.
2021-01-01 05:41:07 +09:00
Yoshinari Takaoka 10a6f3885c added svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351444 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-19 00:12:20 +00:00
Yoshinari Takaoka e89fd9b6c4 Document ReflectionProperty::getDefaultValue and ::hasDefaultValue
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351103 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 23:41:24 +00:00
Yoshinari Takaoka 210350d710 Mark up nullable types as union types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351097 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 22:30:28 +00:00
Yoshinari Takaoka 9a4def4699 Reflection*::export is deprecated as of PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350502 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-03 10:08:11 +00:00