Permalink
Browse files

merged branch jaugustin/patch-1 (PR #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
  • Loading branch information...
2 parents ff56c78 + 09e5f46 commit 7e28a06de6124c43125501208b478219e299925f @fabpot fabpot committed May 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 UPGRADE-2.1.md
View
@@ -696,21 +696,25 @@
Before:
+ ```
public function guessMinLength($class, $property)
{
if (/* condition */) {
return new ValueGuess($minLength, Guess::LOW_CONFIDENCE);
}
}
+ ```
After:
+ ```
public function guessPattern($class, $property)
{
if (/* condition */) {
return new ValueGuess('.{' . $minLength . ',}', Guess::LOW_CONFIDENCE);
}
}
+ ```
* Setting the option "property_path" to `false` was deprecated and will be unsupported
as of Symfony 2.3.

0 comments on commit 7e28a06

Please sign in to comment.