Skip to content

Commit

Permalink
Ran php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebb767 committed Mar 26, 2022
1 parent 44d4f30 commit c761a7b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions scripts/php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@license MIT
COMMENT;

$finder = Finder::create();
$finder = new Finder();
foreach ($directories as $directory) {
$finder = $finder->in($directory);
}
Expand Down Expand Up @@ -74,7 +74,6 @@
if ($usePhp7) {
$rules['declare_strict_types'] = true;
$rules['ternary_to_null_coalescing'] = true;
$rules['assign_null_coalescing_to_coalesce_equal'] = false;
}

$cache = \tempnam(\sys_get_temp_dir(), $packageName).'-php_cs.cache';
Expand Down
3 changes: 0 additions & 3 deletions tests/Unit/Cache/Delivery/CacheClearerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@

namespace Contentful\Tests\ContentfulBundle\Unit\Cache\Delivery;

use Cache\Adapter\PHPArray\ArrayCachePool;
use Contentful\ContentfulBundle\Cache\Delivery\CacheClearer;
use Contentful\Delivery\Client;
use Contentful\Tests\ContentfulBundle\TestCase;
use Psr\Cache\CacheItemInterface;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Symfony\Component\Cache\CacheItem;

class CacheClearerTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/DependencyInjection/ClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Contentful\Tests\ContentfulBundle\Unit\DependencyInjection;

use Cache\Adapter\PHPArray\ArrayCachePool;
use Contentful\ContentfulBundle\DependencyInjection\ClientFactory;
use Contentful\Tests\ContentfulBundle\TestCase;
use GuzzleHttp\Client as HttpClient;
Expand Down

0 comments on commit c761a7b

Please sign in to comment.