Federal Realty Investment Trust posted second-quarter revenue above market expectations and lifted its full-year forecast for funds from operations per share, citing steady leasing demand and higher rentals for its commercial real estate properties.