Even if the enchanted player doesn't attack with any creatures during combat, they'll still get a postcombat main phase and Shadow of the Second Sun's ability will still trigger.
Shadow of the Second Sun
If multiple phases are added to the same point in your turn, the most recently created phase happens first. For example, say you are enchanted by Shadow of the Second Sun and its ability triggers during your postcombat main phase. Later during that same main phase, another effect gives you an additional combat phase after this main phase. The additional combat will happen first, followed by the additional beginning phase.
The additional beginning phase all happens during the current turn. Any effects that last "until your next turn" or similar won't expire just because they'll go through an additional beginning phase.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Danny Schwartz
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
