Skip to content

Commit 5c030dd

Browse files
committed
sync upgrade file for Symfony 4.0 between branches
1 parent 012c56b commit 5c030dd

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

UPGRADE-4.0.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ DependencyInjection
146146
<service id="Doctrine\Common\Annotations\Reader" alias="annotations.reader" public="false" />
147147
```
148148

149-
* Service identifiers are now case sensitive.
149+
* Service identifiers and parameter names are now case sensitive.
150150

151151
* The `Reference` and `Alias` classes do not make service identifiers lowercase anymore.
152152

@@ -391,6 +391,9 @@ FrameworkBundle
391391
fully-qualified class name of your Kernel or override the `KernelTestCase::createKernel()`
392392
or `KernelTestCase::getKernelClass()` method instead.
393393

394+
* The methods `KernelTestCase::getPhpUnitXmlDir()` and `KernelTestCase::getPhpUnitCliConfigArgument()`
395+
have been removed.
396+
394397
* The `Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory` class has been removed.
395398
Use `Symfony\Component\Validator\ContainerConstraintValidatorFactory` instead.
396399

@@ -541,6 +544,8 @@ Process
541544
* Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is
542545
not supported anymore.
543546

547+
* The `getEnhanceWindowsCompatibility()` and `setEnhanceWindowsCompatibility()` methods of the `Process` class have been removed.
548+
544549
ProxyManager
545550
------------
546551

@@ -557,6 +562,8 @@ Security
557562
* The `AccessDecisionManager::setVoters()` method has been removed. Pass the
558563
voters to the constructor instead.
559564

565+
* Support for defining voters that don't implement the `VoterInterface` has been removed.
566+
560567
SecurityBundle
561568
--------------
562569

@@ -683,6 +690,21 @@ Validator
683690
}
684691
```
685692

693+
* Setting the `checkDNS` option of the `Url` constraint to `true` is dropped
694+
in favor of `Url::CHECK_DNS_TYPE_*` constants values.
695+
696+
Before:
697+
698+
```php
699+
$constraint = new Url(['checkDNS' => true]);
700+
```
701+
702+
After:
703+
704+
```php
705+
$constraint = new Url(['checkDNS' => Url::CHECK_DNS_TYPE_ANY]);
706+
```
707+
686708
VarDumper
687709
---------
688710

@@ -716,6 +738,12 @@ VarDumper
716738
VarDumperTestTrait::assertDumpMatchesFormat($dump, $data, $filter = 0, $message = '');
717739
```
718740

741+
WebProfilerBundle
742+
-----------------
743+
744+
* Removed the `getTemplates()` method of the `TemplateManager` class in favor
745+
of the `getNames()` method
746+
719747
Workflow
720748
--------
721749

0 commit comments

Comments
 (0)