I guess the parent poster is talking about refugees/asylum seekers and similar conditions rather than qualified immigrants such as students and professional workers, which might be the main source of foreigners in Poland, unlike Germany.
PS: I don't mean that these restrictions are bad, maybe they are needed. I mean that often it seems that anti immigration ire is directed on the ones can be found the easiest, legal migrants who can be sent home with a flick of the pen, without getting from the comfy chair.