ATLANTA — Kyle Kendrick allowed only three hits in seven scoreless innings, Carlos Ruiz homered and drove in two runs, and the Philadelphia Phillies shut out the struggling Atlanta Braves 4-0 on Tuesday night.

One day after Cole Hamels and three relievers threw the first combined no-hitter in Phillies history, Kendrick (8-11) and relievers Ken Giles and Antonio Bastardo were dominant in the three-hit shutout.

The Braves, who began the night 11/2 games behind the NL wild-card leaders, have lost three of four. With two straight shutout losses, they haven’t scored in 24 consecutive innings. Their only run in their last 36 innings was a homer by Evan Gattis in a 1-0 win over the Marlins on Sunday.

Jason Heyward had two doubles. Atlanta’s only other hit was a third-inning single by Andrelton Simmons.

Bastardo struck out the side in the ninth.

Kendrick, who began the night with a 4.97 ERA, had four strikeouts and two walks while winning his third straight start. It was his first start without allowing a run since throwing 6.2 scoreless innings in a 9-0 win over Colorado on May 26.

Ruiz led off the fifth with line-drive homer into the left-field seats off Mike Minor (6-9). Darrin Ruf’s run-scoring single in the sixth drove in Ben Revere for a 2-0 lead. Ruiz doubled in a run in the eighth.

Phillies third baseman Mikael Franco was 0-for-3 with a RBI in his much-anticipated major league debut.

Minor allowed three runs on seven hits in 7.2 innings.

Mets 8, Marlins 6: In Miami, David Wright broke out of his offensive woes with three hits and three RBIs and powered the New York Mets to a win over Miami.

Juan Lagares reached base five times, including a career-high four hits, stole two bases, scored three runs, and drove in two for the Mets, who pounded out 16 hits — two shy of their season high. New York had 18 against Atlanta on July 8.

Marlins slugger Giancarlo Stanton hit his 35th home run and second in two games against the Mets. He drove in two runs to give him 101 RBIs.

American League

Blue Jays 8, Rays 2: In St. Petersburg, Fla., Jose Reyes hit a three-run homer, R.A. Dickey gave up two hits in seven innings and Toronto beat Tampa Bay.

Reyes’ ninth home run broke a 2-all in the fourth inning and sent the Blue Jays to their third win in a row.

Danny Valencia also homered off Rays starter Jeremy Hellickson (1-3). Pinch-hitter Dioner Navarro added a two-run shot off Cesar Ramos in the eighth.

Jose Bautista’s streak of homering in five straight games ended, but he had two singles and an RBI for Toronto.

Dickey (11-12) gave up two runs, struck out six and walked three.