With the Giants riding a four-game losing streak, Madison Bumgarner allowed just one hit in seven innings and reached base three times in a 5-0 win over the Phillies.