In the 2014–15 season, on 6 January 2015, Gudas underwent arthroscopic knee surgery. The Lightning announced that he would be out for the remainder of the regular season.
On 2 March 2015, at the trade deadline Gudas was traded by the Lightning along with a first and third-round selection in the 2015 NHL Entry Draft to the Philadelphia Flyers in exchange for Braydon Coburn.
Gudas was suspended for three games on 2 December 2015, for an illegal check to the head of Mika Zibanejad during a 4–2 win against the Ottawa Senators the night before. He was not assessed a penalty for the hit during the game, though Zibanejad left the game.
In an 8 October 2016, preseason game against the Boston Bruins, Gudas delivered an interfering hit on Austin Czarnik, who left the game and soon underwent concussion protocol. While Gudas was assessed a minor penalty for boarding during the game, upon review of the incident, the NHL Department of Player Safety eventually suspended Gudas for six games, in part because of his previous suspension in 2015.
On 2 December 2015, the league issued Gudas a three-game suspension for a headshot delivered to Ottawa forward Mika Zibanejad a day earlier, noting that an injury was caused and that the targeting of the head was avoidable. On 10 October 2016, Gudas was issued a six-game suspension for an injury-causing hit delivered to the head of Boston Bruins’ forward Austin Czarnik in a pre-season game.