f4682c3ab9
This PR was merged into the 4.3-dev branch.
Discussion
----------
[Form] deprecate some options for single_text widgets
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
89ff331865
deprecate some options for single_text widgets
1.7 KiB
1.7 KiB
UPGRADE FROM 4.2 to 4.3
BrowserKit
- Marked
Response
final. - Deprecated
Response::buildHeader()
- Deprecated
Response::getStatus()
, useResponse::getStatusCode()
instead
Cache
- The
psr/simple-cache
dependency has been removed - runcomposer require psr/simple-cache
if you need it. - Deprecated all PSR-16 adapters, use
Psr16Cache
orSymfony\Contracts\Cache\CacheInterface
implementations instead. - Deprecated
SimpleCacheAdapter
, use `Psr16Adapter instead.
Config
- Deprecated using environment variables with
cannotBeEmpty()
if the value is validated withvalidate()
Form
- Using the
date_format
,date_widget
, andtime_widget
options of theDateTimeType
when thewidget
option is set tosingle_text
is deprecated.
FrameworkBundle
- Not passing the project directory to the constructor of the
AssetsInstallCommand
is deprecated. This argument will be mandatory in 5.0. - Deprecated the "Psr\SimpleCache\CacheInterface" / "cache.app.simple" service, use "Symfony\Contracts\Cache\CacheInterface" / "cache.app" instead.
HttpFoundation
- The
MimeTypeGuesserInterface
andExtensionGuesserInterface
interfaces have been deprecated, useSymfony\Component\Mime\MimeTypesInterface
instead. - The
MimeType
andMimeTypeExtensionGuesser
classes have been deprecated, useSymfony\Component\Mime\MimeTypes
instead. - The
FileBinaryMimeTypeGuesser
class has been deprecated, useSymfony\Component\Mime\FileBinaryMimeTypeGuesser
instead. - The
FileinfoMimeTypeGuesser
class has been deprecated, useSymfony\Component\Mime\FileinfoMimeTypeGuesser
instead.