1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

21 Commits

Author SHA1 Message Date
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis
9eb4a46bba Use new class synopsis markup for interfaces (#2620) 2023-07-29 05:55:01 +01:00
Máté Kocsis
96a8379cd8 Render interfaces according to the new PhD format (#2556)
According to https://github.com/php/phd/pull/75
2023-07-04 20:35:33 +01:00
Tim Düsterhus
6e69d9342e Use FQCN for native attributes (#2137)
* Use FQCN for native attributes

For attributes, it's non-obvious that they need to be imported with `use` or
referenced with their FQCN, because applying a non-existent attribute is not an
error.

Make the examples copy-and-paste safe by adding the leading backslash, as
already done for `#[\SensitiveParameterValue]`.
2023-01-04 16:20:00 +00:00
Máté Kocsis
460f49a93d Update iterator and Serializable role attributes (#2070) 2022-12-11 23:25:04 +01:00
Jeremy Mikola
362f36f682 Remove backslash prefix for some ReturnTypeWillChange attributes (#1756)
These backslashes were previously added in 214335df7e and cfaa7659da.

Backslashes before ReturnTypeWillChange in deprecation messages were left as-is, since those are quoting actual output from PHP. See 081cf71ecb for those messages.
2022-08-18 13:46:21 -04:00
Christoph M. Becker
214335df7e Fix Iterator example for PHP 8.1+
The newly introduced tentative return types require us to specify
return types for the method implementation.  Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.

This includes user note 127109 (well, at least the actionable part of
it).
2022-05-17 13:57:38 +02:00
Máté Kocsis
1206279edf Generate Zend class synopses from stubs - part 2 (#1245) 2021-12-23 14:25:27 +01:00
Máté Kocsis
ab57ab6849 Mark a few interfaces as oointerface rather than ooclass (#818) 2021-07-30 17:01:16 +02:00
AllenJB
1fb0ef23d7 Fix #80942: Object iteration / Iterator: Replace duplicated examples with direct links
* Object iteration / Iterator: Replace duplicated examples with direct links to the appropriate sections and add cross-links.

Closes GH-517.
2021-04-20 11:28:39 +02:00
Andrey Gromov
9fc4150f84 Example code style by "Bernard van der Esch"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342004 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-02 12:02:42 +00:00
Christian Weiske
bd9f0a6ffd link to spl iterators
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323150 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-10 13:44:28 +00:00
Pierrick Charron
4724b47c25 Added new entities for Properties, Methods, InheritedMethods, Constants
# Those words were hardcoded in all class synopsis 


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
04077dd209 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Jakub Vrana
40884bbb40 Interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279251 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-24 10:33:28 +00:00
Damien Seguy
01253d3618 introduction of the foreach entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275923 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 15:30:18 +00:00
Richard Quadling
97d7a1c935 Broken links.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275922 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 14:48:32 +00:00
Nilgün Belma Bugüner
556c262dea sorry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269370 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-19 19:02:15 +00:00
Nilgün Belma Bugüner
f376894e4b new translations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269369 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-19 18:43:28 +00:00
Hannes Magnusson
8885e155ed Initial commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269006 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-14 18:01:48 +00:00