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

And more validations for warnings and notices