Skip to content

Commit

Permalink
update annotation @SInCE
Browse files Browse the repository at this point in the history
Signed-off-by: Demin Yin <[email protected]>
  • Loading branch information
deminy committed Jun 25, 2024
1 parent fe41c8b commit 7628f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/swoole/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@
define('SWOOLE_ERROR_PROTOCOL_ERROR', 508);
define('SWOOLE_ERROR_WRONG_OPERATION', 509);
define('SWOOLE_ERROR_PHP_RUNTIME_NOTICE', 510); // @since 5.1.0
define('SWOOLE_ERROR_FOR_TEST', 511); // @since 6.0.0-alpha
define('SWOOLE_ERROR_UNDEFINED_BEHAVIOR', 600); // @since 6.0.0-alpha
define('SWOOLE_ERROR_NOT_THREAD_SAFETY', 601); // @since 6.0.0-alpha
define('SWOOLE_ERROR_FOR_TEST', 511); // @since 6.0.0
define('SWOOLE_ERROR_UNDEFINED_BEHAVIOR', 600); // @since 6.0.0
define('SWOOLE_ERROR_NOT_THREAD_SAFETY', 601); // @since 6.0.0
define('SWOOLE_ERROR_FILE_NOT_EXIST', 700);
define('SWOOLE_ERROR_FILE_TOO_LARGE', 701);
define('SWOOLE_ERROR_FILE_EMPTY', 702);
Expand Down
1 change: 1 addition & 0 deletions src/swoole/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ function swoole_substr_json_decode(string $str, int $offset, int $length, bool $
/**
* Triggers a fatal error when the string passed in is "fatal_error"; otherwise nothing happens.
*
* @since 6.0.0
* @internal This function is for testing purposes only when running unit tests in CI pipelines.
* @pseudocode-included This is a built-in method in Swoole. The PHP code included inside this method is for explanation purpose only.
*/
Expand Down

0 comments on commit 7628f64

Please sign in to comment.