8000 Merge branch '4.0' into 4.1 · symfony/cache@0c8e5dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c8e5dd

Browse files
Merge branch '4.0' into 4.1
* 4.0: Alpha-ordering for "use" statements
2 parents fa2c663 + 004e28a commit 0c8e5dd

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Simple/AbstractCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
use Psr\SimpleCache\CacheInterface;
1616
use Symfony\Component\Cache\CacheItem;
1717
use Symfony\Component\Cache\Exception\InvalidArgumentException;
18-
use Symfony\Component\Cache\Traits\AbstractTrait;
1918
use Symfony\Component\Cache\ResettableInterface;
19+
use Symfony\Component\Cache\Traits\AbstractTrait;
2020

2121
/**
2222
* @author Nicolas Grekas <p@tchwork.com>

Simple/PhpArrayCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use Psr\SimpleCache\CacheInterface;
1515
use Symfony\Component\Cache\Exception\InvalidArgumentException;
16-
use Symfony\Component\Cache\Traits\PhpArrayTrait;
1716
use Symfony\Component\Cache\PruneableInterface;
1817
use Symfony\Component\Cache\ResettableInterface;
18+
use Symfony\Component\Cache\Traits\PhpArrayTrait;
1919

2020
/**
2121
* Caches items at warm up time using a PHP array that is stored in shared memory by OPCache since PHP 7.0.

Simple/Psr6Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Cache\Simple;
1313

14-
use Psr\Cache\CacheItemPoolInterface;
1514
use Psr\Cache\CacheException as Psr6CacheException;
16-
use Psr\SimpleCache\CacheInterface;
15+
use Psr\Cache\CacheItemPoolInterface;
1716
use Psr\SimpleCache\CacheException as SimpleCacheException;
17+
use Psr\SimpleCache\CacheInterface;
1818
use Symfony\Component\Cache\Adapter\AbstractAdapter;
1919
use Symfony\Component\Cache\CacheItem;
2020
use Symfony\Component\Cache\Exception\InvalidArgumentException;

Tests/Adapter/ChainAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Symfony\Component\Cache\Tests\Adapter;
1313

1414
use Symfony\Component\Cache\Adapter\AdapterInterface;
15-
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
1615
use Symfony\Component\Cache\Adapter\ArrayAdapter;
1716
use Symfony\Component\Cache\Adapter\ChainAdapter;
17+
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
1818
use Symfony\Component\Cache\PruneableInterface;
1919
use Symfony\Component\Cache\Tests\Fixtures\ExternalAdapter;
2020

Tests/Adapter/SimpleCacheAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Cache\Tests\Adapter;
1313

14-
use Symfony\Component\Cache\Simple\FilesystemCache;
1514
use Symfony\Component\Cache\Adapter\SimpleCacheAdapter;
15+
use Symfony\Component\Cache\Simple\FilesystemCache;
1616

1717
/**
1818
* @group time-sensitive

Tests/Simple/PhpArrayCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Cache\Tests\Simple;
1313

14-
use Symfony\Component\Cache\Tests\Adapter\FilesystemAdapterTest;
1514
use Symfony\Component\Cache\Simple\NullCache;
1615
use Symfony\Component\Cache\Simple\PhpArrayCache;
16+
use Symfony\Component\Cache\Tests\Adapter\FilesystemAdapterTest;
1717

1818
/**
1919
* @group time-sensitive

Traits/PdoTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Symfony\Component\Cache\Traits;
1313

1414
use Doctrine\DBAL\Connection;
15-
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
1615
use Doctrine\DBAL\DBALException;
16+
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
1717
use Doctrine\DBAL\Schema\Schema;
1818
use Symfony\Component\Cache\Exception\InvalidArgumentException;
1919

Traits/RedisTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Cache\Traits;
1313

14-
use Predis\Connection\Factory;
1514
use Predis\Connection\Aggregate\ClusterInterface;
1615
use Predis\Connection\Aggregate\PredisCluster;
1716
use Predis\Connection\Aggregate\RedisCluster;
17+
use Predis\Connection\Factory;
1818
use Predis\Response\Status;
1919
use Symfony\Component\Cache\Exception\CacheException;
2020
use Symfony\Component\Cache\Exception\InvalidArgumentException;

0 commit comments

Comments
 (0)
0