Problem:
$allOrders = Order::where('date', $date) ->leftJoin('contracts', 'contracts.id', 'contract_id')
Desired indentation:
$allOrders = Order::where('date', $date) ->leftJoin('contracts', 'contracts.id', 'contract_id')
Solution:
set-variable php-mode-lineup-cascaded-calls nil