PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

PHPUnit 3.5 Upgrading Woes

Note: This article was originally published at Planet PHP on 22 October 2010.
Planet PHP

The issues related to upgrading from a previous version to PHPUnit 3.5 that I mentioned in the release announcement are more serious than I initially thought. Only today did I find the time to really investigate the root cause.

Here is the situation before the upgrade:

root@ubuntu:~# pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable XML_Util 1.2.1 stableroot@ubuntu:~# pear list -c phpunit Installed packages, channel pear.phpunit.de: ============================================ Package Version State PHPUnit 3.4.15 stable

As we can see, we have the latest version of PEAR (1.9.1) installed as well as PHPUnit 3.4.15.

Lets have a look at the installed files:

root@ubuntu:~# tree /usr/share/php/PHPUnit /usr/share/php/PHPUnit a"oa"a" Extensions a"AA a"oa"a" Database a"AA a"AA a"oa"a" AbstractTester.php a"AA a"AA a"oa"a" Constraint a"AA a"AA a"AA a"oa"a" DataSetIsEqual.php a"AA a"AA a"AA a""a"a" TableIsEqual.php a"AA a"AA a"oa"a" DataSet a"AA a"AA a"AA a"oa"a" AbstractDataSet.php a"AA a"AA a"AA a"oa"a" AbstractTableMetaData.php a"AA a"AA a"AA a"oa"a" AbstractTable.php a"AA a"AA a"AA a"oa"a" AbstractXmlDataSet.php a"AA a"AA a"AA a"oa"a" CompositeDataSet.php a"AA a"AA a"AA a"oa"a" CsvDataSet.php a"AA a"AA a"AA a"oa"a" DataSetFilter.php a"AA a"AA a"AA a"oa"a" DefaultDataSet.php a"AA a"AA a"AA a"oa"a" DefaultTableIterator.php a"AA a"AA a"AA a"oa"a" DefaultTableMetaData.php a"AA a"AA a"AA a"oa"a" DefaultTable.php a"AA a"AA a"AA a"oa"a" FlatXmlDataSet.php a"AA a"AA a"AA a"oa"a" IDataSet.php a"AA a"AA a"AA a"oa"a" IPersistable.php a"AA a"AA a"AA a"oa"a" ISpec.php a"AA a"AA a"AA a"oa"a" ITableIterator.php a"AA a"AA a"AA a"oa"a" ITableMetaData.php a"AA a"AA a"AA a"oa"a" ITable.php a"AA a"AA a"AA a"oa"a" Persistors a"AA a"AA a"AA a"AA a"oa"a" Abstract.php a"AA a"AA a"AA a"AA a"oa"a" Factory.php a"AA a"AA a"AA a"AA a"oa"a" FlatXml.php a"AA a"AA a"AA a"AA a"oa"a" Xml.php a"AA a"AA a"AA a"AA a""a"a" Yaml.php a"AA a"AA a"AA a"oa"a" QueryDataSet.php a"AA a"AA a"AA a"oa"a" QueryTable.php a"AA a"AA a"AA a"oa"a" ReplacementDataSet.php a"AA a"AA a"AA a"oa"a" ReplacementTableIterator.php a"AA a"AA a"AA a"oa"a" ReplacementTable.php a"AA a"AA a"AA a"oa"a" Specs a"AA a"AA a"AA a"AA a"oa"a" Csv.php a"AA a"AA a"AA a"AA a"oa"a" DbQuery.php a"AA a"AA a"AA a"AA a"oa"a" DbTable.php a"AA a"AA a"AA a"AA a"oa"a" Factory.php a"AA a"AA a"AA a"AA a"oa"a" FlatXml.php a"AA a"AA a"AA a"AA a"oa"a" IFactory.php a"AA a"AA a"AA a"AA a"oa"a" Xml.php a"AA a"AA a"AA a"AA a""a"a" Yaml.php a"AA a"AA a"AA a"oa"a" TableFilter.php a"AA a"AA a"AA a"oa"a" TableMetaDataFilter.php a"AA a"AA a"AA a"oa"a" XmlDataSet.php a"AA a"AA a"AA a""a"a" YamlDataSet.php a"AA a"AA a"oa"a" DB a"AA a"AA a"AA a"oa"a" DataSet.php a"A

Truncated by Planet PHP, read more at the original (another 55148 bytes)