Php 797 deprecate public props