Skip to content

Commit 006bb27

Browse files
committed
wording and phpdoc changes
Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>
1 parent 8a0bbe6 commit 006bb27

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

docs/book/v2/migration/preparing-for-v3.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ The following methods will be removed from the interface as well as from any imp
106106
From version 3.0 onwards, `laminas-session` will remove the `laminas/laminas-cache`
107107
dependency and replace it with `psr/simple-cache` to adhere to PSR-16.
108108
This change will also bring the benefit of flexibility in allowing you to use any PSR-16 implementation desired,
109-
instead of the hard `laminas/laminas-cache` dependency.
109+
instead of the hard `laminas-cache` dependency.
110+
However, this does not mean that `laminas-cache` needs to be replaced in an application;
111+
on the contrary, `laminas-cache` supports both PSR-16 and PSR-6, so it will continue to work seamlessly with the new major release.
110112

111113
The `Laminas\Session\SaveHandler\Cache` class will be updated to reflect this change.
112114
Starting from version 3.0 the class will be made `final` and has been marked as such in the current version.

src/Module.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
namespace Laminas\Session;
44

55
/**
6-
* @deprecated This class will be removed without replacement in version 3.0,
7-
* see https://docs.laminas.dev/laminas-session/v2/migration/preparing-for-v3/.
6+
* @deprecated This class will be removed without replacement in version 3.0.
7+
*
8+
* @see https://docs.laminas.dev/laminas-session/v2/migration/preparing-for-v3/
89
*/
910
class Module
1011
{

src/ValidatorChain.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
use function is_array;
1212

1313
/**
14-
* @deprecated This class will be removed without replacement in version 3.0,
15-
* see https://docs.laminas.dev/laminas-session/v2/migration/preparing-for-v3/.
14+
* @deprecated This class will be removed without replacement in version 3.0.
15+
*
16+
* @see https://docs.laminas.dev/laminas-session/v2/migration/preparing-for-v3/
1617
*
1718
* The validator list will be built in the {@see SessionManager} itself, based of the provided configuration.
1819
*/

0 commit comments

Comments
 (0)