From 35597cffdb0c65cd4bf79a1f4a3b5c47f602840c Mon Sep 17 00:00:00 2001 From: Dmitry Khaperets Date: Tue, 17 Oct 2017 03:26:40 +0300 Subject: [PATCH 1/5] [Refactoring] Updated Code Style --- .travis.yml | 39 +++++++------------ Command/Command.php | 4 +- Command/Daemon/StartCommand.php | 6 +-- Command/Daemon/StopCommand.php | 4 +- Command/DispatchCommand.php | 2 - Command/QueueProcess.php | 2 - DependencyInjection/Configuration.php | 2 - DependencyInjection/EventQueueExtension.php | 2 - Event.php | 2 - EventInterface.php | 1 - LICENSE | 2 +- README.md | 10 ++--- Service/Dispatcher.php | 2 - Service/DispatcherInterface.php | 3 -- .../EventInterfaceImplementationException.php | 2 - .../Exception/InvalidEventNameException.php | 2 - SymfonyBundlesEventQueueBundle.php | 4 +- Tests/Command/Daemon/StartCommandTest.php | 16 ++++---- Tests/Command/Daemon/StopCommandTest.php | 4 +- Tests/Command/DispatchCommandTest.php | 6 +-- Tests/Command/QueueProcessTest.php | 4 +- Tests/ConsoleTestCase.php | 4 +- .../DependencyInjection/ConfigurationTest.php | 8 ++-- .../EventQueueExtensionTest.php | 8 ++-- Tests/Fixtures/app/AppKernel.php | 2 - Tests/Kernel.php | 2 - Tests/Service/DispatcherTest.php | 2 - Tests/Service/Event/ExampleEvent.php | 2 - Tests/Service/Event/InvalidEventName.php | 2 - .../Service/Event/InvalidEventParentClass.php | 1 - Tests/TestCase.php | 2 - phpunit.xml.dist | 1 - 32 files changed, 41 insertions(+), 112 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3754334..f88103c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,23 @@ language: php - sudo: false -cache: - directories: - - $HOME/.composer/cache - php: - 5.6 - 7.0 - - hhvm - - nightly + - 7.1 + - 7.2 + +env: + - SYMFONY_VERSION=2.7.* + - SYMFONY_VERSION=2.8.* + - SYMFONY_VERSION=3.0.* + - SYMFONY_VERSION=3.1.* + - SYMFONY_VERSION=3.2.* + - SYMFONY_VERSION=3.3.* + +cache: + directories: + - $HOME/.composer/cache services: - redis-server @@ -27,21 +34,3 @@ install: script: - phpunit - -matrix: - fast_finish: true - include: - - php: 5.6 - env: SYMFONY_VERSION=2.7.* - - php: 5.6 - env: SYMFONY_VERSION=2.8.* - - php: 5.6 - env: SYMFONY_VERSION=3.0.* - - php: 7.0 - env: SYMFONY_VERSION=3.0.* - allow_failures: - - php: hhvm - - php: nightly - -notifications: - email: false diff --git a/Command/Command.php b/Command/Command.php index b714513..2b8b17d 100644 --- a/Command/Command.php +++ b/Command/Command.php @@ -8,7 +8,6 @@ abstract class Command extends ContainerAwareCommand { - /** * @var QueueProcess */ @@ -23,12 +22,11 @@ protected function initialize(InputInterface $input, OutputInterface $output) $path = $this->getContainer()->getParameter('sb_event_queue.storage_path'); - $this->process = new QueueProcess; + $this->process = new QueueProcess(); $this->process->setPath($path); if ($input->hasOption('name')) { $this->process->setQueueName($input->getOption('name')); } } - } diff --git a/Command/Daemon/StartCommand.php b/Command/Daemon/StartCommand.php index 6b438b0..db0e361 100644 --- a/Command/Daemon/StartCommand.php +++ b/Command/Daemon/StartCommand.php @@ -2,15 +2,14 @@ namespace SymfonyBundles\EventQueueBundle\Command\Daemon; -use SymfonyBundles\EventQueueBundle\Command\Command; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; +use SymfonyBundles\EventQueueBundle\Command\Command; use Symfony\Component\Console\Output\OutputInterface; class StartCommand extends Command { - /** * {@inheritdoc} */ @@ -37,7 +36,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->process->save(); while ($this->process->has()) { - $iterations--; + --$iterations; $dispatcher->run($dispatcherInput, $output); @@ -48,5 +47,4 @@ protected function execute(InputInterface $input, OutputInterface $output) } } } - } diff --git a/Command/Daemon/StopCommand.php b/Command/Daemon/StopCommand.php index 12d829e..6a60362 100644 --- a/Command/Daemon/StopCommand.php +++ b/Command/Daemon/StopCommand.php @@ -2,14 +2,13 @@ namespace SymfonyBundles\EventQueueBundle\Command\Daemon; -use SymfonyBundles\EventQueueBundle\Command\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; +use SymfonyBundles\EventQueueBundle\Command\Command; use Symfony\Component\Console\Output\OutputInterface; class StopCommand extends Command { - /** * {@inheritdoc} */ @@ -28,5 +27,4 @@ protected function execute(InputInterface $input, OutputInterface $output) { $this->process->kill(); } - } diff --git a/Command/DispatchCommand.php b/Command/DispatchCommand.php index e8d9d25..c631730 100644 --- a/Command/DispatchCommand.php +++ b/Command/DispatchCommand.php @@ -8,7 +8,6 @@ class DispatchCommand extends Command { - /** * {@inheritdoc} */ @@ -36,5 +35,4 @@ protected function execute(InputInterface $input, OutputInterface $output) $dispatcher->dispatch(); } } - } diff --git a/Command/QueueProcess.php b/Command/QueueProcess.php index fa4892f..7206ca1 100644 --- a/Command/QueueProcess.php +++ b/Command/QueueProcess.php @@ -4,7 +4,6 @@ class QueueProcess { - /** * @var string */ @@ -74,5 +73,4 @@ public function kill() { return $this->delete(); } - } diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 1a4bbba..0775728 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -9,7 +9,6 @@ class Configuration implements ConfigurationInterface { - /** * {@inheritdoc} */ @@ -69,5 +68,4 @@ private function addClassSection(ArrayNodeDefinition $node) ->end() ->end(); } - } diff --git a/DependencyInjection/EventQueueExtension.php b/DependencyInjection/EventQueueExtension.php index b97cfb0..91af268 100644 --- a/DependencyInjection/EventQueueExtension.php +++ b/DependencyInjection/EventQueueExtension.php @@ -9,7 +9,6 @@ class EventQueueExtension extends ConfigurableExtension { - /** * {@inheritdoc} */ @@ -39,5 +38,4 @@ public function getAlias() { return 'sb_event_queue'; } - } diff --git a/Event.php b/Event.php index 7357915..19f0a24 100644 --- a/Event.php +++ b/Event.php @@ -6,7 +6,6 @@ abstract class Event extends BaseEvent implements EventInterface { - /** * @var string */ @@ -19,5 +18,4 @@ public function getName() { return static::NAME; } - } diff --git a/EventInterface.php b/EventInterface.php index 3cec078..6d01b09 100644 --- a/EventInterface.php +++ b/EventInterface.php @@ -4,7 +4,6 @@ interface EventInterface { - /** * Returns whether further event listeners should be triggered. * diff --git a/LICENSE b/LICENSE index 48a4e16..5c8be9a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Symfony Bundles (Dmitry Khaperets) +Copyright (c) 2016-2017 Symfony Bundles (Dmitry Khaperets) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3e596a5..8d0332b 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ Defaults configuration: ``` yml sb_event_queue: - service_name: "event_queue" - default_name: "event:default" - storage_path: "%kernel.cache_dir%/event-queue-daemon.%s.pid" + service_name: 'event_queue' + default_name: 'event:default' + storage_path: '%kernel.cache_dir%/event-queue-daemon.%s.pid' ``` * Configure the redis client in your config.yml. Read more about [RedisBundle configuration][redis-bundle-link]. @@ -68,7 +68,6 @@ use SymfonyBundles\EventQueueBundle\Event; class MyEvent extends Event { - const NAME = 'event.example'; private $time; @@ -89,7 +88,6 @@ class MyEvent extends Event { return $this->message; } - } ``` @@ -103,7 +101,6 @@ use AppBundle\Event\MyEvent; class MyListener { - public function onEventExample(MyEvent $event) { $event->getTime(); @@ -111,7 +108,6 @@ class MyListener // and we are doing something... } - } ``` diff --git a/Service/Dispatcher.php b/Service/Dispatcher.php index f6520d4..de794e0 100644 --- a/Service/Dispatcher.php +++ b/Service/Dispatcher.php @@ -8,7 +8,6 @@ class Dispatcher extends Queue implements DispatcherInterface { - /** * @var EventDispatcherInterface */ @@ -55,5 +54,4 @@ public function dispatch() return $this->dispatcher->dispatch($event->getName(), $event); } - } diff --git a/Service/DispatcherInterface.php b/Service/DispatcherInterface.php index c9fb70f..93915d1 100644 --- a/Service/DispatcherInterface.php +++ b/Service/DispatcherInterface.php @@ -4,7 +4,6 @@ interface DispatcherInterface { - /** * Adds an event listener to the queue. * @@ -13,8 +12,6 @@ interface DispatcherInterface * * @throws Exception\InvalidEventNameException * @throws Exception\InvalidEventParentClassException - * - * @return void */ public function on($class, ...$args); diff --git a/Service/Exception/EventInterfaceImplementationException.php b/Service/Exception/EventInterfaceImplementationException.php index 3e49c6d..c67647b 100644 --- a/Service/Exception/EventInterfaceImplementationException.php +++ b/Service/Exception/EventInterfaceImplementationException.php @@ -6,7 +6,6 @@ class EventInterfaceImplementationException extends \InvalidArgumentException { - /** * {@inheritdoc} */ @@ -16,5 +15,4 @@ public function __construct($message, $code = 0, \Exception $previous = null) parent::__construct($message, $code, $previous); } - } diff --git a/Service/Exception/InvalidEventNameException.php b/Service/Exception/InvalidEventNameException.php index 295e1df..ff27ba0 100644 --- a/Service/Exception/InvalidEventNameException.php +++ b/Service/Exception/InvalidEventNameException.php @@ -4,7 +4,6 @@ class InvalidEventNameException extends \InvalidArgumentException { - /** * {@inheritdoc} */ @@ -14,5 +13,4 @@ public function __construct($message, $code = 0, \Exception $previous = null) parent::__construct($message, $code, $previous); } - } diff --git a/SymfonyBundlesEventQueueBundle.php b/SymfonyBundlesEventQueueBundle.php index 5b8aa7f..3977a17 100644 --- a/SymfonyBundlesEventQueueBundle.php +++ b/SymfonyBundlesEventQueueBundle.php @@ -8,7 +8,6 @@ class SymfonyBundlesEventQueueBundle extends Bundle implements BundleDependencyInterface { - use BundleDependency; /** @@ -25,8 +24,7 @@ public function getContainerExtension() public function getBundleDependencies() { return [ - \SymfonyBundles\QueueBundle\SymfonyBundlesQueueBundle::class + \SymfonyBundles\QueueBundle\SymfonyBundlesQueueBundle::class, ]; } - } diff --git a/Tests/Command/Daemon/StartCommandTest.php b/Tests/Command/Daemon/StartCommandTest.php index 7414432..7f2c539 100644 --- a/Tests/Command/Daemon/StartCommandTest.php +++ b/Tests/Command/Daemon/StartCommandTest.php @@ -8,10 +8,9 @@ class StartCommandTest extends ConsoleTestCase { - public function testConfigure() { - $command = new Command\Daemon\StartCommand; + $command = new Command\Daemon\StartCommand(); $this->assertEquals('event:queue:daemon:start', $command->getName()); } @@ -24,21 +23,20 @@ public function testExecute() $this->assertSame(3, $this->dispatcher->count()); - $this->createTester(new Command\DispatchCommand, 'event:queue:dispatch'); + $this->createTester(new Command\DispatchCommand(), 'event:queue:dispatch'); - $start = $this->createTester(new Command\Daemon\StartCommand, 'event:queue:daemon:start'); + $start = $this->createTester(new Command\Daemon\StartCommand(), 'event:queue:daemon:start'); $start->execute([ - '--name' => 'unit-test', - '--delay' => 0, - '--iterations' => 1 + '--name' => 'unit-test', + '--delay' => 0, + '--iterations' => 1, ]); $this->assertSame(0, $this->dispatcher->count()); - $stop = $this->createTester(new Command\Daemon\StopCommand, 'event:queue:daemon:stop'); + $stop = $this->createTester(new Command\Daemon\StopCommand(), 'event:queue:daemon:stop'); $stop->execute(['--name' => 'unit-test']); } - } diff --git a/Tests/Command/Daemon/StopCommandTest.php b/Tests/Command/Daemon/StopCommandTest.php index 059a860..d6b84a8 100644 --- a/Tests/Command/Daemon/StopCommandTest.php +++ b/Tests/Command/Daemon/StopCommandTest.php @@ -7,12 +7,10 @@ class StopCommandTest extends ConsoleTestCase { - public function testConfigure() { - $command = new StopCommand; + $command = new StopCommand(); $this->assertEquals('event:queue:daemon:stop', $command->getName()); } - } diff --git a/Tests/Command/DispatchCommandTest.php b/Tests/Command/DispatchCommandTest.php index c5cee06..46bea89 100644 --- a/Tests/Command/DispatchCommandTest.php +++ b/Tests/Command/DispatchCommandTest.php @@ -8,10 +8,9 @@ class DispatchCommandTest extends ConsoleTestCase { - public function testConfigure() { - $command = new DispatchCommand; + $command = new DispatchCommand(); $this->assertSame('event:queue:dispatch', $command->getName()); } @@ -24,11 +23,10 @@ public function testExecute() $this->assertSame(3, $this->dispatcher->count()); - $tester = $this->createTester(new DispatchCommand, 'event:queue:dispatch'); + $tester = $this->createTester(new DispatchCommand(), 'event:queue:dispatch'); $tester->execute(['--name' => 'unit-test']); $this->assertSame(0, $this->dispatcher->count()); } - } diff --git a/Tests/Command/QueueProcessTest.php b/Tests/Command/QueueProcessTest.php index 4caf5b0..6369f5b 100644 --- a/Tests/Command/QueueProcessTest.php +++ b/Tests/Command/QueueProcessTest.php @@ -7,7 +7,6 @@ class QueueProcessTest extends ConsoleTestCase { - public function testExecute() { $process = $this->getProcess(); @@ -22,7 +21,7 @@ public function testExecute() private function getProcess() { - $process = new QueueProcess; + $process = new QueueProcess(); $path = $this->container->getParameter('sb_event_queue.storage_path'); $process->setPath($path); @@ -30,5 +29,4 @@ private function getProcess() return $process; } - } diff --git a/Tests/ConsoleTestCase.php b/Tests/ConsoleTestCase.php index 247a8f0..8989e88 100644 --- a/Tests/ConsoleTestCase.php +++ b/Tests/ConsoleTestCase.php @@ -8,7 +8,6 @@ abstract class ConsoleTestCase extends TestCase { - /** * @var Application */ @@ -23,7 +22,7 @@ public function setUp() { parent::setUp(); - $this->app = new Application; + $this->app = new Application(); $this->dispatcher = $this->container->get('sb_event_queue'); @@ -44,5 +43,4 @@ protected function createTester(ContainerAwareInterface $obj, $shortcat) return new CommandTester($command); } - } diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/Tests/DependencyInjection/ConfigurationTest.php index cc3b07b..cab829c 100644 --- a/Tests/DependencyInjection/ConfigurationTest.php +++ b/Tests/DependencyInjection/ConfigurationTest.php @@ -2,18 +2,17 @@ namespace SymfonyBundles\EventQueueBundle\Tests\DependencyInjection; -use SymfonyBundles\EventQueueBundle\Tests\TestCase; use Symfony\Component\Config\Definition\Processor; +use SymfonyBundles\EventQueueBundle\Tests\TestCase; use Symfony\Component\Config\Definition\ConfigurationInterface; use SymfonyBundles\EventQueueBundle\DependencyInjection\Configuration; class ConfigurationTest extends TestCase { - public function testConfiguration() { - $processor = new Processor; - $configuration = new Configuration; + $processor = new Processor(); + $configuration = new Configuration(); $this->assertInstanceOf(ConfigurationInterface::class, $configuration); @@ -21,5 +20,4 @@ public function testConfiguration() $this->assertArraySubset([], $configs); } - } diff --git a/Tests/DependencyInjection/EventQueueExtensionTest.php b/Tests/DependencyInjection/EventQueueExtensionTest.php index f3b8ba5..e4f5897 100644 --- a/Tests/DependencyInjection/EventQueueExtensionTest.php +++ b/Tests/DependencyInjection/EventQueueExtensionTest.php @@ -9,11 +9,10 @@ class EventQueueExtensionTest extends TestCase { - public function testHasServices() { - $container = new ContainerBuilder; - $extension = new EventQueueExtension; + $container = new ContainerBuilder(); + $extension = new EventQueueExtension(); $this->assertInstanceOf(Extension::class, $extension); @@ -24,9 +23,8 @@ public function testHasServices() public function testAlias() { - $extension = new EventQueueExtension; + $extension = new EventQueueExtension(); $this->assertStringEndsWith('event_queue', $extension->getAlias()); } - } diff --git a/Tests/Fixtures/app/AppKernel.php b/Tests/Fixtures/app/AppKernel.php index ed7d887..37d06dc 100644 --- a/Tests/Fixtures/app/AppKernel.php +++ b/Tests/Fixtures/app/AppKernel.php @@ -8,7 +8,6 @@ class AppKernel extends Kernel { - public function __construct($environment, $debug) { parent::__construct($environment, $debug); @@ -45,5 +44,4 @@ public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load($this->getRootDir() . '/config/config_test.yml'); } - } diff --git a/Tests/Kernel.php b/Tests/Kernel.php index 989111f..94e99a6 100644 --- a/Tests/Kernel.php +++ b/Tests/Kernel.php @@ -4,7 +4,6 @@ class Kernel { - /** * @var Fixtures\app\AppKernel */ @@ -23,5 +22,4 @@ public static function make() return static::$instance; } - } diff --git a/Tests/Service/DispatcherTest.php b/Tests/Service/DispatcherTest.php index ad917ec..90d63c8 100644 --- a/Tests/Service/DispatcherTest.php +++ b/Tests/Service/DispatcherTest.php @@ -9,7 +9,6 @@ class DispatcherTest extends TestCase { - /** * @var \SymfonyBundles\EventQueueBundle\Service\DispatcherInterface */ @@ -81,5 +80,4 @@ public function testDispatch() $this->assertSame(0, $this->dispatcher->count()); } - } diff --git a/Tests/Service/Event/ExampleEvent.php b/Tests/Service/Event/ExampleEvent.php index da0ff9b..125f4d3 100644 --- a/Tests/Service/Event/ExampleEvent.php +++ b/Tests/Service/Event/ExampleEvent.php @@ -6,7 +6,6 @@ class ExampleEvent extends Event { - /** * @var string */ @@ -32,5 +31,4 @@ public function getMessage() { return $this->message; } - } diff --git a/Tests/Service/Event/InvalidEventName.php b/Tests/Service/Event/InvalidEventName.php index d949bbf..6494dc5 100644 --- a/Tests/Service/Event/InvalidEventName.php +++ b/Tests/Service/Event/InvalidEventName.php @@ -7,10 +7,8 @@ class InvalidEventName extends Event implements EventInterface { - public function getName() { return 'invalid.event'; } - } diff --git a/Tests/Service/Event/InvalidEventParentClass.php b/Tests/Service/Event/InvalidEventParentClass.php index dd38ad9..fb962a6 100644 --- a/Tests/Service/Event/InvalidEventParentClass.php +++ b/Tests/Service/Event/InvalidEventParentClass.php @@ -4,6 +4,5 @@ class InvalidEventParentClass extends \stdClass { - const NAME = 'test.invalid.parent.class.event'; } diff --git a/Tests/TestCase.php b/Tests/TestCase.php index aa310ec..7b8b210 100644 --- a/Tests/TestCase.php +++ b/Tests/TestCase.php @@ -4,7 +4,6 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase { - /** * @var \Symfony\Component\DependencyInjection\ContainerInterface */ @@ -14,5 +13,4 @@ public function setUp() { $this->container = Kernel::make()->getContainer(); } - } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c409a4b..2440e57 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -20,7 +20,6 @@ ./ - ./Resources ./Tests ./vendor From e565e0bec10d4f96d3afb618760bf233aad777c8 Mon Sep 17 00:00:00 2001 From: Dmitry Khaperets Date: Tue, 17 Oct 2017 03:27:44 +0300 Subject: [PATCH 2/5] [Refactoring] Updated version in composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ddc2fc9..b345c37 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.x-dev" } } } From 2521eff9acd16745b38cd992ed5561e5a5ea471c Mon Sep 17 00:00:00 2001 From: Dmitry Khaperets Date: Tue, 17 Oct 2017 04:08:48 +0300 Subject: [PATCH 3/5] [Tests] Updated Scrutinizer CI configuration --- .scrutinizer.yml | 2 +- composer.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 96f85f6..181f653 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -12,7 +12,7 @@ build: tests: override: - - command: phpunit --coverage-clover ./clover.xml + command: ./vendor/bin/phpunit --coverage-clover ./clover.xml coverage: file: clover.xml format: clover diff --git a/composer.json b/composer.json index b345c37..02ab7d4 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ "symfony-bundles/bundle-dependency": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^5.3" + "phpunit/phpunit": "^5.3", + "phpunit/php-code-coverage": "^3.3.0|^4.0" }, "config": { "platform": { From 5f2485179debe44b45ca4dfdf20e4d3cc06b8acb Mon Sep 17 00:00:00 2001 From: Dmitry Khaperets Date: Tue, 17 Oct 2017 04:12:11 +0300 Subject: [PATCH 4/5] [Tests] Updated composer.json --- composer.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/composer.json b/composer.json index 02ab7d4..5968993 100644 --- a/composer.json +++ b/composer.json @@ -29,11 +29,6 @@ "phpunit/phpunit": "^5.3", "phpunit/php-code-coverage": "^3.3.0|^4.0" }, - "config": { - "platform": { - "php": "5.6" - } - }, "extra": { "branch-alias": { "dev-master": "2.x-dev" From 3f81cf0a9e67bb6bdeed60fe13aaefe63a660fe4 Mon Sep 17 00:00:00 2001 From: Dmitry Khaperets Date: Tue, 17 Oct 2017 04:37:21 +0300 Subject: [PATCH 5/5] [Tests] Updated Travis CI configuration --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f88103c..d144531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,4 +33,4 @@ install: - composer install script: - - phpunit + - ./vendor/bin/phpunit