[FLOW3-general] FLOW3 CodeSniffer ruleset
Tim Eilers
tim.eilers at web.de
Thu Apr 12 00:03:41 CEST 2012
Hi Bastian,
since i am one of the leaders of the old "fruitless" attempt, i think i
have to answer here. Also using the mailing list is better than to
continue the exchange of private mails. Good idea Bastian.
In the private mails i explained it a bit longer, but for everyone else
to know i will do it in short: I am missing time (and honestly interest)
to do/continue the creation and maintenance of the ruleset. So i am not
a volunteer.
I am a linux sysadmin at work and my only "contact" to the whole TYPO3
world are two small hobby projects for non-profit organisations.
But you (meaning the team that will take care of the ruleset), don't
have to start from scratch. I already edited the existing wiki entries
(several wiki pages with an overview [1]) to see which sniffs can be
reused and which not.
It just has to be put into a ruleset.
After that i am agreeing with you (meaning Bastian) to create sniffs,
that do not already exist or have to be changed to fit to FLOW3.
Some of them may already be coded here [2] (project is hidden, so you
may be have to be logged in into forge).
If you have a question to already done work, feel free to drop me a
private email (since i am not following the newsgroup every day).
Cheers,
Tim.
[1]
http://forge.typo3.org/projects/team-php_codesniffer/wiki/The_sniffs_with_code_examples
[2]
http://forge.typo3.org/projects/package-flow3cgl/repository/show/branches/backported/Resources/Private/PHP/Codingstandard/Sniffs
Am 11.04.2012 13:43, schrieb Bastian Waidelich:
> Hi all,
>
> there has been several (more or less fruitless) attempts to create
> CodeSniffer [1] rulesets for FLOW3 (respectively Phoenix).
>
> Since now more and more IDEs have built-in support for CodeSniffer
> rulesets (e.g. Eclipse & PhpStorm 4+) this topic popped up again.
>
> The idea is to extend the existing CodeSniffer git repository [2]:
> There are two folders currently: "TYPO3" contains common CodeSniffs and
> tests, "TYPOv4" contains a ruleset for the v4 core. We should add a new
> folder "FLOW3" there with the ruleset.xml file so that people can simply
> clone the git repository (later we could also provide a downloadable zip).
> I just started collecting some possible sniffs in the respective forge
> project [3] - feel free to adjust/extend the document.
>
> To prevent the project from dying again I'd suggest to start with the
> *very basic* rules and build on top of that if it works out.
>
> I'll happily coordinate the process but I'm pretty busy with other
> projects at the moment nor have sufficient CodeSniffer knowledge to
> kickstart this on my own. So it would be great if at least someone takes
> over the responsibility for now an starts with a first version.
> Volunteers? ;)
>
> BTW: Once we have a working ruleset we could use a slightly modified
> version for Extbase, too.
>
> Best,
> Bastian
>
>
> [1] http://pear.php.net/package/PHP_CodeSniffer
> [2]
> http://git.typo3.org/Teams/forge.typo3.org/hudson-helpers/tools/PHP_CodeSniffer.git?a=tree
>
> [3] http://forge.typo3.org/projects/team-php_codesniffer/wiki/FLOW3_Ruleset
More information about the FLOW3-general
mailing list