And more validations for warnings and notices
Merge pull request #1267 from julceslauhub/master

And more validations for warnings and notices