Formatted according to the PSR2 standard (mostly converted tabs into spaces)

pear install PEAR_CodeSniffer

phpcs --standard=PSR2 library/|grep -v "\-----"|grep -v 'FOUND 0'|grep -v 'Line exceeds'