Christian Flothmann
ed9c94c719
Merge branch '2.7' into 2.8
...
* 2.7:
[Filesystem] Better error handling in remove()
[DependencyInjection] Add coverage for invalid Expression in exportParameters
[DependencyInjection] Add coverage for all invalid arguments in exportParameters
anonymous services are always private
[Console] Correct time formatting.
[DependencyInjection] Resolve aliases before removing abstract services + add tests
Fix Dom Crawler select option with empty value
Remove unnecessary option assignment
remove unused variable
mock the proper method
[PropertyAccess] Fix regression
2016-04-12 20:01:21 +02:00
Cameron Porter
b264b66a90
[Console] Correct time formatting.
2016-04-07 17:12:27 +02:00
Christophe Coevoet
54c553cce7
Merge branch '2.7' into 2.8
...
* 2.7:
Set the redraw frequency at least to 1. Setting it to 0 would otherwise produce an error.
[Process] Unset callback after stop to free memory
Improve error message for undefined DIC aliases
[VarDumper] fixed .sf-dump z-index
[DependencyInjection] Validate class names and factory methods
ampq → amqp
Fix typo
CS: remove unneeded parentheses around control statements
[TwigBridge] Clean deps now that 2.8.0 is tagged
2015-12-05 12:09:21 +01:00
Dominik Ritter
a1c207c7d1
Set the redraw frequency at least to 1. Setting it to 0 would otherwise produce an error.
2015-12-05 12:03:00 +01:00
Nicolas Grekas
303f05baaf
Rely on iconv and symfony/polyfill-*
2015-10-28 03:15:07 +01:00
Nicolas Grekas
c6da10674a
Merge branch '2.3' into 2.7
...
* 2.3:
[travis] Load memcache.so
[2.3] Cherry-pick @group time-sensitive annotations
[ci] load php_memcache.dll and apcu.so
Conflicts:
.travis.yml
src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php
2015-10-12 14:42:24 +02:00
Fabien Potencier
24529f66c7
feature #16194 [PhpUnit] Mock clock on @group time-sensitive annotations (nicolas-grekas)
...
This PR was merged into the 2.8 branch.
Discussion
----------
[PhpUnit] Mock clock on @group time-sensitive annotations
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Instead of spreading the same clock mock code everywhere, let's create a test case that helps mocking the time related functions.
Commits
-------
34a0846
[PhpUnit] Mock clock on @group time-sensitive annotations
2015-10-12 12:31:17 +02:00
Nicolas Grekas
34a08464ce
[PhpUnit] Mock clock on @group time-sensitive annotations
2015-10-12 10:02:31 +02:00
Fabien Potencier
e651da4e6a
[Console] fixed progress bar format on edge cases
2015-10-11 09:41:52 +02:00
Viacheslav Sychov
3cbfa63d05
fix bug with set max count, by start method in progress bar
2015-10-11 09:16:20 +02:00
Nicolas Grekas
b028aeaa04
[tests] Use @requires annotation when possible
2015-10-10 11:00:45 +02:00
Christophe Coevoet
0e5aa0eebf
Ensure the ClockMock is loaded before using it in the testsuite
2015-09-26 13:03:21 +02:00
Nicolas Grekas
945ec0e40c
[Console] Fix transient HHVM test
2015-09-25 10:32:23 +02:00
Nicolas Grekas
f42dd21d49
[Console] ProgressBarTest::testAnsiColorsAndEmojis() requires extension mbstring
2015-08-27 23:38:40 +02:00
Fabien Potencier
c0e4495b66
fixes CS
2015-08-24 09:13:45 +02:00
Martin Hujer
4f0f7ea6ed
[Console] Fix tests on Windows
2015-06-16 17:28:22 +02:00
Kevin Bond
cdee6f6e58
add overwrite flag to allow non-decorated output
2014-09-05 08:08:33 -04:00
Stefano Sala
42b95dfd2b
[Console][ProgressBar] Developer experience:
...
- Removed barCharOriginal
- getProgressPercent should return float instead of int.
- Minor refactoring
2014-08-14 13:37:55 +02:00
Gilles Doge
30116859e6
[Console][ProgressBar] Allow to advance past max.
2014-08-14 13:36:34 +02:00
Stefano Sala
73ca340827
[Console][ProgressBar] Developer experience
...
- Create getProgress/setProgress methods to replace getStep/setCurrent
- ProgressBar::setCurrent should auto-start the ProgressBar.
- You should be able to pass max to start
- getStepWidth is internal information that should not be public
- when verbosity set to quiet, the progress bar does not even need to
execute all the logic to generate output that is then thrown away
2014-08-14 13:32:40 +02:00
Benoît Burnichon
2ac1bb45bc
[Console] Remove estimated field from debug_nomax
2014-07-15 13:44:57 +02:00
Yannick
bbe1045989
[Validator][Console][HttpFoundation] Use "KiB" everywhere (instead of "kB")
2014-05-22 10:54:24 +02:00
Fabien Potencier
0d1a58c469
[Console] made formats even more flexible
2014-03-03 10:38:06 +01:00
Fabien Potencier
8c0022b769
[Console] fixed progress bar when using ANSI colors and Emojis
2014-03-02 10:16:43 +01:00
Fabien Potencier
244d3b81be
[Console] added a way to globally add a progress bar format or modify a built-in one
2014-03-01 17:52:22 +01:00
Fabien Potencier
a9d47ebbf2
[Console] added a way to add a custom message on a progress bar
2014-03-01 10:21:47 +01:00
Fabien Potencier
7a30e50eee
[Console] added support for multiline formats in ProgressBar
2014-03-01 10:21:46 +01:00
Fabien Potencier
2a78a09f1b
[Console] refactored the progress bar to allow placeholder to be extensible
2014-03-01 10:21:46 +01:00
Fabien Potencier
4e76aa3fbc
[Console] added ProgressBar (to replace the stateful ProgressHelper class)
2014-03-01 07:33:14 +01:00