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

192 Commits

Author SHA1 Message Date
Yoshinari Takaoka 6ed624cb87 added ReflectionClass::isReadOnly documentation.
https://github.com/php/doc-en/commit/a4f0588234f180a9ead9bc75a82b96dee1c98a64
2022-11-14 23:00:51 +09:00
Yoshinari Takaoka 692453891e Document ReflectionClass::IS_READONLY
https://github.com/php/doc-en/commit/1a4777d80cf18955137356d9d7dd769406fa8ad3
2022-11-14 19:49:54 +09:00
Yoshinari Takaoka 2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka 35ffb219f7 未訳部分を修正 2022-11-08 21:55:26 +09:00
Yoshinari Takaoka f9fb81d805 Update the return type of ReflectionEnum::getBackingType()
https://github.com/php/doc-en/commit/f7d5242bad28e27b78cf75525bc94242b19c48b1
2022-11-07 23:42:50 +09:00
Yoshinari Takaoka 6dc58bd724 Sync ext/reflection class constants with stubs - part 1
https://github.com/php/doc-en/commit/54d585c09b94361a9485b0ed7705c6c51dc49deb
2022-11-06 12:40:29 +09:00
Yoshinari Takaoka 381e8946d1 Sync a few manual pages with the stubs
https://github.com/php/doc-en/commit/d6aee4a5004f7d532f24c06ea2ab2ac0b91b8664
2022-11-05 03:31:42 +09:00
Yoshinari Takaoka b90fd936d4 Fix: Doc comment must start with /** followed by whitespace
While we're at it, we also fix the indentation of the example to match
common PHP formatting rules.

https://github.com/php/doc-en/commit/7c30fe36eb5ad19669737a225d3e147dcbd025d4
2022-10-31 08:24:36 +09:00
Yoshinari Takaoka 5bd24cb9d4 Fix example
https://github.com/php/doc-en/commit/e23a1375a572a50173768053ebdaac8ac91da9eb
2022-10-24 18:56:01 +09:00
Yoshinari Takaoka 1b92d2dd7c 最終的に、全体を「拡張モジュール」に統一することとした
closes: #24
2022-10-17 22:00:50 +09:00
Yoshinari Takaoka 98ece40704 [PHP 8.2] Add ReflectionFunction::isAnonymous and ReflectionMethod::hasPrototype methods
https://github.com/php/doc-en/commit/ee2e49869dd2bf398d17e041f2cb24a5958c389a
2022-09-30 00:48:04 +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 2ca3d4217f Fix ReflectionAttribute::isrepeated() description
The method does not return true if the attribute is flagged repeatable, only if it really has been repeated.

https://github.com/php/doc-en/commit/38e6b75eee450e3d6539325a5b4d2361723b7637
2022-08-27 06:31:43 +09:00
Yoshinari Takaoka 6e37bc6fda Fix: ReflectionClassConstant::isEnumCase() is not documented
https://github.com/php/doc-en/commit/46951306816d1e0024f902c07805f8bbe50917bb
2022-07-30 02:13:22 +09:00
Yoshinari Takaoka 565c26e057 [PHP 8.1] Add get/hasTentativeReturnType functions
https://github.com/php/doc-en/commit/38f5bb6cc0554cfe475470bbfd807c798a848742
2022-06-07 00:48:48 +09:00
Yoshinari Takaoka d89f23d4ca Add missing documentation for the ReflectionClass::getAttributes method
https://github.com/php/doc-en/commit/8d2b545eef87d52bdbe07cdac53a22910c077967
2022-05-04 18:07:42 +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 7a512f8031 s/静的メソッド/staticメソッド/
find . -name '*.xml' | xargs sed -i "s/静的メソッド/staticメソッド/g"
2022-05-03 02:15:42 +09:00
Yoshinari Takaoka 2cd00427ea static variable の日本語訳を、「static変数」に統一
Closes #46
2022-05-02 08:50:03 +09:00
Yoshinari Takaoka 62c1e6dfdb [PHP 8.1] Add ReflectionFunctionAbstract::getClosureUsedVariables
https://github.com/php/doc-en/commit/ed8eead5c40e43118af9ff8f41591675634c1028
2022-04-29 09:17:16 +09:00
Yoshinari Takaoka 5faa6e2a16 Add missing constant definition ReflectionAttribute::IS_INSTANCEOF
https://github.com/php/doc-en/commit/a7e787f40f5c989f261f2fee203ab9985941f4a4
2022-04-24 21:54:00 +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
Yoshinari Takaoka 099a93016c Add trailing semicolon to getDocComment
Although this is valid PHP, other functions' examples in the class (e.g. `getDefaultProperties` and `getConstructor`) contain this trailing semicolon.

https://github.com/php/doc-en/commit/210b5020c0653ec20d643acde6f1c207ecce3cf7
2022-03-29 01:33:12 +09:00
Yoshinari Takaoka a9ae3e3be2 Fix "see also" for ReflectionFunction::__toString
https://github.com/php/doc-en/commit/2e7c5de96f9ee0abefe2cedb8237c5d76279d8a5
2022-03-23 12:04:36 +09:00
Yoshinari Takaoka c860a5c2b7 ReflectionClass::isEnum method
https://github.com/php/doc-en/commit/a416cd2c019c7016a1c18ea660c5a027264295da
2022-02-17 01:55:07 +09:00
nsfisis ac410da75d ReflectionProperty::setAccessible の記述を修正 (#33) 2022-01-16 23:12:15 +09:00
Yoshinari Takaoka a239b2d374 Add some missing ext/spl method includes
https://github.com/php/doc-en/commit/302039194aa33a87821deb798a0b051a6c322d5d
2022-01-05 05:44:48 +09:00
Yoshinari Takaoka f3290a43f5 Generate various class synopses from stubs - part 1
https://github.com/php/doc-en/commit/6803b3c62d52422181a74b1a9b4525f56abd098e
2021-12-23 22:41:28 +09:00
Yoshinari Takaoka 963892139a [Fiber] translated part of Fiber API documentation, part II. 2021-12-19 07:14:07 +09:00
Yoshinari Takaoka 6c14800826 [Fiber] translated part of Fiber API documentation. 2021-12-18 22:38:44 +09:00
Yoshinari Takaoka 28c8ca1d16 Generate ext/reflection class synopses from stubs - part 4
https://github.com/php/doc-en/commit/0f2aaf1898217a7202d54bf942fcbf43192ddf48
2021-12-18 09:56:36 +09:00
Yoshinari Takaoka 5d171b8a70 Generate ext/reflection class synopses from stubs - part 5
https://github.com/php/doc-en/commit/cb30efc532136131992073df18c8254830b16e64
2021-12-18 09:49:01 +09:00
Yoshinari Takaoka 9c97c98be3 Fix a few ext/reflection return types
https://github.com/php/doc-en/commit/1c1619047eb1aaa817c5abadcb8ecd1efc2212c2
2021-12-16 23:48:50 +09:00
Yoshinari Takaoka 7917988acd Fix a few enum function/method signatures
https://github.com/php/doc-en/commit/fa575325c8e0caafe4aba1dfc51629b365709b75
2021-12-16 23:43:08 +09:00
Yoshinari Takaoka 1f062275aa [Fibers] sync with en. 2021-12-03 08:30:08 +09:00
Yoshinari Takaoka b843dd2c98 PART OF Fiber documentation
新規追加の部分は未訳だが、取り急ぎ既存文書は patch した。

https://github.com/php/doc-en/commit/1f7a0e4af85d1b74595626afa1ca774c896e8388
2021-12-03 01:23:31 +09:00
Yoshinari Takaoka 7312b18e0f Inherited constants were unintentionally removed from ReflectionEnumUnitCase class synopsis page.
https://github.com/php/doc-en/commit/ae0b8c55026fcb27bab4fd7e51c5a9fbe87cd970
2021-12-03 01:02:36 +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 bd238d459d Generate ext/reflection class synopses from stubs - part 3
https://github.com/php/doc-en/commit/00b3ebfa6889fe3f66ff2e98b6696f3149e8f39c
2021-12-03 00:42:15 +09:00
Yoshinari Takaoka 1f35fcffff Add ReflectionIntersectionType to the list of ReflectionType subtypes
https://github.com/php/doc-en/commit/a324fcef8023bbb570603185dd097be366fd398d
2021-12-01 23:56:08 +09:00
Yoshinari Takaoka 1d2ff355bd [PHP 8.1] Document final class constants.
https://github.com/php/doc-en/commit/5d1673b7a0e1a941111595d25cda663d8667a015#
2021-11-30 12:46:10 +09:00
Yoshinari Takaoka 175d13cf77 Add missing final modifier
https://github.com/php/doc-en/commit/537e1dfad95f8f721eff2e9f38b6e63d7812d0ca
2021-11-29 23:19:03 +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