Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis CI #237

Merged
merged 1 commit into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist: trusty

language: php

sudo: false
Expand Down Expand Up @@ -31,7 +33,7 @@ before_install:
- travis_retry composer self-update && composer --version

install:
- travis_retry composer update $COMPOSER_FLAGS --prefer-source -n
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer update $COMPOSER_FLAGS --prefer-source -n

script: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"latte/latte": "~2.2",
"league/container": "^2.2.0",
"mikey179/vfsStream": "~1.6",
"mockery/mockery": "~0.9",
"mockery/mockery": "^0.9.11 || ^1.3",
"nette/di": "~2.2",
"phpunit/phpunit": "~4.8.36|~5.2",
"pimple/pimple": "~1.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Laravel/SlugifyProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Bridge\Laravel\SlugifyServiceProvider;
use Illuminate\Foundation\Application;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyServiceProviderTest
Expand All @@ -27,7 +27,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class SlugifyProviderTest extends TestCase
class SlugifyProviderTest extends MockeryTestCase
{
/** @var Application */
private $app;
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Latte/SlugifyHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Cocur\Slugify\Bridge\Latte\SlugifyHelper;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyHelperTest
Expand All @@ -16,7 +16,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class SlugifyHelperTest extends TestCase
class SlugifyHelperTest extends MockeryTestCase
{
protected function setUp()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/League/SlugifyServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Cocur\Slugify\SlugifyInterface;
use League\Container\Container;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

class SlugifyServiceProviderTest extends TestCase
class SlugifyServiceProviderTest extends MockeryTestCase
{
public function testProvidesSlugify()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Nette/SlugifyExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Cocur\Slugify\Bridge\Nette\SlugifyExtension;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyExtensionTest
Expand All @@ -16,7 +16,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class SlugifyExtensionTest extends TestCase
class SlugifyExtensionTest extends MockeryTestCase
{
protected function setUp()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Plum/SlugifyConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Bridge\Plum\SlugifyConverter;
use Mockery;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyConverterTest
Expand All @@ -23,7 +23,7 @@
* @copyright 2012-2015 Florian Eckerstorfer
* @group unit
*/
class SlugifyConverterTest extends TestCase
class SlugifyConverterTest extends MockeryTestCase
{
/**
* @test
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Silex/SlugifySilexProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Cocur\Slugify\Bridge\Twig\SlugifyExtension;
use Silex\Application;
use Silex\Provider\TwigServiceProvider;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyServiceProviderTest
Expand All @@ -28,7 +28,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class SlugifySilexProviderTest extends TestCase
class SlugifySilexProviderTest extends MockeryTestCase
{
/**
* @test
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Symfony/CocurSlugifyBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle;
use Cocur\Slugify\Bridge\Symfony\CocurSlugifyExtension;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* CocurSlugifyBundleTest
Expand All @@ -26,7 +26,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class CocurSlugifyBundleTest extends TestCase
class CocurSlugifyBundleTest extends MockeryTestCase
{
/**
* @covers Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::getContainerExtension()
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Symfony/CocurSlugifyExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Bridge\Symfony\CocurSlugifyExtension;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* CocurSlugifyExtensionTest
Expand All @@ -26,7 +26,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class CocurSlugifyExtensionTest extends TestCase
class CocurSlugifyExtensionTest extends MockeryTestCase
{
protected function setUp()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Symfony/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

use Cocur\Slugify\Bridge\Symfony\Configuration;
use Symfony\Component\Config\Definition\Processor;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

class ConfigurationTest extends TestCase
class ConfigurationTest extends MockeryTestCase
{
public function testAll()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/Twig/SlugifyExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Bridge\Twig\SlugifyExtension;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyExtensionTest
Expand All @@ -26,7 +26,7 @@
* @license http://www.opensource.org/licenses/MIT The MIT License
* @group unit
*/
class SlugifyExtensionTest extends TestCase
class SlugifyExtensionTest extends MockeryTestCase
{
/**
* @var \Cocur\Slugify\SlugifyInterface|\Mockery\MockInterface
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/ZF2/ModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
namespace Cocur\Slugify\Tests\Bridge\ZF2;

use Cocur\Slugify\Bridge\ZF2\Module;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* Class ModuleTest
* @package cocur/slugify
* @subpackage bridge
* @license http://www.opensource.org/licenses/MIT The MIT License
*/
class ModuleTest extends TestCase
class ModuleTest extends MockeryTestCase
{
/**
* @var Module
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/ZF2/SlugifyServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
use Cocur\Slugify\Bridge\ZF2\Module;
use Cocur\Slugify\Bridge\ZF2\SlugifyService;
use Zend\ServiceManager\ServiceManager;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* Class SlugifyServiceTest
* @package cocur/slugify
* @subpackage bridge
* @license http://www.opensource.org/licenses/MIT The MIT License
*/
class SlugifyServiceTest extends TestCase
class SlugifyServiceTest extends MockeryTestCase
{
/**
* @var SlugifyService
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/ZF2/SlugifyViewHelperFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use Cocur\Slugify\Slugify;
use Zend\ServiceManager\ServiceManager;
use Zend\View\HelperPluginManager;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* Class SlugifyViewHelperFactoryTest
* @package cocur/slugify
* @subpackage bridge
* @license http://www.opensource.org/licenses/MIT The MIT License
*/
class SlugifyViewHelperFactoryTest extends TestCase
class SlugifyViewHelperFactoryTest extends MockeryTestCase
{
/**
* @var SlugifyViewHelperFactory
Expand Down
4 changes: 2 additions & 2 deletions tests/Bridge/ZF2/SlugifyViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

use Cocur\Slugify\Bridge\ZF2\SlugifyViewHelper;
use Cocur\Slugify\Slugify;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* Class SlugifyViewHelperTest
* @package cocur/slugify
* @subpackage bridge
* @license http://www.opensource.org/licenses/MIT The MIT License
*/
class SlugifyViewHelperTest extends TestCase
class SlugifyViewHelperTest extends MockeryTestCase
{
/**
* @var SlugifyViewHelper
Expand Down
4 changes: 2 additions & 2 deletions tests/RuleProvider/FileRuleProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\RuleProvider\FileRuleProvider;
use org\bovigo\vfs\vfsStream;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* FileRuleProviderTest
Expand All @@ -23,7 +23,7 @@
* @copyright 2015 Florian Eckerstorfer
* @group unit
*/
class FileRuleProviderTest extends TestCase
class FileRuleProviderTest extends MockeryTestCase
{
/**
* @test
Expand Down
4 changes: 2 additions & 2 deletions tests/SlugifyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Cocur\Slugify\Slugify;
use Mockery;
use PHPUnit\Framework\TestCase;
use Mockery\Adapter\Phpunit\MockeryTestCase;

/**
* SlugifyTest
Expand All @@ -26,7 +26,7 @@
* @copyright 2012-2014 Florian Eckerstorfer
* @license http://www.opensource.org/licenses/MIT The MIT License
*/
class SlugifyTest extends TestCase
class SlugifyTest extends MockeryTestCase
{
/**
* @var Slugify
Expand Down