The Israeli military says Gaza militants have launched two rockets into Israel, violating an informal cease-fire.

The military says Friday's rockets hit near a communal farm and the town of Sderot. No one was injured.

Israel ended its punishing Gaza offensive on Jan. 18, and Hamas declared a cease-fire the same day. But sporadic violence has continued as Egyptian mediators try to hammer out a long-term arrangement between the sides. The military says more than 40 rockets have been launched since the offensive's end.

Egypt's MENA news agency reported Thursday that the deputy leader of Hamas says the Islamic militant group has agreed to an 18-month truce with Israel.

Moussa Abu Marzouk said the deal calls for Israel to reopen its border crossings into Gaza. Israeli officials refused to comment.