Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.0-ALPHA7
Description: 

Comment module constants COMMENT_NOT_PUBLISHED & COMMENT_PUBLISHED used to indicate a published state of the comment entity has been located in comment.module.
To clean up and get it under the responsible class, they was renamed and moved to Drupal\comment\CommentInterface.

Drupal 7 and 8 before the change:

  // Unpublish comment. 
  $comment = $this->commentStorage->load($cid);
  $comment->status->value = COMMENT_NOT_PUBLISHED;
  $comment->save();

Drupal 8 after:

  use Drupal\comment\CommentInterface;
  // Unpublish comment. 
  $comment = $this->commentStorage->load($cid);
  $comment->status->value = CommentInterface::NOT_PUBLISHED;
  $comment->save();
Impacts: 
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
Details: 
Progress: