File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 77 * @var string $cli_name The current name of the `slic` CLI application.
88 */
99
10- use function StellarWP \Slic \colorize ;
11- use function StellarWP \Slic \slic_realtime ;
10+ namespace StellarWP \Slic ;
1211
1312if ( $ is_help ) {
1413 $ help = <<< HELP
Original file line number Diff line number Diff line change 55
66namespace StellarWP \Slic ;
77
8+ /**
9+ * Outputs a notification about the WordPress site URL.
10+ *
11+ * Displays a colored message showing the local WordPress site URL with the configured HTTP port.
12+ *
13+ * @return void
14+ */
815function service_wordpress_notify () {
916 echo colorize ( PHP_EOL . "Your WordPress site is reachable at: <yellow>http://localhost: " . getenv ( 'WORDPRESS_HTTP_PORT ' ) . "</yellow> " . PHP_EOL );
1017}
Original file line number Diff line number Diff line change @@ -284,7 +284,13 @@ function is_ci() {
284284 return false ;
285285}
286286
287- // Whether the current run context is a `slic` binary one or not.
287+ /**
288+ * Returns whether the current run context is a slic binary one or not.
289+ *
290+ * Checks environment variables to determine if the code is running in a slic context.
291+ *
292+ * @return bool Whether the current run context is a slic binary one or not.
293+ */
288294function is_slic () {
289295 $ env_vars = [
290296 'STELLAR_SLIC ' ,
You can’t perform that action at this time.
0 commit comments