Skip to content

Commit 3bac3fb

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update console.rst [lock] Be more specific about flock releasing locks
2 parents f6f15e7 + f4577d1 commit 3bac3fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/lock.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ FlockStore
233233

234234
The FlockStore uses the file system on the local computer to create the locks.
235235
It does not support expiration, but the lock is automatically released when the
236-
PHP process is terminated::
236+
lock object goes out of scope and is freed by the garbage collector (for example
237+
when the PHP process ends)::
237238

238239
use Symfony\Component\Lock\Store\FlockStore;
239240

console.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ Whenever an exception is thrown while running commands, Symfony adds a log
386386
message for it including the entire failing command. In addition, Symfony
387387
registers an :doc:`event subscriber </event_dispatcher>` to listen to the
388388
:ref:`ConsoleEvents::TERMINATE event <console-events-terminate>` and adds a log
389-
message whenever a command doesn't finish with the ``0`` exit status.
389+
message whenever a command doesn't finish with the ``0`` `exit status`_.
390390

391391
Learn More
392392
----------
@@ -404,5 +404,7 @@ tools capable of helping you with different tasks:
404404
* :doc:`/components/console/helpers/formatterhelper`: customize the output colorization
405405
* :doc:`/components/console/helpers/progressbar`: shows a progress bar
406406
* :doc:`/components/console/helpers/table`: displays tabular data as a table
407+
* :doc:`/components/console/helpers/debug_formatter`: provides functions to
408+
output debug information when running an external program
407409

408410
.. _`exit status`: https://en.wikipedia.org/wiki/Exit_status

0 commit comments

Comments
 (0)