Snoopy for PHP5?


(Nic Hubbard) #1

Hey Guys,


Just wondering if there is going to be a version of Snoopy for php5. Right now the Matrix website says that Snoopy does not support php5. Do the developers still use Snoopy? Is there a new version, or another alternative?



I am wanting to test my Matrix code to make sure I am following good coding practices, so I am really wanting to run my code through something like Snoopy.



Also, is "The Construct" ever going to be released?



Thanks.


(Greg Sherwood) #2

No, it's done I think. I haven't had the time to port over the coding standards to PHP_CodeSniffer so the dev's just do it manually now.


[quote]Also, is "The Construct" ever going to be released?[/quote]

Maybe. We need to work on it a bit more to make it easier to install, which will will be doing in the new year.


(Nic Hubbard) #3

So, the current tool I should be using to check my coding standards is PHP_CodeSniffer?

Thanks Greg.

(Greg Sherwood) #4

Not for Matrix. There is no tool right now. You just need to apply the standards manually using the PDF.


(Nic Hubbard) #5

Sorry for being dense, which PDF are you referring to?

(Greg Sherwood) #6

I’m not 100% sure where the link is, but you can get it here: http://matrix.squiz.net/__data/assets/file/0008/431/coding_standards.pdf


(Nic Hubbard) #7

Wonderful, thank you.