-
Notifications
You must be signed in to change notification settings - Fork 51
some codesniffer niceups #2
Comments
yes please! maybe we have different level here:
btw: does make cs-install works on Darwin as well @pfrischmuth, maybe you can test that? |
sorry, wrong button ... :) |
additional requests:
|
after working a little bit with the pre_commit hook, I would like to change that to pre_push if this exist: what do you think about that? |
@Lars: what about this issue? These additional requirements are important:
|
can we drop Internal.NoCodeFound errors on "make cs-check" these errors appear on Makefiles, N3 files, ... |
Seebi, the opening user was @larseidam not myself. Thanks |
@Lars: thanks ... and sorry :) |
@ALLnow there is a CodeSniffer Update on commit 714ce22 Attention: some Makefile commands have changed (look at 'make help') fixed issue:
open issue:
@seebiWhat do you mean with this??
Do you want a sniff that shows files they have no php code, files they are empty or something else?? |
lars, looks great! regarding your question: I just dont want an error if the sniffer founds a file which is not php one solution: the sniffer looks only for php and phtml files |
all issues in this thread are done or rather in a other Issus-thread |
Hi,
i just tested the cs stuff, and i really like it!
I had already installed the CodeSniffer pear library, and cs-install says it fails, because of that, but actually succeeds. maybe you ignore that error there. (should also occur when cs-uninstalling and then cs-install again - because the uninstall doesnt uninstalls the pear stuff)
and if i add a var_dump or print_r (and also exit and echo), i would like cs to complain about that. is there a simple way to disable cs for one(current) commit? for example: i fix all cs errors that i can, but some remain (for example a print_r to the log).
@seebi also suggested that you could make something that prevents us from commiting to the master branch.
what do you think?
regards,
Jonas
The text was updated successfully, but these errors were encountered: