Removed phpstan.neon which will be in dev-tools instead. Fixed some phpstan reported problems to avoid having a huge baseline. issue #6114