Skip to content

Commit

Permalink
docs: make public properties deprecated
Browse files Browse the repository at this point in the history
No need to be public.
  • Loading branch information
kenjis committed Oct 10, 2023
1 parent 49d3421 commit 1c5ff8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/CLI/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ class CLI
* Is the readline library on the system?
*
* @var bool
*
* @deprecated 4.4.2 Should be protected.
*/
public static $readline_support = false;

/**
* The message displayed at prompts.
*
* @var string
*
* @deprecated 4.4.2 Should be protected.
*/
public static $wait_msg = 'Press any key to continue...';

Expand Down
2 changes: 2 additions & 0 deletions user_guide_src/source/changelogs/v4.4.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Deprecations
- **Filters:** The Auto-Discovery for Filters and ``Filters::discoverFilters()``
is deprecated. Use :ref:`registrars` instead. See :ref:`modules-filters` for
details.
- **CLI:** The public property ``CLI::$readline_support`` and ``CLI::$wait_msg``
are deprecated. These methods will be protected.

Bugs Fixed
**********
Expand Down

0 comments on commit 1c5ff8d

Please sign in to comment.