Skip to content

Commit

Permalink
Merge pull request #36 from BedrockStreaming/fix/cs-fixer-config
Browse files Browse the repository at this point in the history
fix: add strict types
  • Loading branch information
valentin-claras committed Apr 29, 2022
2 parents e3a3abf + 478857d commit 1f4014e
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"atoum/atoum": "^4.0",
"m6web/php-cs-fixer-config": "2.0",
"m6web/php-cs-fixer-config": "^2.0",
"symfony/dependency-injection": "^4.4||^5.0||^6.0",
"symfony/event-dispatcher": "^4.4||^5.0||^6.0",
"symfony/config": "^4.4||^5.0||^6.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\DataCollector;

use M6Web\Bundle\ElasticsearchBundle\EventDispatcher\ElasticsearchEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\DependencyInjection;

use Symfony\Component\Config\FileLocator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Elasticsearch\ConnectionPool\Selector;

use Elasticsearch\Common\Exceptions\NoNodesAvailableException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Elasticsearch\ConnectionPool;

use Elasticsearch\Common\Exceptions\NoNodesAvailableException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\EventDispatcher;

use Symfony\Contracts\EventDispatcher\Event;
Expand Down
2 changes: 2 additions & 0 deletions src/M6Web/Bundle/ElasticsearchBundle/Handler/EventHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Handler;

use GuzzleHttp\Ring\Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Handler;

use GuzzleHttp\Ring\Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle;

use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\DependencyInjection;

use atoum\atoum\test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\Elasticsearch;

use Elasticsearch\Connections\Connection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\Elasticsearch\ConnectionPool\Selector;

use atoum\atoum\test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\Elasticsearch\ConnectionPool;

use atoum\atoum\test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\Handler;

use atoum\atoum;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace M6Web\Bundle\ElasticsearchBundle\Tests\Units\Handler;

use atoum\atoum;
Expand Down

0 comments on commit 1f4014e

Please sign in to comment.