This reverts parts of commit 165c4fd53cfb732f4a47e40da39d7372b2346c17.
* Enable PHPStan linter * Add PHPStan baseline * Switch to Level 5 * Fix StringBlade errors with a stub file