updated phpunit and downgraded apigen to latest available version