A simple sniff for detecting BOMs that may corrupt application work.
- Author
- Piotr Karas offic.nosp@m.e@me.nosp@m.diase.nosp@m.lf.p.nosp@m.l
-
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2010-2014 mediaSELF Sp. z o.o. https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Ensures the file ends with a newline character.
- Author
- Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Ensures the file does not end with a newline character.
- Author
- Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Ensures the whole file is PHP only, with no whitespace or inline HTML.
- Author
- Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that end of line characters are correct.
- Author
- Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks the length of all lines in a file.
Checks all lines in the file, and throws warnings if they are over 80 characters in length and errors if they are over 100. Both these figures can be changed in a ruleset.xml file.
- Author
- Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that all file names are lowercased.
- Author
- Andy Grunwald andyg.nosp@m.runw.nosp@m.ald@g.nosp@m.mail.nosp@m..com
- Copyright
- 2010-2014 Andy Grunwald https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that only one class is declared per file.
- Author
- Andy Grunwald andyg.nosp@m.runw.nosp@m.ald@g.nosp@m.mail.nosp@m..com
- Copyright
- 2010-2014 Andy Grunwald https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that only one interface is declared per file.
- Author
- Andy Grunwald andyg.nosp@m.runw.nosp@m.ald@g.nosp@m.mail.nosp@m..com
- Copyright
- 2010-2014 Andy Grunwald https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that only one object structure is declared per file.
- Author
- Mponos George gmpon.nosp@m.os@g.nosp@m.mail..nosp@m.com
- Copyright
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Checks that only one trait is declared per file.
- Author
- Alexander Obuhovich aik.b.nosp@m.old@.nosp@m.gmail.nosp@m..com
- Copyright
- 2010-2014 Alexander Obuhovich https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence