Fixed SensioLabsInsight violations

Fixes #1