Skip to content

Commit 7e28a06

Browse files
committed
merged branch jaugustin/patch-1 (PR symfony#4410)
Commits ------- 09e5f46 fix markdown for code Discussion ---------- fix markdown for code in UPGRADE-2.1.md --------------------------------------------------------------------------- by travisbot at 2012-05-25T12:20:04Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1432391) (merged 09e5f46 into 023dbf8). --------------------------------------------------------------------------- by jaugustin at 2012-05-25T12:22:13Z great I didn't break anything :D
2 parents ff56c78 + 09e5f46 commit 7e28a06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADE-2.1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,21 +696,25 @@
696696
697697
Before:
698698
699+
```
699700
public function guessMinLength($class, $property)
700701
{
701702
if (/* condition */) {
702703
return new ValueGuess($minLength, Guess::LOW_CONFIDENCE);
703704
}
704705
}
706+
```
705707
706708
After:
707709
710+
```
708711
public function guessPattern($class, $property)
709712
{
710713
if (/* condition */) {
711714
return new ValueGuess('.{' . $minLength . ',}', Guess::LOW_CONFIDENCE);
712715
}
713716
}
717+
```
714718
715719
* Setting the option "property_path" to `false` was deprecated and will be unsupported
716720
as of Symfony 2.3.

0 commit comments

Comments
 (0)