cvs: peardoc /en/package/php/php-codesniffer config-options.xml

From: Date: Mon, 07 Jul 2008 04:53:45 +0000
Subject: cvs: peardoc /en/package/php/php-codesniffer config-options.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10969@lists.php.net to get a copy of this message
squiz Mon Jul 7 04:53:45 2008 UTC Modified files: /peardoc/en/package/php/php-codesniffer config-options.xml Log: Added jsl-path config option for 1.1.0 http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-codesniffer/config-options.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/php/php-codesniffer/config-options.xml diff -u peardoc/en/package/php/php-codesniffer/config-options.xml:1.4 peardoc/en/package/php/php-codesniffer/config-options.xml:1.5 --- peardoc/en/package/php/php-codesniffer/config-options.xml:1.4 Wed Nov 28 22:59:33 2007 +++ peardoc/en/package/php/php-codesniffer/config-options.xml Mon Jul 7 04:53:45 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.php.php-codesniffer.config-options"> <refnamediv> <refname>Configuration Options</refname> @@ -102,6 +102,31 @@ + <refsect1 id="package.php.php-codesniffer.config-options.squiz"> + <title>Squiz Coding Standard Configuration Options</title> + + <refsect2 id="package.php.php-codesniffer.config-options.squiz.jsl-path"> + <title>Setting the Path to JavaScript Lint</title> + <para> + The Squiz coding standard includes a sniff that will check each JavaScript file using <ulink url="http://www.javascriptlint.com">JavaScript Lint</ulink>, a tool that checks all your JavaScript source code for common mistakes without actually running the script or opening the web page. Use the <literal>jsl_path</literal> configuration option to tell the JavaScript Lint sniff where to find the tool. + </para> + <example> + <title>Setting the path to JavaScript Lint</title> + <screen> + <userinput> +<![CDATA[ +$ phpcs --config-set jsl_path /path/to/jsl +]]> + </userinput> + </screen> + </example> + </refsect2> + + </refsect1> + + + + <refsect1 id="package.php.php-codesniffer.config-options.zend"> <title>Zend Coding Standard Configuration Options</title> @@ -111,7 +136,7 @@ The Zend coding standard includes a sniff that will check each file using the Zend Code Analyzer, a tool that comes with Zend Studio. Use the <literal>zend_ca_path</literal> configuration option to tell the Zend Code Analyzer sniff where to find the tool. </para> <example> - <title>Setting the path to Zend Code Analyzer</title> + <title>Setting the path to the Zend Code Analyzer</title> <screen> <userinput> <![CDATA[

« previous php.pear.doc (#10969) next »