diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 03:02:18 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 04:57:19 +0900 |
| commit | 8d6dbf51af859ad0017ed8d1358824d9386d48c8 (patch) | |
| tree | 129c05d82609a707f12a061104988d463a49b751 /crates/shirabe-external-packages/src/symfony/component | |
| parent | a1c7e6908a26e10f6e1f23a51721664b5e2d838d (diff) | |
| download | php-shirabe-8d6dbf51af859ad0017ed8d1358824d9386d48c8.tar.gz php-shirabe-8d6dbf51af859ad0017ed8d1358824d9386d48c8.tar.zst php-shirabe-8d6dbf51af859ad0017ed8d1358824d9386d48c8.zip | |
fix(php-shim): resolve duplicate definitions and compile errors
- 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
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/component')
0 files changed, 0 insertions, 0 deletions
