diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-07 07:15:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-07 07:15:08 +0900 |
| commit | e7f83b74e8f8c12b4a1b0f9f613387b03858dbdd (patch) | |
| tree | 37fba97742e2d16ff1494eba600da52a0aac9fcf /crates/shirabe/src/downloader/fossil_downloader.rs | |
| parent | 759b2980e70dfb8960238f75d68bb6dddce25414 (diff) | |
| download | php-shirabe-e7f83b74e8f8c12b4a1b0f9f613387b03858dbdd.tar.gz php-shirabe-e7f83b74e8f8c12b4a1b0f9f613387b03858dbdd.tar.zst php-shirabe-e7f83b74e8f8c12b4a1b0f9f613387b03858dbdd.zip | |
chore: use shirabe_php_shim::impl_php_class
Diffstat (limited to 'crates/shirabe/src/downloader/fossil_downloader.rs')
| -rw-r--r-- | crates/shirabe/src/downloader/fossil_downloader.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/downloader/fossil_downloader.rs b/crates/shirabe/src/downloader/fossil_downloader.rs index c6be8f24..72409a1f 100644 --- a/crates/shirabe/src/downloader/fossil_downloader.rs +++ b/crates/shirabe/src/downloader/fossil_downloader.rs @@ -13,15 +13,15 @@ use crate::util::Filesystem; use crate::util::ProcessExecutor; use indexmap::IndexMap; use shirabe_external_packages::composer::pcre::Preg; -use shirabe_php_shim::{PhpMixed, RuntimeException, php_regex}; - -shirabe_php_shim::impl_php_class!(FossilDownloader, r"Composer\Downloader\FossilDownloader"); +use shirabe_php_shim::{PhpMixed, RuntimeException, impl_php_class, php_regex}; #[derive(Debug)] pub struct FossilDownloader { inner: VcsDownloaderBase, } +impl_php_class!(FossilDownloader, r"Composer\Downloader\FossilDownloader"); + impl FossilDownloader { pub fn new( io: std::rc::Rc<std::cell::RefCell<dyn IOInterface>>, |
