Skip to content

Commit

Permalink
chore(linter): change php version requirement log from info to debug
Browse files Browse the repository at this point in the history
Signed-off-by: azjezz <[email protected]>
  • Loading branch information
azjezz committed Feb 1, 2025
1 parent 605f6b7 commit 26eea98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/linter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ impl Linter {

let settings = self.settings.get_rule_settings(slug.as_str());
if !rule_definition.supports_php_version(self.settings.php_version) {
tracing::info!("Rule `{slug}` does not support PHP version `{}`.", self.settings.php_version);
tracing::debug!("Rule `{slug}` does not support PHP version `{}`.", self.settings.php_version);

if let Some(version) = rule_definition.minimum_supported_php_version {
tracing::info!("Rule `{slug}` requires PHP >= `{version}`.");
tracing::debug!("Rule `{slug}` requires PHP >= `{version}`.");
}

if let Some(version) = rule_definition.maximum_supported_php_version {
tracing::info!("Rule `{slug}` requires PHP < `{version}`.");
tracing::debug!("Rule `{slug}` requires PHP < `{version}`.");
}

if settings.is_some() {
Expand Down

0 comments on commit 26eea98

Please sign in to comment.