Skip to content

Commit 1c5ff8d

Browse files
committed
docs: make public properties deprecated
No need to be public.
1 parent 49d3421 commit 1c5ff8d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

system/CLI/CLI.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,17 @@ class CLI
4242
* Is the readline library on the system?
4343
*
4444
* @var bool
45+
*
46+
* @deprecated 4.4.2 Should be protected.
4547
*/
4648
public static $readline_support = false;
4749

4850
/**
4951
* The message displayed at prompts.
5052
*
5153
* @var string
54+
*
55+
* @deprecated 4.4.2 Should be protected.
5256
*/
5357
public static $wait_msg = 'Press any key to continue...';
5458

user_guide_src/source/changelogs/v4.4.2.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Deprecations
3232
- **Filters:** The Auto-Discovery for Filters and ``Filters::discoverFilters()``
3333
is deprecated. Use :ref:`registrars` instead. See :ref:`modules-filters` for
3434
details.
35+
- **CLI:** The public property ``CLI::$readline_support`` and ``CLI::$wait_msg``
36+
are deprecated. These methods will be protected.
3537

3638
Bugs Fixed
3739
**********

0 commit comments

Comments
 (0)