Update README.md
bug fixes reported by scrutinizer
CS fixes reported by scrutinizer
CS fixes reported by scrutinizer
increased phpdoc suggested by scrutinizer
added more badges
removed dead assignment
fixed typo