How to avoid use "// Rest of the code" when edit code?

I asked to rewrtie a php class with 200 lines, to replace class by dependencies injection.
the replace is ok, but the rewrite, instead to maintain code, replace it with the “// Rest of the code” shortener.
some suggestion to add it into the prompt?
I tried adding “avoid to short output” and similar, but no works

If the AI says ‘// Rest of the code’ or something similar, it means that the rest of the code doesn’t need any changes. You can leave the rest of your code as it is. I assume this occurred in the chat sidebar, right? This shouldn’t happen during an Inline Edit.