phpstan support (#250)

* phpstan v1 + workflow

* Fix intend

* More fixes

* Update phpstan.neon

* phpstan level 2

* Move errors ignoring into phpstan.neon

* phpstan level 3

* Don't ignore templates folder

* Something from level 4

* Update phpstan.neon
This commit is contained in:
Slawomir Boczek
2024-02-18 14:59:25 +01:00
committed by GitHub
parent e23a749e4c
commit fe7ad61abe
21 changed files with 157 additions and 22 deletions

View File

@@ -141,8 +141,8 @@ class Validator
* Validate account password
* Name lenght must be 3-32 chars
*
* @param string $name Account name to check
* @return bool Is account name valid?
* @param string $password Password to check
* @return bool Is password valid?
*/
public static function password($password)
{