Type php
Date Monday, December 22, 2014 - 05:20
User shashankm
Location http://localhost/implant/docroot/admin/config/development/coder/review/ndr
Referrer
Message PHP_CodeSniffer_Exception: Class PHP_CodeSniffer_CommentParser_ClassCommentParser not found in include_once() (line 13 of /sites/all/modules/coder/coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php).
Severity error
Hostname 127.0.0.1
Operations

Comments

Shamsher_Alam’s picture

php 12/22/2014 - 05:20 PHP_CodeSniffer_Exception: Class PHP_CodeSniffer...
php 12/22/2014 - 05:18 PHP_CodeSniffer_Exception: Class PHP_CodeSniffer...

shaktik’s picture

Shamsher_Alam’s picture

Thanks now its working fine.

klausi’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Fixed
Issue tags: -coder
shaktik’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Saneesh’s picture

Hello,
PHP 5.5.12
PHP_CodeSniffer 2.3.1

I have followed the steps shaktik mentioned, but still I got the same error.
Note: In the above PHP_CodeSniffer page there is no class file named PHP_CodeSniffer/CommentParser/ClassCommentParser.php

Thanks,
Saneesh

encelado’s picture

Version: 7.x-2.3 » 7.x-2.5
Component: Coder Review » Coder Sniffer
Priority: Normal » Major
Status: Closed (fixed) » Needs review
klausi’s picture

Assigned: shaktik » Unassigned
Status: Needs review » Fixed

you need to use PHPCS 1.x with Coder 7.x-2.x.

But don't use Coder 7.x-2.x anyway - use Coder 8.x-2.x which can check and fix code for any Drupal version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.