8000 minor #24092 sync upgrade file for Symfony 4.0 between branches (xabbuh) · symfony/symfony@1a24a10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a24a10

Browse files
committed
minor #24092 sync upgrade file for Symfony 4.0 between branches (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- sync upgrade file for Symfony 4.0 between branches | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 5c030dd sync upgrade file for Symfony 4.0 between branches
2 parents d87858e + 5c030dd commit 1a24a10

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

@@ -575,6 +578,8 @@ Process
575578
* Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is
576579
not supported anymore.
577580

581+
* The `getEnhanceWindowsCompatibility()` and `setEnhanceWindowsCompatibility()` methods of the `Process` class have been removed.
582+
578583
ProxyManager
579584
------------
580585

@@ -591,6 +596,8 @@ Security
591596
* The `AccessDecisionManager::setVoters()` method has been removed. Pass the
592597
voters to the constructor instead.
593598

599+
* Support for defining voters that don't implement the `VoterInterface` has been removed.
600+
594601
SecurityBundle
595602
--------------
596603

@@ -725,6 +732,21 @@ Validator
725732
}
726733
```
727734

735+
* Setting the `checkDNS` option of the `Url` constraint to `true` is dropped
736+
in favor of `Url::CHECK_DNS_TYPE_*` constants values.
737+
738+
Before:
739+
740+
```php
741+
$constraint = new Url(['checkDNS' => true]);
742+
```
743+
744+
After:
745+
746+
```php
747+
$constraint = new Url(['checkDNS' => Url::CHECK_DNS_TYPE_ANY]);
748+
```
749+
728750
VarDumper
729751
---------
730752

@@ -758,6 +780,12 @@ VarDumper
758780
VarDumperTestTrait::assertDumpMatchesFormat($dump, $data, $filter = 0, $message = '');
759781
```
760782

783+
WebProfilerBundle
784+
-----------------
785+
786+
* Removed the `getTemplates()` method of the `TemplateManager` class in favor
787+
of the `getNames()` method
788+
761789
Workflow
762790
--------
763791

0 commit comments

Comments
 (0)
0