| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-07-02 | feat(php-rpc): implement Runtime::has_constant/get_constant via php-rpc | nsfisis | |
| Runtime::hasConstant/getConstant need a real PHP interpreter's defined()/ constant() to answer platform requirement checks (e.g. PHP_ZTS, PHP_INT_SIZE), which the shim can't provide since Rust constants aren't queryable by string. Extend shirabe-php-rpc's protocol to carry one string argument and return the full PHP scalar range, add defined/constant dispatch entries to the worker, and wire Runtime and get_php_version/get_php_binary onto them. | |||
| 2026-06-29 | chore(lint): ban bare `use anyhow::Result` and fully qualify it | nsfisis | |
| Add a no_banned_use linter that forbids importing anyhow::Result, and update all call sites to reference it via its fully-qualified path so it is never confused with std::result::Result. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-27 | test: port Composer tests unblocked by mockall, add seams | nsfisis | |
| Port 11 categories of previously-ignored Composer tests now reachable with the mockall crate: DownloadManager, VCS/Perforce/File downloaders, VersionSelector, PlatformRepository, Auditor, installer/FilesystemRepository, RootPackageLoader, util auth/http, commands, and Cache. Extract test seams additively on concrete structs as *Interface traits (Runtime, HhvmDetector, VersionGuesser, RepositorySet, Perforce, BinaryInstaller) plus mock-field seams (Cache, Filesystem); consumers take trait objects. Mocks are defined locally in the test crates via mockall::mock!, since automock-generated mocks are cfg(test)-gated and invisible across the integration-test boundary. dataProviders are ported in full; tests blocked by unported shims stay #[ignore] with documented reasons rather than reduced or weakened. Fix product bugs surfaced by the ports: - util/github: use the exception code, not the HTTP status, for 401/403 - advisory: serialize empty audit maps as [] to match PHP json_encode - repository/filesystem and downloader/file: fix RefCell double-borrow panics Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-25 | feat(platform): implement Platform\Runtime introspection via shim functions | nsfisis | |
| Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-20 | feat(platform): implement Runtime::parse_html_extension_info | nsfisis | |
| Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-05-17 | chore(style): cargo fmt | nsfisis | |
| 2026-05-16 | feat(port): port Runtime.php | nsfisis | |
| 2026-05-12 | feat(init): add scaffold files | nsfisis | |
