How to use "warned" in a sentence

Sentences

'He mustn't get excited,' the doctor warned.

I knew you were angry with me, and I thought, "What can I do to make him love me?" Then I thought, "I can give him Cosette." I wanted to invite her to see you, but the doctor warned me that you would probably get too excited

I warned her

"Don't open that door!" Elliot warned.

Don't succumb to paranoia, he warned himself.

Only authorized vehicles were permitted, the signs warned.

Dr Haydock warned me against that.' Then he looked over at the window

'What if someone telephoned Mr Redding and warned him,' Miss Marple said

All the railway lines north of the Thames had been warned by midnight on Sunday, and trains were being filled

I am sure that our maid had warned them that I was arriving, and they all went away

'Connie, I have warned you about this