댓글 검색 목록

[php] PHP Code Sniffer

페이지 정보

작성자 운영자 작성일 20-04-29 09:32 조회 996 댓글 0

PHP, CSS 및 JS 코딩 표준 위반을 탐지하는 라이브러리입니다.


https://github.com/squizlabs/PHP_CodeSniffer 


PHP_CodeSniffer는 두 개의 PHP 스크립트 세트입니다. 

정의 된 코딩 표준의 위반을 감지하기 위해 PHP, JavaScript 및 CSS 파일을 토큰 화하는 기본 phpcs 스크립트 및 코딩 표준 위반을 자동으로 수정하는 두 번째 phpcbf 스크립트.

PHP_CodeSniffer는 코드를 깨끗하고 일관성있게 유지하는 필수 개발 도구입니다.


# Download using curl
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar

# Or download using wget
wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
wget https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar

# Then test the downloaded PHARs
php phpcs.phar -h
php phpcbf.phar -h

댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.