22) Piwik\Plugins\Test\Columns\UpdaterTest::test_getMigrationQueries_ReturnsCorrectQueries_IfDimensionIsNotInTable PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
we should probably update this soon
I don't think we should fix that in LTS.
getMock was deprecated in PHPUnit 5.4.0. That version of PHPUnit already requires PHP >= 5.6
As the LTS should still support PHP 5.3 we can't use one of the latest PHPUnit versions using composer
👍 moving it to 3.x
I have updated them in a Piwik 3 branch. will be merged later.
just realised that Travis does not use the PHPUnit version that we set in our composer.json but it uses the latest PHPUnit offered by travis. The integration tests are failing now, (see https://travis-ci.org/piwik/piwik/jobs/154281157) - PHPUnit must have broken BC for
Can think of two ways to solve issue: - we backport the tests fixes in LTS as well, - or we could set Travis to use our composer.locked PHPUnit version
or we could set Travis to use our composer.locked PHPUnit version
@tsteur sounds good, done in master