Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Not compatible with CS 2.0+ #6

Closed
cjunge-work opened this issue Jan 27, 2015 · 4 comments
Closed

Not compatible with CS 2.0+ #6

cjunge-work opened this issue Jan 27, 2015 · 4 comments
Assignees

Comments

@cjunge-work
Copy link

There are issues with method signature differences beween this project and the new version of CS.

Eg:
PHP Strict Standards: Declaration of Symfony2_Sniffs_Commenting_FunctionCommentSniff::processReturn() should be compatible with PEAR_Sniffs_Commenting_FunctionCommentSniff::processReturn(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart)

@cjunge-work
Copy link
Author

If I disable error reporting I get:
PHP Fatal error: Uncaught exception 'PHP_CodeSniffer_Exception' with message 'Class PHP_CodeSniffer_CommentParser_ClassCommentParser not found'

@rarila
Copy link

rarila commented Jun 16, 2015

Just hit the same problem. The cause is the Removal of the Comment Parser.

Are there already plans to fix this?

@mojoLyon
Copy link

Yes we will fix this soon.

@rarila
Copy link

rarila commented Jun 17, 2015

Oh, this is great. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants