PSR-2 Source code conversion

I am working on reformatting the code to be PSR-2 compliant. After that, we will enable checks in Travis-CI.

I’ve ran into several issues that I’ve been working out a long the way such as embedded class definitions and libraries in random places.

One main change that has been implemented is an auto class-loader. This makes it possible to create and use classes without manually including them. It also makes it a lot less painful to do object oriented programming in LibreNMS.

##Sections
html - done
includes -done
remaining - done

2 Likes