File tree 16 files changed +19
-19
lines changed
16 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation ;
13
13
14
- use Symfony \Component \HttpFoundation \File \File ;
15
14
use Symfony \Component \HttpFoundation \File \Exception \FileException ;
15
+ use Symfony \Component \HttpFoundation \File \File ;
16
16
17
17
/**
18
18
* BinaryFileResponse represents an HTTP response delivering a file.
Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \HttpFoundation \File \Exception \FileException ;
15
15
use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
- use Symfony \Component \HttpFoundation \File \MimeType \MimeTypeGuesser ;
17
16
use Symfony \Component \HttpFoundation \File \MimeType \ExtensionGuesser ;
17
+ use Symfony \Component \HttpFoundation \File \MimeType \MimeTypeGuesser ;
18
18
19
19
/**
20
20
* A file in the file system.
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \File \MimeType ;
13
13
14
- use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
15
14
use Symfony \Component \HttpFoundation \File \Exception \AccessDeniedException ;
15
+ use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
16
17
17
/**
18
18
* Guesses the mime type with the binary "file" (only available on *nix).
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \File \MimeType ;
13
13
14
- use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
15
14
use Symfony \Component \HttpFoundation \File \Exception \AccessDeniedException ;
15
+ use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
16
17
17
/**
18
18
* Guesses the mime type using the PECL extension FileInfo.
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \File \MimeType ;
13
13
14
- use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
15
14
use Symfony \Component \HttpFoundation \File \Exception \AccessDeniedException ;
15
+ use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
16
17
17
/**
18
18
* A singleton mime type guesser.
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \File \MimeType ;
13
13
14
- use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
15
14
use Symfony \Component \HttpFoundation \File \Exception \AccessDeniedException ;
15
+ use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
16
17
17
/**
18
18
* Guesses the mime type of a file.
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \Session ;
13
13
14
- use Symfony \Component \HttpFoundation \Session \Storage \SessionStorageInterface ;
15
14
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBag ;
16
15
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBagInterface ;
17
16
use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
18
17
use Symfony \Component \HttpFoundation \Session \Flash \FlashBagInterface ;
19
18
use Symfony \Component \HttpFoundation \Session \Storage \NativeSessionStorage ;
19
+ use Symfony \Component \HttpFoundation \Session \Storage \SessionStorageInterface ;
20
20
21
21
/**
22
22
* @author Fabien Potencier <[email protected] >
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \File \MimeType ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \File \MimeType \MimeTypeGuesser ;
16
15
use Symfony \Component \HttpFoundation \File \MimeType \FileBinaryMimeTypeGuesser ;
16
+ use Symfony \Component \HttpFoundation \File \MimeType \MimeTypeGuesser ;
17
17
18
18
/**
19
19
* @requires extension fileinfo
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \RequestMatcher ;
16
15
use Symfony \Component \HttpFoundation \Request ;
16
+ use Symfony \Component \HttpFoundation \RequestMatcher ;
17
17
18
18
class RequestMatcherTest extends TestCase
19
19
{
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \HttpFoundation \Exception \SuspiciousOperationException ;
16
- use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
17
- use Symfony \Component \HttpFoundation \Session \Session ;
18
16
use Symfony \Component \HttpFoundation \Request ;
17
+ use Symfony \Component \HttpFoundation \Session \Session ;
18
+ use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
19
19
20
20
class RequestTest extends TestCase
21
21
{
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \ResponseHeaderBag ;
16
15
use Symfony \Component \HttpFoundation \Cookie ;
16
+ use Symfony \Component \HttpFoundation \ResponseHeaderBag ;
17
17
18
18
/**
19
19
* @group time-sensitive
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \Session ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \Session \Session ;
16
- use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
15
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBag ;
16
+ use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
+ use Symfony \Component \HttpFoundation \Session \Session ;
18
18
use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
19
19
20
20
/**
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \Session \Storage \Handler ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
+ use Symfony \Component \HttpFoundation \Session \Session ;
15
16
use Symfony \Component \HttpFoundation \Session \Storage \Handler \NullSessionHandler ;
16
17
use Symfony \Component \HttpFoundation \Session \Storage \NativeSessionStorage ;
17
- use Symfony \Component \HttpFoundation \Session \Session ;
18
18
19
19
/**
20
20
* Test class for NullSessionHandler.
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \Session \Storage ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
16
15
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBag ;
17
16
use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
+ use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
18
18
19
19
/**
20
20
* Test class for MockArraySessionStorage.
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \Session \Storage ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \Session \Storage \MockFileSessionStorage ;
16
- use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
15
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBag ;
16
+ use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
+ use Symfony \Component \HttpFoundation \Session \Storage \MockFileSessionStorage ;
18
18
19
19
/**
20
20
* Test class for MockFileSessionStorage.
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpFoundation \Tests \Session \Storage ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \HttpFoundation \Session \Storage \PhpBridgeSessionStorage ;
16
15
use Symfony \Component \HttpFoundation \Session \Attribute \AttributeBag ;
16
+ use Symfony \Component \HttpFoundation \Session \Storage \PhpBridgeSessionStorage ;
17
17
18
18
/**
19
19
* Test class for PhpSessionStorage.
You can’t perform that action at this time.
0 commit comments