aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
12 daysrefactor(promise): change functions returning PromiseInterface to async fnnsfisis
13 daysrefactor: share Pool via Rc<RefCell>nsfisis
Convert Pool to Rc<RefCell<Pool>> so Solver, Decisions, and RuleSetGenerator share it, resolving the todo!() placeholders that blocked the dependency resolver (Phase C shared ownership). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 daysrefactor(php-shim): remove unnecessary methodsnsfisis
13 daysrefactor(composer): unify Composer/PartialComposer via Rc handlesnsfisis
Model PHP's `Composer extends PartialComposer` as a PartialOrFullComposer enum and merge partial_composer.rs into composer.rs. Introduce ComposerHandle / PartialComposerHandle (plus their Weak variants) so the graph can be shared, and build it at once with Rc::new_cyclic in the factory to resolve the back-reference cycles. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20refactor: re-export module items to shorten import pathsnsfisis
2026-05-20chore: allow unused codensfisis
2026-05-20fix(compile): fix all remaining compile errorsnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19fix(compile): fix more random compile errorsnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19fix(compile): fix various compile errorsnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18fix(compile): extract static methods from BasePackage traitnsfisis
2026-05-18fix(compile): impl std::error::Error for custom error typesnsfisis
2026-05-17fix(compile): use std::sync::LazyLock for global cachensfisis
2026-05-17fix(compile): convert Command struct to traitnsfisis
Symfony Command was a struct but used as dyn Trait (Box<dyn Command>) in console/application.rs. Convert it to a trait with CommandBase as the concrete stub, and add impl Command for all Composer commands.
2026-05-17fix(compile): make Rule trait dyn-compatible by extracting RuleBasensfisis
Removed the static fn new() from the Rule trait (which prevented dyn compatibility) and moved it into a new RuleBase struct.
2026-05-17fix(compile): extract constants from traits to make them dyn-compatiblensfisis
2026-05-17fix(compile): add missing PackageInterface and RepositoryInterface implsnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17fix(compile): remove to_string from impl Rule blocks (E0407)nsfisis
2026-05-17fix(compile): add dyn keyword to all trait object usages (E0782)nsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17fix(compile): fix IOInterface method signature mismatchesnsfisis
- Change write/write_error/write_raw/write_error_raw/overwrite/ overwrite_error/ask/ask_confirmation/ask_and_validate/ ask_and_hide_answer/select to &mut self in trait and NullIO - Change ask-family question params from PhpMixed to String in ConsoleIO, converting to PhpMixed::String internally - Change ConsoleIO::select choices param from PhpMixed to Vec<String> - Fix NullIO::load_configuration to use &mut Config and return Result
2026-05-17fix(compile): align ChangeReportInterface::get_local_changes return typensfisis
2026-05-17fix(compile): add stubs for missing trait implementationsnsfisis
2026-05-17fix(compile): add Display impls and fix trait signaturesnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17fix(compile): add missing use declarations for Command, Composer, ↵nsfisis
IOInterface, etc.
2026-05-17fix(compile): correct module pathsnsfisis
2026-05-17fix(compile): remove duplicate impl BaseCommand blocks with wrong signaturesnsfisis
2026-05-17fix(compile): box PluginManager in Composer to resolve recursive typensfisis
2026-05-17fix(compile): add stubs for missing trait implementationsnsfisis
2026-05-17chore: cargo clippy --fixnsfisis
2026-05-17fix(compile): implement IOInterface and LoggerInterface for ConsoleIOnsfisis
- Move standalone pub fn methods into impl IOInterface for ConsoleIO - Add impl LoggerInterface for ConsoleIO delegating to BaseIO - Fix load_configuration signature to take &mut Config and return Result - Fix index::IndexMap import paths to indexmap::IndexMap in ConsoleIO and NullIO
2026-05-17fix(compile): extract constants from traits to make them dyn-compatiblensfisis
2026-05-17fix(compile): fix trait signature errorsnsfisis
2026-05-17fix(compile): fix infinite size typesnsfisis
2026-05-17fix(compile): implement abstract class traits across all typesnsfisis
Implement BaseCommand trait and other abstract class traits across all command, downloader, io, package, and VCS driver types. Also fix trait method signatures for composer_mut and io_mut to return mutable references to Option rather than Option of mutable references.
2026-05-17fix(compile): remove visibility from trait methodsnsfisis
2026-05-17refactor(shirabe): convert PHP abstract classes to Rust traitsnsfisis
PHP abstract classes are represented as traits to better align with Rust's type system.
2026-05-17fix(shirabe): correct invalid import paths and add missing dependencynsfisis
2026-05-17fix(php-shim): add missing stub functions, constants, and typesnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17fix(semver): resolve shirabe-semver compile errorsnsfisis
- Replace RefCell with Mutex in Constraint for thread safety - Add clone_box() to ConstraintInterface for cloning trait objects - Propagate Result from Constraint::new() and unwrap at call sites - Fix VersionParser instantiation (unit struct, not fn) - Add indexmap dependency to shirabe-semver
2026-05-17fix(class-map-generator): introduce CaptureKey enum and fix ↵nsfisis
class-map-generator compile errors - Add CaptureKey enum to Preg stub for typed capture access (by index or name) - Expand Preg stub with complete method set matching the PHP Composer\Pcre\Preg API - Update class-map-generator, php-file-cleaner, and php-file-parser to use new API - Add Display impls for exception types in shirabe-php-shim - Add follow_links/exclude stubs to Finder and new/get_pathname stubs to SplFileInfo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17fix(php-shim): resolve duplicate definitions and compile errorsnsfisis
- Remove duplicate function/constant definitions that were added during porting (strpos, str_contains, str_starts_with, is_scalar, strlen, substr, strtoupper, str_replace, sprintf, array_keys, str_ends_with, is_int, array_values, is_object, is_numeric, PHP_EOL, FILTER_VALIDATE_EMAIL, PHP_VERSION_ID) - Replace old spl_autoload_register/unregister (PhpMixed args) with typed Box<dyn Fn> versions - Replace old array_pop/array_shift/array_unshift/array_splice with generic/correctly-typed versions - Replace old trim(chars: &str) with trim(chars: Option<&str>) - Rename array_slice(PhpMixed) to array_slice_mixed to coexist with the typed array_slice<V>(IndexMap<String, V>) version - Fix chdir return type Result<()> -> anyhow::Result<()> - Add anyhow dependency to shirabe-php-shim
2026-05-17chore(style): cargo fmtnsfisis
2026-05-17feat(port): add stub implementations of shirabe-external-packagesnsfisis
2026-05-17feat(port): port ClassMapGenerator.phpnsfisis
2026-05-17feat(port): port PhpFileCleaner.phpnsfisis
2026-05-17feat(port): port ClassMap.phpnsfisis
2026-05-17feat(port): port PhpFileParser.phpnsfisis
2026-05-17feat(port): port FileList.phpnsfisis
2026-05-17feat(port): port VersionParser.phpnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17feat(port): port Intervals.phpnsfisis
Add Clone derives to Constraint, Interval, and DevConstraintSet (needed for IntervalCollection). Add preg_match/preg_replace/preg_split stubs to shirabe-php-shim. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16feat(port): port Constraint.phpnsfisis