Backport to 2.1.x

Signed-off-by: crynobone <crynobone@gmail.com>
Avoid short array syntax.

Signed-off-by: crynobone <crynobone@gmail.com>
Update badge.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove short array syntax.

Signed-off-by: crynobone <crynobone@gmail.com>
Additional tweak.

Signed-off-by: crynobone <crynobone@gmail.com>
Improve compatibility with PHP 5.3

Signed-off-by: crynobone <crynobone@gmail.com>
Add debugging since I don't understand why there's an error.

Signed-off-by: crynobone <crynobone@gmail.com>
Check for array.

Signed-off-by: crynobone <crynobone@gmail.com>
Reduce path.

Signed-off-by: crynobone <crynobone@gmail.com>
Restructure for 2.2

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.2'

Signed-off-by: crynobone <crynobone@gmail.com>

Conflicts:
	README.md