Add notes in UPGRADE and CHANGELOG

This commit is contained in:
Jordi Boggiano 2013-04-25 12:51:56 +02:00
parent 77c97913c8
commit 5327ec44e6
2 changed files with 20 additions and 0 deletions

View File

@ -184,3 +184,22 @@ DomCrawler
return $crawler->text();
});
```
Console
-------
* New verbosity levels have been added, therefore if you used to do check
the output verbosity level directly for VERBOSITY_VERBOSE you probably
want to update it to a greater than comparison:
Before:
```
if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) { ... }
```
After:
```
if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { ... }
```

View File

@ -10,6 +10,7 @@ CHANGELOG
* added a way to normalize EOLs in `ApplicationTester::getDisplay()` and `CommandTester::getDisplay()`
* added a way to set the progress bar progress via the `setCurrent` method
* added support for multiple InputOption shortcuts, written as `'-a|-b|-c'`
* added two additional verbosity levels, VERBOSITY_VERY_VERBOSE and VERBOSITY_DEBUG
2.2.0
-----