aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-class-map-generator/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-class-map-generator/src')
-rw-r--r--crates/shirabe-class-map-generator/src/class_map.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/shirabe-class-map-generator/src/class_map.rs b/crates/shirabe-class-map-generator/src/class_map.rs
index 10e7869..264fd35 100644
--- a/crates/shirabe-class-map-generator/src/class_map.rs
+++ b/crates/shirabe-class-map-generator/src/class_map.rs
@@ -2,7 +2,7 @@
use indexmap::IndexMap;
use shirabe_external_packages::composer::pcre::Preg;
-use shirabe_php_shim::{Countable, OutOfBoundsException, rtrim, strpos, strtr};
+use shirabe_php_shim::{OutOfBoundsException, rtrim, strpos, strtr};
#[derive(Debug, Clone)]
pub struct PsrViolationEntry {
@@ -137,9 +137,3 @@ impl ClassMap {
&self.psr_violations
}
}
-
-impl Countable for ClassMap {
- fn count(&self) -> i64 {
- self.map.len() as i64
- }
-}