Commit f62eda5
committed
bug #42091 [Console] Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals (PaolaRuby)
This PR was squashed before being merged into the 5.2 branch.
Discussion
----------
[Console] Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals
| Q | A
| ------------- | ---
| Branch? | 5.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix [#42076](symfony/symfony#42076)
| License | MIT
When a command extends a class wich implements SignalableCommandInterface but the command has empty signals to dispatch, it still can be executed, It can be useful when the extension is not available and the command is necessary.
Also, it can be used like a workaround for support other environments, for example windows servers, they don't have pcntl extension
Commits
-------
ad63d0b553 [Console] Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | | - | |
| 943 | + | |
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
1861 | 1862 | | |
1862 | 1863 | | |
1863 | 1864 | | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1864 | 1877 | | |
1865 | 1878 | | |
1866 | 1879 | | |
| |||
1928 | 1941 | | |
1929 | 1942 | | |
1930 | 1943 | | |
1931 | | - | |
| 1944 | + | |
1932 | 1945 | | |
1933 | 1946 | | |
1934 | 1947 | | |
| |||
0 commit comments