Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0
Description: 

Drupal\Core\Datetime\Entity\DateFormat class variables ($id and $label) should not be accessed directly. Functions should be use to access the variable. For the variable $id use the function id(). And for the variable $label use the function label().

Impacts: 
Site builders, administrators, editors
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done