in this case it is better to just add a comment. Comments are more useful than introducing variable names for simple conditions.
`$downAll` does not say much.
This helps much more imo:
```php
if ($limit === 'all') { // no limit is we revert all migrations
```

Your example is also more about avoiding a long one-liner.