Pear compliance

In this pull request I have fixed a number of PEAR coding standard violations. I have separated each of them in a different commits.

Thanks