aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-class-map-generator/src/php_file_parser.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-09 11:10:53 +0900
committernsfisis <nsfisis@gmail.com>2026-08-09 11:10:53 +0900
commit66c3eba15ba6302d43de057a9063f7feee8c6fb3 (patch)
treed44bf5cec4d9ddfffa1a732dba85418c2873de82 /crates/shirabe-class-map-generator/src/php_file_parser.rs
parent0b737de495e9a8530a6a32ce2799dc49f3e5786f (diff)
downloadphp-shirabe-66c3eba15ba6302d43de057a9063f7feee8c6fb3.tar.gz
php-shirabe-66c3eba15ba6302d43de057a9063f7feee8c6fb3.tar.zst
php-shirabe-66c3eba15ba6302d43de057a9063f7feee8c6fb3.zip
refactor(pcre): extract composer/pcre into the shirabe-pcre crate
Move `Composer\Pcre` out of shirabe-external-packages and into its own crate, so the path is `shirabe_pcre::preg::Preg` instead of `shirabe_external_packages::composer::pcre::preg::Preg`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-class-map-generator/src/php_file_parser.rs')
-rw-r--r--crates/shirabe-class-map-generator/src/php_file_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe-class-map-generator/src/php_file_parser.rs b/crates/shirabe-class-map-generator/src/php_file_parser.rs
index 712fb4ab..ac0c8f1c 100644
--- a/crates/shirabe-class-map-generator/src/php_file_parser.rs
+++ b/crates/shirabe-class-map-generator/src/php_file_parser.rs
@@ -2,7 +2,7 @@
use crate::php_file_cleaner::PhpFileCleaner;
use indexmap::IndexMap;
-use shirabe_external_packages::composer::pcre::{CaptureKey, Preg};
+use shirabe_pcre::{CaptureKey, Preg};
use shirabe_php_shim::{
CmpOp, HHVM_VERSION, PHP_EOL, PHP_VERSION_ID, RuntimeException, file_exists, file_get_contents,
function_exists, is_file, is_readable, ltrim, php_strip_whitespace, str_replace_array, strrpos,