Currently, the code is full of tab-characters, trailing spaces, inconsistent indentations, HTML in translatable strings, etc.
Pareview reports hunderds of errors: http://pareview.sh/pareview/httpgitdrupalorgprojectadminimaladminmenugit
I'm marking this as 'critical' as it prevents us from submitting patches.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | fix_code_standard_issues-2513984-7.patch | 18.5 KB | joelpittet |
| #3 | adminimal_admin_menu-fix_codestyle_issues-2513984.patch | 320.5 KB | fortis |
Comments
Comment #2
fortis commentedComment #3
fortis commentedI'll try to help, I fixed code style issues and 'TRUE' strings
Comment #4
fortis commentedComment #5
joelpittetLooks like this no longer applies.
Comment #6
joelpittetTo do a quick fix we could just run:
phpcbf --standard=Drupal --ignore="js/slicknav/*" .or manually with:
phpcs --standard=Drupal --ignore="js/slicknav/*" .If you have code sniffer setup with the Drupal. https://www.drupal.org/node/1419988
Comment #7
joelpittetThis may not cover all the things @fortis covered but it gets a bit of a smaller jumpstart.
@fortis feel free to add to it.
Comment #11
tessa bakkerComment #12
tessa bakker