Skip to content

Commit 5dadd95

Browse files
committed
fix upgrade files
1 parent eb607ae commit 5dadd95

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

UPGRADE-4.2.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,25 +75,6 @@ Form
7575
{% endfor %}
7676
```
7777

78-
Process
79-
-------
80-
81-
* Deprecated the `Process::setCommandline()` and the `PhpProcess::setPhpBinary()` methods.
82-
* Deprecated passing commands as strings when creating a `Process` instance.
83-
84-
Before:
85-
```php
86-
$process = new Process('ls -l');
87-
```
88-
89-
After:
90-
```php
91-
$process = new Process(array('ls', '-l'));
92-
93-
// alternatively, when a shell wrapper is required
94-
$process = Process::fromShellCommandline('ls -l');
95-
```
96-
9778
FrameworkBundle
9879
---------------
9980

@@ -167,6 +148,25 @@ Monolog
167148

168149
* The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()` and `Logger::countErrors()` will have a new `$request` argument in version 5.0, not defining it is deprecated.
169150

151+
Process
152+
-------
153+
154+
* Deprecated the `Process::setCommandline()` and the `PhpProcess::setPhpBinary()` methods.
155+
* Deprecated passing commands as strings when creating a `Process` instance.
156+
157+
Before:
158+
```php
159+
$process = new Process('ls -l');
160+
```
161+
162+
After:
163+
```php
164+
$process = new Process(array('ls', '-l'));
165+
166+
// alternatively, when a shell wrapper is required
167+
$process = Process::fromShellCommandline('ls -l');
168+
```
169+
170170
Security
171171
--------
172172

UPGRADE-5.0.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ EventDispatcher
6464

6565
* The `TraceableEventDispatcherInterface` has been removed.
6666

67-
Form
68-
----
69-
70-
* The `$scale` argument of the `IntegerToLocalizedStringTransformer` was removed.
71-
7267
Finder
7368
------
7469

@@ -78,6 +73,7 @@ Form
7873
----
7974

8075
* The `scale` option was removed from the `IntegerType`.
76+
* The `$scale` argument of the `IntegerToLocalizedStringTransformer` was removed.
8177

8278
FrameworkBundle
8379
---------------

0 commit comments

Comments
 (0)