Codesniffer 'Can not retrieve available standards'

Hello!

I have the code sniffer installed on my computer.
The code sniffer batch file is located under
c: \ xampp \ php \ phpcs.bat.

D

codesniffer2.jpg

The code sniffer was installed under c:\ xampp \ php \ PEAR \ PHP \ Code Sniffer \.
The standards are located under
c: \ xampp \ php \ PEAR \ PHP \ Code Sniffer \ Standards \ ...


If I want to renew the coding standards, I get an error message.

codesniffer1.jpg

Who can help?

Sincerely yours

Stephan

1 comment

Problem solved!

Incorrect installation of php code sniffer and Phpmd.
Here is a useful tutorial.


http://www.mni.thm.de/thm_repository/reposforschung/webmedia/THM_iCampus_Working_Sheet_WPW_1350467381.pdf

The sections on Pear and xampp was helpful.

Greetings Stephan

0

Please sign in to leave a comment.