diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-01 01:33:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-01 01:33:40 +0900 |
| commit | 1de6ba5c6735e42b5f462c0b7489bcf172ccdc08 (patch) | |
| tree | 3a26a8cfe640d10c0d028f0c5087b89e4c8eb167 /Cargo.lock | |
| parent | 2b1c6c58a8c9e9afa8ba54214bc0bee48b06142f (diff) | |
| download | php-shirabe-1de6ba5c6735e42b5f462c0b7489bcf172ccdc08.tar.gz php-shirabe-1de6ba5c6735e42b5f462c0b7489bcf172ccdc08.tar.zst php-shirabe-1de6ba5c6735e42b5f462c0b7489bcf172ccdc08.zip | |
feat(php-rpc): query real PHP version and binary for --version
Add a minimal shirabe-php-rpc crate that spawns the system PHP as a
child process and asks it for runtime information over a Unix domain
socket, then use it to fill the `--version` PHP line with the real
\PHP_VERSION and \PHP_BINARY instead of fixed placeholder values.
See docs/dev/php-rpc.md for the design and scope.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2011,6 +2011,7 @@ dependencies = [ "shirabe-class-map-generator", "shirabe-external-packages", "shirabe-metadata-minifier", + "shirabe-php-rpc", "shirabe-php-shim", "shirabe-semver", "shirabe-spdx-licenses", @@ -2050,6 +2051,14 @@ dependencies = [ ] [[package]] +name = "shirabe-php-rpc" +version = "0.0.1" +dependencies = [ + "shirabe-external-packages", + "tempfile", +] + +[[package]] name = "shirabe-php-shim" version = "0.0.1" dependencies = [ |
