17 Commits

Author SHA1 Message Date
Tim MacDonald
8859c8b96c Standardise casting spacing (#2717) 2024-09-11 14:29:15 +01:00
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
Gina Peter Banyard
62126c55f1 Minor markup issue fixups 2024-04-22 13:25:39 +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
601f6f4ce5 Update ext/session role attributes (#1987) 2022-12-11 16:06:18 +01:00
Máté Kocsis
4eb60e8132 [skip-revcheck] Generate ext/session class synopses from stubs 2021-12-15 18:32:56 +01:00
Christoph M. Becker
d1c3de7ae6 Update sessionhandlerinterface example for PHP 8.1
We require suitable return types or the ReturnTypeWillChange attribute
as of PHP 8.1.0.  We specify the return types where supported as of PHP
7.0.0, but go with the attribute for the union types.

Cf. <https://github.com/php/doc-en/issues/1090>.
2021-11-15 17:05:31 +01:00
Máté Kocsis
ab57ab6849 Mark a few interfaces as oointerface rather than ooclass (#818) 2021-07-30 17:01:16 +02:00
Christoph Michael Becker
6ec0096178 Fix #79892: session.use_strict_mode and SessionHandlerInterface mismatch
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350221 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-27 15:36:20 +00:00
Christoph Michael Becker
e1d271d4ca Fix bug #70498 (SessionHandlerInterface example is vulnerable)
Instead of actually adding proper input validation to the example,
we prominently note that this would have to be done for production
code.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342943 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-26 12:11:45 +00:00
Peter Cowburn
a6a1f2a7a6 fixed wrong variable name in session handler examples (doc #61330)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324030 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-08 21:53:53 +00:00
Drak
1e02f4fc70 [sessions] move one example code from session-set-save-handler to sessionhandlerinterface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323629 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 14:03:19 +00:00
Drak
0c3078852e [sessions] Added some see also references.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323626 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:32:20 +00:00
Justin Martin
e5d1ab2810 Added an intro for SessionHandlerInterface.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322959 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-31 03:44:30 +00:00
Justin Martin
23022a3227 Documented SessionHandlerInterface. Closes bug #60551.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322879 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 22:08:06 +00:00