Issue #3496555 by grimreaper: Code cleanup (PHP CS, PHP MD, PHPStan, PHP CS Fixer, Rector, Psalm, Spellcheck). Enable Gitlab CI. Update README.md
Closes #3496555