aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-20 00:15:21 +0900
committernsfisis <nsfisis@gmail.com>2026-06-20 00:15:21 +0900
commit7c5162e7c2f9d466e96248b7482aa98350244e8b (patch)
tree23290db5ebb3bea4f5f2c45dd9f148ca79f8c98e /crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
parent08ad403ed366ac5839cb63333b5ba2c5007c655e (diff)
downloadphp-shirabe-7c5162e7c2f9d466e96248b7482aa98350244e8b.tar.gz
php-shirabe-7c5162e7c2f9d466e96248b7482aa98350244e8b.tar.zst
php-shirabe-7c5162e7c2f9d466e96248b7482aa98350244e8b.zip
docs(console): fence PHP examples in doc comments as `php`
Ported docblocks embed PHP usage examples as indented (and bare-fenced) code blocks, which rustdoc compiled as Rust doctests and failed `cargo test`. Mark them as `php` so they render as code without being run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs b/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
index a292a52..80105e9 100644
--- a/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
@@ -12,13 +12,17 @@ use shirabe_php_shim::PhpMixed;
///
/// Usage:
///
-/// $input = new ArgvInput();
+/// ```php
+/// $input = new ArgvInput();
+/// ```
///
/// By default, the `$_SERVER['argv']` array is used for the input values.
///
/// This can be overridden by explicitly passing the input values in the constructor:
///
-/// $input = new ArgvInput($_SERVER['argv']);
+/// ```php
+/// $input = new ArgvInput($_SERVER['argv']);
+/// ```
///
/// If you pass it yourself, don't forget that the first element of the array
/// is the name of the running application.