Fixed SensioLabsInsight violations

Fixes #2