PHP_CompatInfo 2.0.0RC4 and summary reports feature

From: Date: Sat, 02 Apr 2011 09:13:00 +0000
Subject: PHP_CompatInfo 2.0.0RC4 and summary reports feature
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54204@lists.php.net to get a copy of this message
Hi all, I know that some of you are waiting for summary reports. Wait is over : Future RC4 that will be release officially on April 24 will support it. You can already download on my github account [1] a tarball or zip archive of current content of RC4 that also support 8 new extensions (thanks to contributor Remi Collet). Here are the behaviors of phpci tool (CLI version): I kept old report output group by file. You have to use the verbose level 3 to do it Example. $ phpci -vvv print -R --report extension <sourcePath> New behavior that become the default one. Print summary report group by elements (extension, interface, class, function, constant) Example. $ phpci print -R --report extension <sourcePath> BASE: C:\www\github\php-compat-info\PHP ------------------------------------------------------------------------------- PHP COMPAT INFO EXTENSION SUMMARY -------------------------------------------------------------------------------
  EXTENSION                                        PECL   VERSION    COUNT
-------------------------------------------------------------------------------
  Core                                                    4.0.0     1541
  standard                                                4.0.0      868
  SPL                                                0.2  5.0.0       22
  date                                                    4.0.0        8
  dom                                           20031129  5.0.0        4
  libxml                                                  5.1.0        3
  pcre                                                    4.0.0        5
------------------------------------------------------------------------------- A TOTAL OF 7 EXTENSION(S) WERE FOUND REQUIRED PHP 5.1.0 (MIN) ------------------------------------------------------------------------------- Time: 1 second, Memory: 10.50Mb ------------------------------------------------------------------------------- When you add a new verbose level (1), you get the warning messages For example: $ phpci -v print -R --report extension <sourcePath> Warning messages : (19) Cannot load extension reference 'com_dotnet' Cannot load extension reference 'mcrypt' Cannot load extension reference 'odbc' Cannot load extension reference 'Reflection' Cannot load extension reference 'mysqlnd' Cannot load extension reference 'zip' Cannot load extension reference 'intl' Cannot load extension reference 'ldap' Cannot load extension reference 'exif' Cannot load extension reference 'Phar' Cannot load extension reference 'pdo_mysql' Cannot load extension reference 'pdo_sqlite' Cannot load extension reference 'soap' Cannot load extension reference 'sqlite3' Cannot load extension reference 'tidy' Cannot load extension reference 'xmlrpc' Cannot load extension reference 'mhash' Found conditional code 'class_exists' Found conditional code 'method_exists' And if you add a new verbose level (2) you get file list where elements are used $ phpci -vv print -R --report extension <sourcePath> BASE: C:\www\github\php-compat-info\PHP ------------------------------------------------------------------------------- PHP COMPAT INFO EXTENSION SUMMARY -------------------------------------------------------------------------------
  EXTENSION                                        PECL   VERSION    COUNT
-------------------------------------------------------------------------------
  Core                                                    4.0.0     1541
    \CompatInfo\Autoload.php
    \CompatInfo\Cache\File.php
    \CompatInfo\Cache\Null.php
    \CompatInfo\Cache.php
    \CompatInfo\CLI.php
... MORE ....
  SPL                                                0.2  5.0.0       22
    \CompatInfo\Autoload.php
    \CompatInfo\Cache\File.php
    \CompatInfo\Cache.php
    \CompatInfo\CLI.php
    \CompatInfo\Exception.php
    \CompatInfo\Listener\File.php
    \CompatInfo\Listener\Growl.php
    \CompatInfo\Report\Database.php
    \CompatInfo.php
  date                                                    4.0.0        8
    \CompatInfo\Cache\File.php
    \CompatInfo\Listener\File.php
    \CompatInfo\Report\Xml.php
    \CompatInfo.php
  dom                                           20031129  5.0.0        4
    \CompatInfo\Configuration.php
  libxml                                                  5.1.0        3
    \CompatInfo\Configuration.php
  pcre                                                    4.0.0        5
    \CompatInfo.php
------------------------------------------------------------------------------- A TOTAL OF 7 EXTENSION(S) WERE FOUND REQUIRED PHP 5.1.0 (MIN) ------------------------------------------------------------------------------- Time: 1 second, Memory: 8.75Mb ------------------------------------------------------------------------------- This new feature is available for all elements : extension, interface, class, function, constant. Enjoy ! Laurent Laville [1] https://github.com/llaville

« previous php.pear.dev (#54204) next »