(cherry picked from commit 84258cbc)
(cherry picked from commit 4fa8efa02caf9c40cf94b40a93a8401791a09024)
(cherry picked from commit 55e2442d)
(cherry picked from commit 677116e1)
Issue #2572619 by attiks, andypost, pfrenssen, vprocessor, tatarbj, andriyun, alexpott: Fix 'Drupal.Classes.ClassDeclaration' coding standard
(cherry picked from commit 49e2b0ea)
(cherry picked from commit 56ebb39a)
(cherry picked from commit 05da917b)
(cherry picked from commit 95ed8ce2)
(cherry picked from commit 6347dec5)
(cherry picked from commit e0c2d965)
(cherry picked from commit e46929c5)
(cherry picked from commit 44f8f8f1)
(cherry picked from commit 5c386edc)
Issue #2700335 by er.pushpinderrana, elakiyasamuel, malavya, therealssj, joachim, jhodgdon: hook_entity_update() and friends should document $entity->original (cherry picked from commit 0ceb441a)
(cherry picked from commit 8f2c0537)
(cherry picked from commit 5cd36afb)
(cherry picked from commit 8da13e6c)
(cherry picked from commit 395cb8ba)
(cherry picked from commit b9536062)