1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00
Pablo Santiago Blum de Aguiar 75d2c43997 #702: fix minor issues with php_s rule
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`.
2017-10-15 17:18:21 -02:00
..
2015-04-25 03:13:57 +02:00
2017-09-03 10:10:50 +02:00
2015-09-08 15:24:49 +03:00
2017-08-26 06:16:51 +02:00
2017-10-10 08:31:45 +02:00