The illusion must be no larger than 10 feet a side - but can move with the target
The spell description (emphasis mine) requires that the created phantasm must be of a size no larger than 10 feet a side, thus, a corridor cannot look "infinite":
You craft an illusion that takes root in the mind of a creature that you can see within range. The target must make an Intelligence saving throw. On a failed save, you create a phantasmal object, creature, or other visible phenomenon of your choice that is no larger than a 10-foot cube
That aside, you ask Can the illusion "move" with me? This community resoundingly agrees that a phantasmal creature created with Phantasmal Force indeed can move wherever the target goes (assuming the thing created can move). The accepted answer relies on the fact that the spell "targets the creature not an area or point in space" as well as the following Jeremy Crawford tweet (emphasis as in the answer):
Q: Can be the effect of phantasmal force a bag on the target's head which is moving with the target?
A: Yes, assuming the illusory bag can fit in a 10-foot cube.
If we instead consider a moving corridor that is no longer than 10 feet, nothing in the spell description differentiates between a phantasmal object and phantasmal creature.
RAW and RAI, the target should treat the phantasm as if it was a real moving corridor until it might succeed on an Investigation check. That is even despite the target might not have heard about moving corridors before.
That brings forth the question: What would prompt an Intelligence(investigation) check into an illusion? For which the accepted answer (emphasis mine) outlines the two parts of the spell description that makes Phantasmal Force more difficult to reveal as an illusion than most other illusion spells, i.e. enabling that moving corridors and other extremely creative phantasms can be just as effective as more mundane ones (instead, the spell is balanced out by only being able to affect a single creature and requiring a failed Intelligence saving throw before taking place at all - contrary to Minor Illusion, Disguise Self, Silent Image, Major Image etc.):
From the DM to the players, the way they present the illusion is the way it works (mostly, rules of the spell still apply).
This is a special case, mainly because of two particular things:
- While a target is affected by the spell, the target treats the phantasm as if it were real.
- The target rationalizes any illogical outcomes from interacting with the phantasm.
If we consider the initial save roll as failed, there is very little that the affected target can do for itself. Number 1 take care of things like thinking it is to odd for it to exist or to be real. Number 2 is particular problematic, since it make any interaction feel real and in order no matter how illogical the reaction or action was. But, there is a solution to this problem, third parties. Since any third party won't see what the affected creature sees, it is very easy for them to connect the dots and establish that something is very wrong with him. They can yell it's in your head or it's an illusion, they can ask what is wrong and latter say there is nothing there or the like. In that case, the affected target have a reason to suspect that it might not be real and act accordingly.