master

Close hostnet/PHP_CodeSniffer#2

Squashed commit of the following:

commit 3b6aac8e1c2f60284c8f16e643d4b8985d5ade70
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Mon Oct 27 15:39:54 2014 +0100

    Moved  and

commit ff8a8c24f74739b9267d1114093a17ede436b8b0
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Mon Oct 27 15:34:32 2014 +0100

    Moved variable to if-statement

commit 101a794519f99ffe787c8e34b1886ce2451c738b
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Mon Oct 27 15:21:12 2014 +0100

    Removed bug that made is possible for namespace to be undefined

commit 8b8da5ad21e53680be21e1bd0d888f50191fb41d
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Thu Oct 23 11:16:40 2014 +0200

    Adapted code to comply with codestyle

commit ecc67ebb3b09fc61afeed2f2d1c9de9bc2b58718
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Thu Oct 23 09:56:07 2014 +0200

    Removed unused code and some bugs

commit 335622879ba6fc1bcd0f93d44db43ef2a966f315
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Thu Oct 23 09:09:09 2014 +0200

    Removed unused code

commit 5d1bb2244af10f2094ab13585bce6ecc18aeaa75
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Wed Oct 22 16:30:06 2014 +0200

    Added guard clauses to while-loops

commit a137dcaf8bb6c7aae33316eec145807accf440dd
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Wed Oct 22 14:52:06 2014 +0200

    Integer used for T_COMMENT incompatible with older version

commit f5e478836a47991de5ab40ae52c64539590a6377
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Tue Oct 21 17:28:23 2014 +0200

    Used original .travis.yml

commit 19142209a0174fa4b95c50846d8d474cfb95cebf
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Tue Oct 21 17:16:05 2014 +0200

    Readded the original script in .travis.yml

commit c35163376152199881a3c6da9cc592a1eb18c1b5
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Tue Oct 21 16:39:34 2014 +0200

    Added travis file that runs composer install

commit 54ec67a6ac9e4f348cb689b1f50aff990847a84d
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Tue Oct 21 16:35:08 2014 +0200

    Removed Travis gonfiguration

commit e89777c69bcf36528f9580f761556c4ee8593138
Author: Eddy Pouw <epouw@hostnet.nl>
Date:   Tue Oct 21 16:13:09 2014 +0200

    Created code sniff for automatically generated interfaces for entities. It checks whether they are implemented by the entities.