The City of Phoenix says it is not violating a state law barring local governments from blocking the enforcement of federal immigration law, as a Republican state lawmaker insists.