aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
AgeCommit message (Collapse)Author
13 daysrefactor(php-shim): remove unnecessary methodsnsfisis
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): impl std::error::Error for custom error typesnsfisis
2026-05-17chore: cargo clippy --fixnsfisis
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(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): port ClassMapGenerator.phpnsfisis
2026-05-17feat(port): port PhpFileParser.phpnsfisis
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
2026-05-16feat(port): port Bound.phpnsfisis
2026-05-16feat(port): port Solver.phpnsfisis
2026-05-16feat(port): port PlatformRepository.phpnsfisis
2026-05-16feat(port): port EventDispatcher.phpnsfisis
2026-05-16feat(port): port ValidatingArrayLoader.phpnsfisis
2026-05-16feat(port): port CurlDownloader.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port Config.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port SelfUpdateCommand.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port GitHubDriver.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port InitCommand.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port Perforce.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port GitLabDriver.phpnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16feat(port): port ClassLoader.phpnsfisis
2026-05-16feat(port): port GitBitbucketDriver.phpnsfisis
2026-05-16feat(port): port CreateProjectCommand.phpnsfisis
2026-05-16feat(port): port ArrayLoader.phpnsfisis
2026-05-16feat(port): port Auditor.phpnsfisis
2026-05-16feat(port): port PackageDiscoveryTrait.phpnsfisis
2026-05-16feat(port): port Rule.phpnsfisis
2026-05-16feat(port): port VersionGuesser.phpnsfisis
2026-05-16feat(port): port RepositorySet.phpnsfisis
2026-05-16feat(port): port JsonConfigSource.phpnsfisis
2026-05-16feat(port): port FilesystemRepository.phpnsfisis
2026-05-16feat(port): port JsonFile.phpnsfisis
2026-05-16feat(port): port ConsoleIO.phpnsfisis
2026-05-16feat(port): port NoProxyPattern.phpnsfisis
2026-05-16feat(port): port BinaryInstaller.phpnsfisis
2026-05-16feat(port): port SvnDriver.phpnsfisis
2026-05-16feat(port): port InstalledVersions.phpnsfisis
2026-05-16feat(port): port Cache.phpnsfisis
2026-05-16feat(port): port Transaction.phpnsfisis
2026-05-16feat(port): port VcsDownloader.phpnsfisis
2026-05-16feat(port): port AuthHelper.phpnsfisis
2026-05-16feat(port): port Platform.phpnsfisis
2026-05-16feat(port): port Pool.phpnsfisis