CompatInfo 4.0.0-alpha-1+2 has just been released.

This minor release included the ProfilerPlugin that allow to print Time and Memory result with the --profile option.

Environment variables were also changed as follow :

  • BARTLETTRC identify the JSON config file. Default is phpcompatinfo.json

  • BARTLETT_SCAN_DIR pointed a list of directories to scan in search of BARTLETTRC file

Easy to change if default does not match your need. Default are :

  • $HOME/.config:/etc:./ for Linux platform

  • $USERPROFILE/.config;/etc;./ for Windows platform

If BARTLETT_SCAN_DIR is invalid or does not pointed to any valid directory, you cannot access to the json config file (see BARTLETTRC)

Download :

Published by Laurent Laville on 2014-12-23

CompatInfo 4.0.0-alpha-1+1 has just been released.

This minor release, fixed an issue with previous version 4.0.0-alpha1. SQLite reference database was case sensitive. It’s now case insensitive !

E.g: False, or false or FALSE give the same results (Core 4.0.0)

Download :

Published by Laurent Laville on 2014-12-22

CompatInfo 4.0.0-alpha-1 has just been released.

4.0.0-alpha1 is only available in PHAR version. Source code will be published on github project repository with alpha 2 in the beginning of year 2015.

Plugin System is ready, but all plugins developped (Profiler, Log, Cache) were removed. Reason is that there are not yet customizable by an external config file.

There is an issue with Symfony ProgressBar. I’ve opened a report, so don’t assume it comes from Reflect.

News :

  • Ability to provide a file or a directory in command line, without to specify it in phpcompatinfo.json config file.

  • Ability to write CLI result to file or URL (E.g: FTP) with the --output option. Don’t forget the --no-ansi option.

  • A new compatibility analyser that replaced all others.

Performance :

  • Current code won a gain performance in both side (analysis speed and memory consumption).

Changes :

  • The console --verbose option is now really used with its different levels. Try -vvv to get raw response of each command (easy debugging).

  • Replaces Symfony Console TableHelper, by Table helper (Ready for Symfony 3).

  • Replaces Symfony Console ProgressHelper, by ProgressBar helper (Ready for Symfony 3)

  • Uses Symfony Component 2.5 or better.

If you want to contribute to improve the next major version 4.0, have a look on roadmap.

Download :

Published by Laurent Laville on 2014-12-22

CompatInfo 3.7.1 has just been released.

New major version 4.0 is currently under developement. See Roadmap.
New bug-fixes releases may follow, in the term of long support (1 year), but features requests are closed in the branch 3.

News :

  • Support "new" stable PHP versions 5.6.4, 5.5.20 and 5.4.36

Improvement :

  • GH-151 : Avoid to scan all phar contents with reference:* commands

Bugs :

  • GH-150 : Use CompatInfo with the default config file

Download :

Published by Laurent Laville on 2014-12-19

CompatInfo 4.0.0 roadmap.

If you want to contribute to improve the next major version 4.0, have a look on roadmap, I’ve opened today on github project page, and feel free post your comments.

Published by Laurent Laville on 2014-12-17

CompatInfo 4.0.0 with a real cache.

Yesterday, I’ve introduced that development of new major version 4.0 of CompatInfo has started.

Perhaps you should asked how did I’ve improved analysis speed ?

CompatInfo v3 suffered that the cache plugin only wrote AST (Abstract Syntax Tree) results (from PHP-Parser), and always compute again and again, the same data.

Now v4 will store in cache with the AST, each versions (php and extension) computed. Next analysis will never search reference again if source was not modified.

But it’s not enough to gain speed and reduce comsuption memory.

All references will be hosted on a local SQlite3 database. That will also solve issue #135.

More news tomorrow !

Published by Laurent Laville on 2014-12-16

CompatInfo 4.0.0 is currently under development.

Today, I would like to share with all users of CompatInfo, that follows development of the project, a big new !

CompatInfo 4.0.0 should be ready in the second part of January 2015.

This new major version has, at least, two main goals :

  • improve analysis speed

  • reduce consumption of memory

The current dev version (not yet published on my github account) won around 50% of performance (in time and memory usage).

The first alpha release (phar only) should be available next week, just before Christmas :)

Stay tuned, more news about v4 will come tomorrow and next days.

I’ll explain in details what are the major changes, and why I’ve adopted this new API.

Published by Laurent Laville on 2014-12-15

CompatInfo 3.7.0 has just been released.

This is the last version of branch 3. New major version 4.0 is currently under developement.

News :

  • Support new stable PHP versions 5.6.4 and 5.5.20

  • A new analyser that provide output json syntax compatible with Composer. Contribution by Jens Hassler

Bugs :

  • GH-148 : Array short syntax and array dereferencing not detected

Download :

Published by Laurent Laville on 2014-12-11