Question: join forces
keradus opened this issue · 13 comments
Hi!
Your project is similar to our - check code style.
We, on the other hand, also fix it in place!
What about joining forces and work together on https://github.com/FriendsOfPHP/PHP-CS-Fixer ?
Hey @keradus, we've previously looked at PHP-CS-Fixer before starting PHPCheckstyle afresh (see Hippo) but they seem to be doing different jobs.
PHPCheckstyle returns a string for each fix, explaining what you should do. Similar to Rubocop I guess. Does PHP-CS-Fixer do that? I was never able to see that.
You can see what fixers made changes via verbose option.
You can also show what change need to be made by using --diff
. And, if don't wan't to store it on your files - also add --dry-run
.
So for example, it'll tell you that you need to use single quotes and not double?
It's a matter of fixers that the tool know.
Currently there is no fixer (rule) for '
vs "
. But it can be simply added.
See the list of possible fixers at https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/1.5/README.rst#usage . Joining forces will allow us to build greater rules set.
For existing fixer one can only get the message that the rule is violated and where or simply fixed.
Interesting. We actually started fresh on this - which is what Hippo is, but I'd be interested in contributing to PHP-CS-Fixer for a project of mine.
So, maybe think about joining forces fron PHPCheckstyle and Hippo to work together on PHP CS Fixer.
If some functionallity is missing it can be simply added. Now it is a great time for it - we are working on 2.0 version, which allows us for 2.0 version.
PHP CS Fixer has quite big community so far ;)
Well PHPCheckstyle really belongs to @tchule but I'd be happy to move to PHP-CS-Fixer as a team member?
I am talking here about joining forces to stop spending time on writing two tools to do the same thing allowing to spend same time to develop one tool twice as fast, not about moving one, single contributor from one repo to another.
On PHP CS Fixer we have big community and almost 100 contributors. Tool was build originally as part of Symfony and now it is used by biggest frameworks like Symfony or ZF2.
Everyone are willing to contribute.
OK, I see this repo is already dead :(
The sourceforge repo also looks dead...
Hi, not a lot of time to keep up with the project. I've just moved to SourceForce because Google Code is closing soon, I wanted to keep the wiki. Not completly dead, but no activity....