cvs: peardoc /en/package/php/php-compatinfo api.xml cli.xml
| From: | Laurent Laville | Date: | Sat, 12 Apr 2008 13:34:26 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo api.xml cli.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10648@lists.php.net to get a copy of this message | ||
farell Sat Apr 12 13:34:26 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo api.xml cli.xml
Log:
- use a real example (html-css 1.5.1) as purpose
- applied changes related to API 1.7.0
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/api.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/api.xml diff -u peardoc/en/package/php/php-compatinfo/api.xml:1.5 peardoc/en/package/php/php-compatinfo/api.xml:1.6 --- peardoc/en/package/php/php-compatinfo/api.xml:1.5 Mon Mar 10 15:55:56 2008 +++ peardoc/en/package/php/php-compatinfo/api.xml Sat Apr 12 13:34:26 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.php.php-compatinfo.api"> <refnamediv> <refname>API</refname> @@ -99,6 +99,17 @@ PHP5 tokens (public, final, abstract, etc ...) </para> </listitem> + <listitem> + <para> + <emphasis role="bold">cond_code</emphasis>, + A level (and details) of warning about conditional code found + during parsing source code: + from 0=none, 1=function_exists, 2=extension_loaded, 4=defined + </para> + <para> + Its binary value, so 5 means defined+function_exists, and so on ... + </para> + </listitem> </itemizedlist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/cli.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/php/php-compatinfo/cli.xml diff -u peardoc/en/package/php/php-compatinfo/cli.xml:1.8 peardoc/en/package/php/php-compatinfo/cli.xml:1.9 --- peardoc/en/package/php/php-compatinfo/cli.xml:1.8 Fri Mar 7 15:02:35 2008 +++ peardoc/en/package/php/php-compatinfo/cli.xml Sat Apr 12 13:34:26 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.php.php-compatinfo.cli"> <refnamediv> <refname>CLI</refname> @@ -83,24 +83,38 @@ See first line of the console table. If there are more than one line, next ones are details for each file of a directory/branch. <screen> -+-----------------------------+---------+-------------+-----------------------+ -| Path | Version | Extensions | Constants/Tokens | -+-----------------------------+---------+-------------+-----------------------+ -| * | 4.3.0 | bcmath | __FILE__ | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ -| math.php | 3.0.9 | bcmath | | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ -| errorHandler.php | 4.3.0 | | | -+-----------------------------+---------+-------------+-----------------------+ ++-----------------------------+---------+---+------------+--------------------+ +| Path | Version | C | Extensions | Constants/Tokens | ++-----------------------------+---------+---+------------+--------------------+ +| ...amp\tmp\HTML_CSS-1.5.1\* | 5.0.0 | 5 | pcre | __FILE__ | +| | | | date | ...CTORY_SEPARATOR | +| | | | | PHP_EOL | +| | | | | public | +| | | | | protected | ++-----------------------------+---------+---+------------+--------------------+ +| ...p\HTML_CSS-1.5.1\CSS.php | 5.0.0 | 1 | pcre | | +| | | | date | | ++-----------------------------+---------+---+------------+--------------------+ +| ...1.5.1\tests\AllTests.php | 5.0.0 | 4 | | __FILE__ | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...L_CSS_TestSuite_Bugs.php | 5.0.0 | 4 | | protected | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...S_TestSuite_Standard.php | 5.0.0 | 4 | | __FILE__ | +| | | | | ...CTORY_SEPARATOR | +| | | | | protected | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...xamples\CSS_Advanced.php | 3.0.0 | 0 | | | ++-----------------------------+---------+---+------------+--------------------+ </screen> </para> <para> - In level 1, pci give results of level 0 plus a resume of command line arguments. + In level 1, pci give results of level 0 with a summary of command line arguments. For example <synopsis> -pci -v 1 -d \wamp\www\pci +pci -v 1 -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> @@ -109,31 +123,31 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ -| dir | \wamp\www\pci | | verbose | 1 | +| dir | C:\wamp\tmp\HTML_CSS-1.5.1 | +-------------------------+---------------------------------------------------+ </screen> </para> <para> - In level 2, pci give results of level 0 plus the list of options + In level 2, pci give results of level 0 with the list of options used to parse file or directory. For example <synopsis> -pci -d \wamp\www\pci -v 2 +pci -v 2 -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> Parser options : -+--------+-------+ -| Option | Value | -+--------+-------+ -| | | -+--------+-------+ ++-------------------------+---------------------------------------------------+ +| Option | Value | ++-------------------------+---------------------------------------------------+ +| debug | FALSE | ++-------------------------+---------------------------------------------------+ </screen> <note> <simpara> - Even when none option are used, the resume table is displayed. + Even when none option are used, the summary table is displayed. </simpara> </note> </para> @@ -141,7 +155,7 @@ In level 3, pci give results of level 0, 1 and 2. For example <synopsis> -pci -d \wamp\www\pci -n -v 3 +pci -v 3 -n -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> @@ -150,9 +164,9 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ -| dir | \wamp\www\pci | -| no-recurse | 1 | | verbose | 3 | +| no-recurse | 1 | +| dir | C:\wamp\tmp\HTML_CSS-1.5.1 | +-------------------------+---------------------------------------------------+ Parser options : @@ -160,34 +174,44 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ +| debug | FALSE | | recurse_dir | FALSE | +-------------------------+---------------------------------------------------+ </screen> </para> <para> In level 4, useless when using <parameter>--dir</parameter>, pci - give results of level 0 plus a list of functions implemented with their versions. + give results of level 0 with a list of functions implemented and their versions. For example <synopsis> -pci -f \wamp\www\pci\math.php -v4 +pci -v 4 -f C:\wamp\tmp\HTML_CSS-1.5.1\CSS.php </synopsis> give : <screen> -+-----------------------------+---------+-------------+-----------------------+ -| File | Version | Extensions | Constants/Tokens | -+-----------------------------+---------+-------------+-----------------------+ -| \wamp\www\pci\math.php | 3.0.9 | bcmath | | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ ++-----------------------------+---------+---+------------+--------------------+ +| File | Version | C | Extensions | Constants/Tokens | ++-----------------------------+---------+---+------------+--------------------+ +| ...p\HTML_CSS-1.5.1\CSS.php | 5.0.0 | 1 | pcre | | +| | | | date | | ++-----------------------------+---------+---+------------+--------------------+ Debug: -+---------+------------+------------+ -| Version | Function | Extension | -+---------+------------+------------+ -| 3.0.9 | preg_match | ext_pcre | -| 3.0.0 | bcsub | ext_bcmath | -+---------+------------+------------+ ++---------+----------------------+-----------+------+ +| Version | Function | Extension | PECL | ++---------+----------------------+-----------+------+ +| 4.0.0 | define | | no | +| 4.0.0 | is_array | | no | +| 4.0.0 | strtolower | | no | +| 4.0.0 | substr | | no | +... (more lines not displayed here) ... +| 4.0.0 | func_get_args | | no | +| 4.0.4 | call_user_func_array | | no | +| 4.0.6 | is_callable | | no | +| 4.0.7 | version_compare | | no | +| 4.3.0 | debug_backtrace | | no | +| 5.0.0 | file_put_contents | | no | ++---------+----------------------+-----------+------+ </screen> </para> <para> @@ -351,23 +375,47 @@ </term> <listitem> <para> - Print either an xml or cli (default) report + Print either an xml or text report (default). </para> <para> For example: <synopsis> -pci -r xml -f C:\wamp\php\PEAR\PHP\CodeSniffer.php +pci -r xml -f C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php </synopsis> - give these results + give these results (when package XML_Beautifier is available) <screen> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> -<file name="C:\wamp\php\PEAR\PHP\CodeSniffer.php"> -<version>5.1.2</version> -<extension count="5">spl, pcre, date, xml, tokenizer</extension> -<token count="3">throw, protected, public</token> -<constant count="3">__FILE__, PHP_EOL, DIRECTORY_SEPARATOR</constant> -</file> +<pci version="1.7.0"> + <files count="1"> + <file name="C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php"> + <version>5.1.2</version> + <conditions level="0" /> + <extensions count="5"> + <extension>spl</extension> + <extension>pcre</extension> + <extension>date</extension> + <extension>xml</extension> + <extension>tokenizer</extension> + </extensions> + <constants count="3"> + <constant>__FILE__</constant> + <constant>PHP_EOL</constant> + <constant>DIRECTORY_SEPARATOR</constant> + </constants> + <tokens count="3"> + <token>throw</token> + <token>protected</token> + <token>public</token> + </tokens> + <ignored> + <functions count="0" /> + <extensions count="0" /> + <constants count="0" /> + </ignored> + </file> + </files> +</pci> ]]> </screen> And with little debug option ( -v4 ) @@ -378,52 +426,78 @@ <screen> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> -<file name="C:\wamp\php\PEAR\PHP\CodeSniffer.php"> -<version>5.1.2</version> -<extension count="5">spl, pcre, date, xml, tokenizer</extension> -<token count="3">throw, protected, public</token> -<constant count="3">__FILE__, PHP_EOL, DIRECTORY_SEPARATOR</constant> -<function extension="spl" pecl="false" version="5.1.2">spl_autoload_register</function> -<function version="5.0.2">interface_exists</function> -<function version="5.0.0">file_put_contents</function> -<function extension="tokenizer" pecl="false" version="4.2.0">token_name</function> -<function version="4.2.0">var_export</function> -<function version="4.0.4">constant</function> -<function version="4.0.2">wordwrap</function> -<function version="4.0.0">class_exists</function> -<function version="4.0.0">define</function> -<function version="4.0.0">chdir</function> -<function version="4.0.0">dirname</function> -<function version="4.0.0">substr</function> -<function version="4.0.0">str_replace</function> -<function version="4.0.0">is_file</function> -<function version="4.0.0">is_array</function> -<function version="4.0.0">is_string</function> -<function version="4.0.0">is_dir</function> -<function version="4.0.0">basename</function> -<function version="4.0.0">realpath</function> -<function version="4.0.0">count</function> -<function version="4.0.0">strtolower</function> -<function version="4.0.0">strrpos</function> -<function version="4.0.0">in_array</function> -<function version="4.0.0">explode</function> -<function version="4.0.0">array_pop</function> -<function version="4.0.0">array_merge</function> -<function version="4.0.0">file_exists</function> -<function version="4.0.0">strtr</function> -<function extension="pcre" pecl="false" version="4.0.0">preg_match</function> -<function extension="date" pecl="false" version="4.0.0">time</function> -<function version="4.0.0">ksort</function> -<function version="4.0.0">htmlspecialchars</function> -<function extension="xml" pecl="false" version="4.0.0">utf8_encode</function> -<function version="4.0.0">strlen</function> -<function version="4.0.0">str_repeat</function> -<function version="4.0.0">ord</function> -<function version="4.0.0">strtoupper</function> -<function version="4.0.0">strpos</function> -<function version="4.0.0">rtrim</function> -<function version="4.0.0">is_writable</function> -</file> +<pci version="1.7.0"> + <files count="1"> + <file name="C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php"> + <version>5.1.2</version> + <conditions count="0" level="0" /> + <extensions count="5"> + <extension>spl</extension> + <extension>pcre</extension> + <extension>date</extension> + <extension>xml</extension> + <extension>tokenizer</extension> + </extensions> + <constants count="3"> + <constant>__FILE__</constant> + <constant>PHP_EOL</constant> + <constant>DIRECTORY_SEPARATOR</constant> + </constants> + <tokens count="3"> + <token>throw</token> + <token>protected</token> + <token>public</token> + </tokens> + <ignored> + <functions count="0" /> + <extensions count="0" /> + <constants count="0" /> + </ignored> + <functions count="40"> + <function version="4.0.0">class_exists</function> + <function version="4.0.0">define</function> + <function version="4.0.0">chdir</function> + <function version="4.0.0">dirname</function> + <function version="4.0.0">substr</function> + <function version="4.0.0">str_replace</function> + <function version="4.0.0">is_file</function> + <function version="4.0.0">is_array</function> + <function version="4.0.0">is_string</function> + <function version="4.0.0">is_dir</function> + <function version="4.0.0">basename</function> + <function version="4.0.0">realpath</function> + <function version="4.0.0">count</function> + <function version="4.0.0">strtolower</function> + <function version="4.0.0">strrpos</function> + <function version="4.0.0">in_array</function> + <function version="4.0.0">explode</function> + <function version="4.0.0">array_pop</function> + <function version="4.0.0">array_merge</function> + <function version="4.0.0">file_exists</function> + <function version="4.0.0">strtr</function> + <function extension="pcre" pecl="false" version="4.0.0">preg_match</function> + <function extension="date" pecl="false" version="4.0.0">time</function> + <function version="4.0.0">ksort</function> + <function version="4.0.0">htmlspecialchars</function> + <function extension="xml" pecl="false" version="4.0.0">utf8_encode</function> + <function version="4.0.0">strlen</function> + <function version="4.0.0">str_repeat</function> + <function version="4.0.0">ord</function> + <function version="4.0.0">strtoupper</function> + <function version="4.0.0">strpos</function> + <function version="4.0.0">rtrim</function> + <function version="4.0.0">is_writable</function> + <function version="4.0.2">wordwrap</function> + <function version="4.0.4">constant</function> + <function extension="tokenizer" pecl="false" version="4.2.0">token_name</function> + <function version="4.2.0">var_export</function> + <function version="5.0.0">file_put_contents</function> + <function version="5.0.2">interface_exists</function> + <function extension="spl" pecl="false" version="5.1.2">spl_autoload_register</function> + </functions> + </file> + </files> +</pci> ]]> </screen> </para>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/api.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/api.xml diff -u peardoc/en/package/php/php-compatinfo/api.xml:1.5 peardoc/en/package/php/php-compatinfo/api.xml:1.6 --- peardoc/en/package/php/php-compatinfo/api.xml:1.5 Mon Mar 10 15:55:56 2008 +++ peardoc/en/package/php/php-compatinfo/api.xml Sat Apr 12 13:34:26 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.php.php-compatinfo.api"> <refnamediv> <refname>API</refname> @@ -99,6 +99,17 @@ PHP5 tokens (public, final, abstract, etc ...) </para> </listitem> + <listitem> + <para> + <emphasis role="bold">cond_code</emphasis>, + A level (and details) of warning about conditional code found + during parsing source code: + from 0=none, 1=function_exists, 2=extension_loaded, 4=defined + </para> + <para> + Its binary value, so 5 means defined+function_exists, and so on ... + </para> + </listitem> </itemizedlist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/cli.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/php/php-compatinfo/cli.xml diff -u peardoc/en/package/php/php-compatinfo/cli.xml:1.8 peardoc/en/package/php/php-compatinfo/cli.xml:1.9 --- peardoc/en/package/php/php-compatinfo/cli.xml:1.8 Fri Mar 7 15:02:35 2008 +++ peardoc/en/package/php/php-compatinfo/cli.xml Sat Apr 12 13:34:26 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.php.php-compatinfo.cli"> <refnamediv> <refname>CLI</refname> @@ -83,24 +83,38 @@ See first line of the console table. If there are more than one line, next ones are details for each file of a directory/branch. <screen> -+-----------------------------+---------+-------------+-----------------------+ -| Path | Version | Extensions | Constants/Tokens | -+-----------------------------+---------+-------------+-----------------------+ -| * | 4.3.0 | bcmath | __FILE__ | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ -| math.php | 3.0.9 | bcmath | | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ -| errorHandler.php | 4.3.0 | | | -+-----------------------------+---------+-------------+-----------------------+ ++-----------------------------+---------+---+------------+--------------------+ +| Path | Version | C | Extensions | Constants/Tokens | ++-----------------------------+---------+---+------------+--------------------+ +| ...amp\tmp\HTML_CSS-1.5.1\* | 5.0.0 | 5 | pcre | __FILE__ | +| | | | date | ...CTORY_SEPARATOR | +| | | | | PHP_EOL | +| | | | | public | +| | | | | protected | ++-----------------------------+---------+---+------------+--------------------+ +| ...p\HTML_CSS-1.5.1\CSS.php | 5.0.0 | 1 | pcre | | +| | | | date | | ++-----------------------------+---------+---+------------+--------------------+ +| ...1.5.1\tests\AllTests.php | 5.0.0 | 4 | | __FILE__ | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...L_CSS_TestSuite_Bugs.php | 5.0.0 | 4 | | protected | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...S_TestSuite_Standard.php | 5.0.0 | 4 | | __FILE__ | +| | | | | ...CTORY_SEPARATOR | +| | | | | protected | +| | | | | public | ++-----------------------------+---------+---+------------+--------------------+ +| ...xamples\CSS_Advanced.php | 3.0.0 | 0 | | | ++-----------------------------+---------+---+------------+--------------------+ </screen> </para> <para> - In level 1, pci give results of level 0 plus a resume of command line arguments. + In level 1, pci give results of level 0 with a summary of command line arguments. For example <synopsis> -pci -v 1 -d \wamp\www\pci +pci -v 1 -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> @@ -109,31 +123,31 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ -| dir | \wamp\www\pci | | verbose | 1 | +| dir | C:\wamp\tmp\HTML_CSS-1.5.1 | +-------------------------+---------------------------------------------------+ </screen> </para> <para> - In level 2, pci give results of level 0 plus the list of options + In level 2, pci give results of level 0 with the list of options used to parse file or directory. For example <synopsis> -pci -d \wamp\www\pci -v 2 +pci -v 2 -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> Parser options : -+--------+-------+ -| Option | Value | -+--------+-------+ -| | | -+--------+-------+ ++-------------------------+---------------------------------------------------+ +| Option | Value | ++-------------------------+---------------------------------------------------+ +| debug | FALSE | ++-------------------------+---------------------------------------------------+ </screen> <note> <simpara> - Even when none option are used, the resume table is displayed. + Even when none option are used, the summary table is displayed. </simpara> </note> </para> @@ -141,7 +155,7 @@ In level 3, pci give results of level 0, 1 and 2. For example <synopsis> -pci -d \wamp\www\pci -n -v 3 +pci -v 3 -n -d C:\wamp\tmp\HTML_CSS-1.5.1 </synopsis> give table of level 0 (see previous), plus : <screen> @@ -150,9 +164,9 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ -| dir | \wamp\www\pci | -| no-recurse | 1 | | verbose | 3 | +| no-recurse | 1 | +| dir | C:\wamp\tmp\HTML_CSS-1.5.1 | +-------------------------+---------------------------------------------------+ Parser options : @@ -160,34 +174,44 @@ +-------------------------+---------------------------------------------------+ | Option | Value | +-------------------------+---------------------------------------------------+ +| debug | FALSE | | recurse_dir | FALSE | +-------------------------+---------------------------------------------------+ </screen> </para> <para> In level 4, useless when using <parameter>--dir</parameter>, pci - give results of level 0 plus a list of functions implemented with their versions. + give results of level 0 with a list of functions implemented and their versions. For example <synopsis> -pci -f \wamp\www\pci\math.php -v4 +pci -v 4 -f C:\wamp\tmp\HTML_CSS-1.5.1\CSS.php </synopsis> give : <screen> -+-----------------------------+---------+-------------+-----------------------+ -| File | Version | Extensions | Constants/Tokens | -+-----------------------------+---------+-------------+-----------------------+ -| \wamp\www\pci\math.php | 3.0.9 | bcmath | | -| | | pcre | | -+-----------------------------+---------+-------------+-----------------------+ ++-----------------------------+---------+---+------------+--------------------+ +| File | Version | C | Extensions | Constants/Tokens | ++-----------------------------+---------+---+------------+--------------------+ +| ...p\HTML_CSS-1.5.1\CSS.php | 5.0.0 | 1 | pcre | | +| | | | date | | ++-----------------------------+---------+---+------------+--------------------+ Debug: -+---------+------------+------------+ -| Version | Function | Extension | -+---------+------------+------------+ -| 3.0.9 | preg_match | ext_pcre | -| 3.0.0 | bcsub | ext_bcmath | -+---------+------------+------------+ ++---------+----------------------+-----------+------+ +| Version | Function | Extension | PECL | ++---------+----------------------+-----------+------+ +| 4.0.0 | define | | no | +| 4.0.0 | is_array | | no | +| 4.0.0 | strtolower | | no | +| 4.0.0 | substr | | no | +... (more lines not displayed here) ... +| 4.0.0 | func_get_args | | no | +| 4.0.4 | call_user_func_array | | no | +| 4.0.6 | is_callable | | no | +| 4.0.7 | version_compare | | no | +| 4.3.0 | debug_backtrace | | no | +| 5.0.0 | file_put_contents | | no | ++---------+----------------------+-----------+------+ </screen> </para> <para> @@ -351,23 +375,47 @@ </term> <listitem> <para> - Print either an xml or cli (default) report + Print either an xml or text report (default). </para> <para> For example: <synopsis> -pci -r xml -f C:\wamp\php\PEAR\PHP\CodeSniffer.php +pci -r xml -f C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php </synopsis> - give these results + give these results (when package XML_Beautifier is available) <screen> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> -<file name="C:\wamp\php\PEAR\PHP\CodeSniffer.php"> -<version>5.1.2</version> -<extension count="5">spl, pcre, date, xml, tokenizer</extension> -<token count="3">throw, protected, public</token> -<constant count="3">__FILE__, PHP_EOL, DIRECTORY_SEPARATOR</constant> -</file> +<pci version="1.7.0"> + <files count="1"> + <file name="C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php"> + <version>5.1.2</version> + <conditions level="0" /> + <extensions count="5"> + <extension>spl</extension> + <extension>pcre</extension> + <extension>date</extension> + <extension>xml</extension> + <extension>tokenizer</extension> + </extensions> + <constants count="3"> + <constant>__FILE__</constant> + <constant>PHP_EOL</constant> + <constant>DIRECTORY_SEPARATOR</constant> + </constants> + <tokens count="3"> + <token>throw</token> + <token>protected</token> + <token>public</token> + </tokens> + <ignored> + <functions count="0" /> + <extensions count="0" /> + <constants count="0" /> + </ignored> + </file> + </files> +</pci> ]]> </screen> And with little debug option ( -v4 ) @@ -378,52 +426,78 @@ <screen> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> -<file name="C:\wamp\php\PEAR\PHP\CodeSniffer.php"> -<version>5.1.2</version> -<extension count="5">spl, pcre, date, xml, tokenizer</extension> -<token count="3">throw, protected, public</token> -<constant count="3">__FILE__, PHP_EOL, DIRECTORY_SEPARATOR</constant> -<function extension="spl" pecl="false" version="5.1.2">spl_autoload_register</function> -<function version="5.0.2">interface_exists</function> -<function version="5.0.0">file_put_contents</function> -<function extension="tokenizer" pecl="false" version="4.2.0">token_name</function> -<function version="4.2.0">var_export</function> -<function version="4.0.4">constant</function> -<function version="4.0.2">wordwrap</function> -<function version="4.0.0">class_exists</function> -<function version="4.0.0">define</function> -<function version="4.0.0">chdir</function> -<function version="4.0.0">dirname</function> -<function version="4.0.0">substr</function> -<function version="4.0.0">str_replace</function> -<function version="4.0.0">is_file</function> -<function version="4.0.0">is_array</function> -<function version="4.0.0">is_string</function> -<function version="4.0.0">is_dir</function> -<function version="4.0.0">basename</function> -<function version="4.0.0">realpath</function> -<function version="4.0.0">count</function> -<function version="4.0.0">strtolower</function> -<function version="4.0.0">strrpos</function> -<function version="4.0.0">in_array</function> -<function version="4.0.0">explode</function> -<function version="4.0.0">array_pop</function> -<function version="4.0.0">array_merge</function> -<function version="4.0.0">file_exists</function> -<function version="4.0.0">strtr</function> -<function extension="pcre" pecl="false" version="4.0.0">preg_match</function> -<function extension="date" pecl="false" version="4.0.0">time</function> -<function version="4.0.0">ksort</function> -<function version="4.0.0">htmlspecialchars</function> -<function extension="xml" pecl="false" version="4.0.0">utf8_encode</function> -<function version="4.0.0">strlen</function> -<function version="4.0.0">str_repeat</function> -<function version="4.0.0">ord</function> -<function version="4.0.0">strtoupper</function> -<function version="4.0.0">strpos</function> -<function version="4.0.0">rtrim</function> -<function version="4.0.0">is_writable</function> -</file> +<pci version="1.7.0"> + <files count="1"> + <file name="C:\wamp\tmp\PHP_CodeSniffer-1.0.1\CodeSniffer.php"> + <version>5.1.2</version> + <conditions count="0" level="0" /> + <extensions count="5"> + <extension>spl</extension> + <extension>pcre</extension> + <extension>date</extension> + <extension>xml</extension> + <extension>tokenizer</extension> + </extensions> + <constants count="3"> + <constant>__FILE__</constant> + <constant>PHP_EOL</constant> + <constant>DIRECTORY_SEPARATOR</constant> + </constants> + <tokens count="3"> + <token>throw</token> + <token>protected</token> + <token>public</token> + </tokens> + <ignored> + <functions count="0" /> + <extensions count="0" /> + <constants count="0" /> + </ignored> + <functions count="40"> + <function version="4.0.0">class_exists</function> + <function version="4.0.0">define</function> + <function version="4.0.0">chdir</function> + <function version="4.0.0">dirname</function> + <function version="4.0.0">substr</function> + <function version="4.0.0">str_replace</function> + <function version="4.0.0">is_file</function> + <function version="4.0.0">is_array</function> + <function version="4.0.0">is_string</function> + <function version="4.0.0">is_dir</function> + <function version="4.0.0">basename</function> + <function version="4.0.0">realpath</function> + <function version="4.0.0">count</function> + <function version="4.0.0">strtolower</function> + <function version="4.0.0">strrpos</function> + <function version="4.0.0">in_array</function> + <function version="4.0.0">explode</function> + <function version="4.0.0">array_pop</function> + <function version="4.0.0">array_merge</function> + <function version="4.0.0">file_exists</function> + <function version="4.0.0">strtr</function> + <function extension="pcre" pecl="false" version="4.0.0">preg_match</function> + <function extension="date" pecl="false" version="4.0.0">time</function> + <function version="4.0.0">ksort</function> + <function version="4.0.0">htmlspecialchars</function> + <function extension="xml" pecl="false" version="4.0.0">utf8_encode</function> + <function version="4.0.0">strlen</function> + <function version="4.0.0">str_repeat</function> + <function version="4.0.0">ord</function> + <function version="4.0.0">strtoupper</function> + <function version="4.0.0">strpos</function> + <function version="4.0.0">rtrim</function> + <function version="4.0.0">is_writable</function> + <function version="4.0.2">wordwrap</function> + <function version="4.0.4">constant</function> + <function extension="tokenizer" pecl="false" version="4.2.0">token_name</function> + <function version="4.2.0">var_export</function> + <function version="5.0.0">file_put_contents</function> + <function version="5.0.2">interface_exists</function> + <function extension="spl" pecl="false" version="5.1.2">spl_autoload_register</function> + </functions> + </file> + </files> +</pci> ]]> </screen> </para>