Replacement iPhone will have warranty of the greater of90 days
or the remainder of your original warranty.
How do you know replacement iPhone has no warranty?
What seller in what country replaced the iPhone?
What does it say when you enter the serial number of the
replacement iPhone at these links?