CompatInfo 4.3.0 has just been released.

Add support of PHP 5.6.10, PHP 5.5.26 and PHP 5.4.42

News:

  • DB structure has evolved to implement deprecated elements. See commits 7b5e1d4 and 296cb33

  • reference:show command display now when (first version) an element is deprecated.

  • Filter feature (see how to build your own filter) may be used to retrieve easily all deprecated elements in any report.

    E.g: content of YourFilters.php file
    <?php
    $closure = function ($data) {
        foreach ($data as $title => &$values) {
            foreach ($values as $key => $val) {
                switch ($title) {
                    default:
                        if (empty($val['deprecated'])) {
                            unset($values[$key]);
                        }
                }
            }
        }
        return $data;
    };
    
    return $closure;
    

Bugs fixed :

  • none

Download :

Published by Laurent Laville on 2015-06-16

A new Migration Analyser is in development

15 days ago, I’ve opened an RFC about a new architecture based on Sniffs like PHP_CodeSniffer, but working with AST built by PHP-Parser.

The most interresting feedback came from monque lead of PHP-Migration's project.

Today I’ve added a fix that solved the issue referenced by monque about native Trait analysis.

Unless someone found another technical issues now, I’m waiting Users feedback to know what you’re expecting as features to the new Migration Analyser.

If you want to have such analyser, one day, don’t hesitate to contribute to the RFC Rewrites analysers with Sniffs (ALA PHPCS)

Published by Laurent Laville on 2015-06-04