Skip to content

Commit

Permalink
cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed Sep 3, 2024
1 parent c34ac74 commit a177540
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/admin/AdminMollieLogsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function displayAjaxGetLog()
}

/**
* @param null $value
* @param string|false|null $value
* @param null $controller
* @param null $method
*
Expand Down
2 changes: 1 addition & 1 deletion src/Utility/VersionUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function isPsVersionGreaterOrEqualTo($version): int

public static function isPsVersionLessThanOrEqualTo($version): int
{
return (int)version_compare(_PS_VERSION_, $version, '<=');
return (int) version_compare(_PS_VERSION_, $version, '<=');
}

public static function isPsVersionEqualTo($version): int
Expand Down
4 changes: 4 additions & 0 deletions tests/phpstan/phpstan_base.neon
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@ parameters:
- '#Call to function is_subclass_of\(\) with.*will always evaluate to false.#'
- '#Call to function is_array\(\) with.*will always evaluate to false.#'
- '#Property AdminControllerCore\:\:\$_use_found_rows (string) does not accept false.#'
- '#Access to undefined constant PrestaShopLogger::LOG_SEVERITY_LEVEL_INFORMATIVE.#'
- '#Access to undefined constant PrestaShopLogger::LOG_SEVERITY_LEVEL_WARNING.#'
- '#Access to undefined constant PrestaShopLogger::LOG_SEVERITY_LEVEL_ERROR.#'
- '#Access to undefined constant PrestaShopLogger::LOG_SEVERITY_LEVEL_MAJOR.#'

level: 5

0 comments on commit a177540

Please sign in to comment.