From 38621c67917fd015f884ea04517791cdc5058c6d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 11 Aug 2026 23:28:40 +0900 Subject: chore(php-shim): drop the substring predicate ports str_contains(), str_starts_with() and str_ends_with() were thin wrappers over the str methods of the same semantics. Call sites now use contains()/starts_with()/ends_with() directly. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-symfony-console/src/style/symfony_style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/shirabe-symfony-console/src/style') diff --git a/crates/shirabe-symfony-console/src/style/symfony_style.rs b/crates/shirabe-symfony-console/src/style/symfony_style.rs index ead056d5..881d87e0 100644 --- a/crates/shirabe-symfony-console/src/style/symfony_style.rs +++ b/crates/shirabe-symfony-console/src/style/symfony_style.rs @@ -312,7 +312,7 @@ impl SymfonyStyle { fn auto_prepend_text(&mut self) { let fetched = self.buffered_output.fetch(); // Prepend new line if last char isn't EOL: - if !shirabe_php_shim::str_ends_with(&fetched, "\n") { + if !fetched.ends_with('\n') { self.new_line(1); } } -- cgit v1.3.1-4-g156e