Fix non-uppercase statics

`non_uppercase_statics` is now `warn` by default, meaning that the `no warnings` test fails.