mirror of
https://github.com/nvbn/thefuck.git
synced 2024-10-05 18:31:10 +01:00
75d2c43997
Unfortunately, I didn't catch these issues while reviewing #702. After looking more closely at `php` options, `-S` requires additional arguments (<address>:<port>) and `-s` may produce output if used that way. So, matching ` -s ` seems to be better. Also, `@for_app('php')` already asserts the presence of `php ` in the command script. Matching `php -s` prevents the rule from fixing commands like `php -t public -s 0.0.0.0:8080`. |
||
---|---|---|
.. | ||
entrypoints | ||
functional | ||
rules | ||
shells | ||
specific | ||
__init__.py | ||
conftest.py | ||
test_argument_parser.py | ||
test_conf.py | ||
test_corrector.py | ||
test_logs.py | ||
test_readme.py | ||
test_types.py | ||
test_ui.py | ||
test_utils.py | ||
utils.py |