diff --git a/core/lib/Drupal/Component/Gettext/PoHeader.php b/core/lib/Drupal/Component/Gettext/PoHeader.php
index aa8ea201e0b5407cade260aa3d5bf771e403bc5d..ebd366ffb2ba5e98db1c3ca278e38dc67c2ffe40 100644
--- a/core/lib/Drupal/Component/Gettext/PoHeader.php
+++ b/core/lib/Drupal/Component/Gettext/PoHeader.php
@@ -471,10 +471,10 @@ private function tokenizeFormula($formula) {
    *
    * @param array $element_stack
    *   Array of plural formula values and operators create by parseArithmetic().
-   * @param integer $n
+   * @param int $n
    *   The @count number for which we are determining the right plural position.
    *
-   * @return integer
+   * @return int
    *   Number of the plural string to be used for the given plural value.
    *
    * @see parseArithmetic()
diff --git a/core/lib/Drupal/Core/Database/Connection.php b/core/lib/Drupal/Core/Database/Connection.php
index 03335773c409c1f4b6c2e21b1cd05b6f117fba1a..2aa63151ad250b6d9d9f90749d04853d2f4d04e7 100644
--- a/core/lib/Drupal/Core/Database/Connection.php
+++ b/core/lib/Drupal/Core/Database/Connection.php
@@ -90,7 +90,7 @@ abstract class Connection {
   /**
    * An index used to generate unique temporary table names.
    *
-   * @var integer
+   * @var int
    */
   protected $temporaryNameIndex = 0;
 
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
index c59e2e43ea59f473f92b40fd973d29aeee7afb04..d12788f105e0152e748b3a20441f41473ef679b5 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
@@ -39,7 +39,7 @@ class Schema extends DatabaseSchema {
    * Value will usually be set to a 63 chars limit but PostgreSQL allows
    * to higher this value before compiling, so we need to check for that.
    *
-   * @var integer
+   * @var int
    */
   protected $maxIdentifierLength;
 
diff --git a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
index 6dd6e10cff94f28e73a1142a55158cd2022fd30d..603e099d2d0a11698c250ad193b8a9cb52c84010 100644
--- a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
+++ b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
@@ -243,7 +243,7 @@ public static function validateEntityAutocomplete(array &$element, FormStateInte
    *   Whether to trigger a form error if an element from $input (eg. an entity)
    *   is not found.
    *
-   * @return integer|null
+   * @return int|null
    *   Value of a matching entity ID, or NULL if none.
    */
   protected static function matchEntityByTitle($handler, $input, &$element, FormStateInterface $form_state, $strict) {
diff --git a/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php b/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php
index 00590a545fa6eced902dd4271011dfac31bbd2cb..365fa5633e7e00449912bc900308948ed976d20b 100644
--- a/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php
+++ b/core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php
@@ -41,7 +41,7 @@ class EntityReference extends DataReferenceBase {
   /**
    * The entity ID.
    *
-   * @var integer|string
+   * @var int|string
    */
   protected $id;
 
diff --git a/core/lib/Drupal/Core/Template/TwigTransTokenParser.php b/core/lib/Drupal/Core/Template/TwigTransTokenParser.php
index 009cc9c0223292313cf7b7c6885cd73625f5da92..e87bd65bd84ee7a081a5e8f3db2c5853504b3570 100644
--- a/core/lib/Drupal/Core/Template/TwigTransTokenParser.php
+++ b/core/lib/Drupal/Core/Template/TwigTransTokenParser.php
@@ -84,7 +84,7 @@ public function getTag() {
    *
    * @param \Twig_Node $body
    *   The expression to check.
-   * @param integer $lineno
+   * @param int $lineno
    *   The source line.
    *
    * @throws \Twig_Error_Syntax
diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php
index 49a95e04f9cb1cc835d990e22fb7766338a10b8a..a98a0d7e9d6bfb67d18788880a2d798d2e394e45 100644
--- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php
+++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php
@@ -23,7 +23,7 @@ class Timestamp extends IntegerData implements DateTimeInterface {
   /**
    * The data value as a UNIX timestamp.
    *
-   * @var integer
+   * @var int
    */
   protected $value;
 
diff --git a/core/modules/comment/src/Tests/CommentNonNodeTest.php b/core/modules/comment/src/Tests/CommentNonNodeTest.php
index c7f3e71a5ab8e16e8b6ea55c856da38a80862f1a..aa069422836468ab52977dd6f524c4724c6cfdca 100644
--- a/core/modules/comment/src/Tests/CommentNonNodeTest.php
+++ b/core/modules/comment/src/Tests/CommentNonNodeTest.php
@@ -240,7 +240,7 @@ function performCommentOperation($comment, $operation, $approval = FALSE) {
    * @param string $subject
    *   Comment subject to find.
    *
-   * @return integer
+   * @return int
    *   Comment ID.
    */
   function getUnapprovedComment($subject) {
diff --git a/core/modules/comment/src/Tests/CommentTestBase.php b/core/modules/comment/src/Tests/CommentTestBase.php
index 62e43f6a061611218e8519ad6edc66b0238310ed..17eccb9aadd30942a60c4c2035524affa084295c 100644
--- a/core/modules/comment/src/Tests/CommentTestBase.php
+++ b/core/modules/comment/src/Tests/CommentTestBase.php
@@ -288,7 +288,7 @@ public function setCommentForm($enabled, $field_name = 'comment') {
   /**
    * Sets the value governing restrictions on anonymous comments.
    *
-   * @param integer $level
+   * @param int $level
    *   The level of the contact information allowed for anonymous comments:
    *   - 0: No contact information allowed.
    *   - 1: Contact information allowed but not required.
@@ -373,7 +373,7 @@ function performCommentOperation(CommentInterface $comment, $operation, $approva
    * @param string $subject
    *   Comment subject to find.
    *
-   * @return integer
+   * @return int
    *   Comment id.
    */
   function getUnapprovedComment($subject) {
diff --git a/core/modules/contact/src/Tests/Migrate/MigrateContactCategoryTest.php b/core/modules/contact/src/Tests/Migrate/MigrateContactCategoryTest.php
index 4f127a4c9bc0317fb13221c75c977976d9407aa0..aa9df2dcc21e143c3cdfe8674f2485c001184281 100644
--- a/core/modules/contact/src/Tests/Migrate/MigrateContactCategoryTest.php
+++ b/core/modules/contact/src/Tests/Migrate/MigrateContactCategoryTest.php
@@ -37,15 +37,15 @@ protected function setUp() {
    * Performs various assertions on a single contact form entity.
    *
    * @param string $id
-   *  The contact form ID.
+   *   The contact form ID.
    * @param string $expected_label
-   *  The expected label.
+   *   The expected label.
    * @param string[] $expected_recipients
-   *  The recipient e-mail addresses the form should have.
+   *   The recipient e-mail addresses the form should have.
    * @param string $expected_reply
-   *  The expected reply message.
-   * @param integer $expected_weight
-   *  The contact form's expected weight.
+   *   The expected reply message.
+   * @param int $expected_weight
+   *   The contact form's expected weight.
    */
   protected function assertEntity($id, $expected_label, array $expected_recipients, $expected_reply, $expected_weight) {
     /** @var \Drupal\contact\ContactFormInterface $entity */
diff --git a/core/modules/content_translation/src/FieldTranslationSynchronizer.php b/core/modules/content_translation/src/FieldTranslationSynchronizer.php
index b2dbf65469ab3196fbde4e479446c35f092223b5..386f61687447e3f22f38fc0a7b7e829660d4fb5a 100644
--- a/core/modules/content_translation/src/FieldTranslationSynchronizer.php
+++ b/core/modules/content_translation/src/FieldTranslationSynchronizer.php
@@ -187,7 +187,7 @@ public function synchronizeItems(array &$values, array $unchanged_items, $sync_l
    *
    * @param array $items
    *   An array of field items.
-   * @param integer $delta
+   * @param int $delta
    *   The delta identifying the item to be processed.
    * @param array $columns
    *   An array of column names to be synchronized.
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
index 53c5b0ac2f8ac3212afb4a5174763905cd6989d0..31a51820fc307b34426c2be0cafddf91ee5909f1 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
@@ -48,7 +48,7 @@ class ContentTranslationSyncUnitTest extends KernelTestBase {
   /**
    * The field cardinality.
    *
-   * @var integer
+   * @var int
    */
   protected $cardinality;
 
diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
index a57104f4c04c88b7a772cef3d73d6454b81a1c5a..eb9f6404066d48060c8daf64c6b6c5916a1ec971 100644
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php
@@ -36,7 +36,7 @@ class EntityReferenceFileUploadTest extends WebTestBase {
   /**
    * Node id.
    *
-   * @var integer
+   * @var int
    */
   protected $nodeId;
 
diff --git a/core/modules/field/src/Tests/Migrate/d7/MigrateFieldTest.php b/core/modules/field/src/Tests/Migrate/d7/MigrateFieldTest.php
index c846b89b3d050a3f2a4c2fbed1881f59aeb498b7..7daf734800d1c1b1ea734de55ff9d75fe9468dcf 100644
--- a/core/modules/field/src/Tests/Migrate/d7/MigrateFieldTest.php
+++ b/core/modules/field/src/Tests/Migrate/d7/MigrateFieldTest.php
@@ -53,9 +53,9 @@ protected function setUp() {
    *   The entity ID in the form ENTITY_TYPE.FIELD_NAME.
    * @param string $expected_type
    *   The expected field type.
-   * @param boolean $expected_translatable
+   * @param bool $expected_translatable
    *   Whether or not the field is expected to be translatable.
-   * @param integer $expected_cardinality
+   * @param int $expected_cardinality
    *   The expected cardinality of the field.
    */
   protected function assertEntity($id, $expected_type, $expected_translatable, $expected_cardinality) {
diff --git a/core/modules/file/src/Plugin/migrate/destination/EntityFile.php b/core/modules/file/src/Plugin/migrate/destination/EntityFile.php
index 38c3f8716da67d0661ceec7ebd813e9f57035087..89667f117870c19c53ce5d0786477eeaa9b9b9ce 100644
--- a/core/modules/file/src/Plugin/migrate/destination/EntityFile.php
+++ b/core/modules/file/src/Plugin/migrate/destination/EntityFile.php
@@ -145,11 +145,11 @@ public function import(Row $row, array $old_destination_id_values = array()) {
    * Tries to move or copy a file.
    *
    * @param string $source
-   *  The source path or URI.
+   *   The source path or URI.
    * @param string $destination
-   *  The destination path or URI.
-   * @param integer $replace
-   *  FILE_EXISTS_REPLACE (default) or FILE_EXISTS_RENAME.
+   *   The destination path or URI.
+   * @param int $replace
+   *   (optional) FILE_EXISTS_REPLACE (default) or FILE_EXISTS_RENAME.
    *
    * @return bool
    *  TRUE on success, FALSE on failure.
@@ -170,9 +170,9 @@ protected function writeFile($source, $destination, $replace = FILE_EXISTS_REPLA
    *
    * @param \Drupal\migrate\Row $row
    *
-   * @return integer
-   *  Either FILE_EXISTS_REPLACE (default) or FILE_EXISTS_RENAME, depending
-   *  on the current configuration.
+   * @return int
+   *   Either FILE_EXISTS_REPLACE (default) or FILE_EXISTS_RENAME, depending
+   *   on the current configuration.
    */
   protected function getOverwriteMode(Row $row) {
     if (!empty($this->configuration['rename'])) {
diff --git a/core/modules/file/src/Tests/Migrate/d6/MigrateFileTest.php b/core/modules/file/src/Tests/Migrate/d6/MigrateFileTest.php
index 4277133e9e6cdab55c320a1387c67f4b5fe5c0e0..2bda4c0089aa954da70acc79f51855959cbb1008 100644
--- a/core/modules/file/src/Tests/Migrate/d6/MigrateFileTest.php
+++ b/core/modules/file/src/Tests/Migrate/d6/MigrateFileTest.php
@@ -50,18 +50,18 @@ protected function setUp() {
   /**
    * Asserts a file entity.
    *
-   * @param integer $fid
-   *  The file ID.
+   * @param int $fid
+   *   The file ID.
    * @param string $name
-   *  The expected file name.
-   * @param integer $size
-   *  The expected file size.
+   *   The expected file name.
+   * @param int $size
+   *   The expected file size.
    * @param string $uri
-   *  The expected file URI.
+   *   The expected file URI.
    * @param string $type
-   *  The expected MIME type.
-   * @param integer $uid
-   *  The expected file owner ID.
+   *   The expected MIME type.
+   * @param int $uid
+   *   The expected file owner ID.
    */
   protected function assertEntity($fid, $name, $size, $uri, $type, $uid) {
     /** @var \Drupal\file\FileInterface $file */
diff --git a/core/modules/file/src/Tests/Migrate/d7/MigrateFileTest.php b/core/modules/file/src/Tests/Migrate/d7/MigrateFileTest.php
index da1a6d251d5f87a343c8a88aa5fb44d0c53c8808..2d54d78166da2819ccd2826ba7cfd0cc320c622e 100644
--- a/core/modules/file/src/Tests/Migrate/d7/MigrateFileTest.php
+++ b/core/modules/file/src/Tests/Migrate/d7/MigrateFileTest.php
@@ -53,22 +53,22 @@ protected function setUp() {
   /**
    * Tests a single file entity.
    *
-   * @param integer $id
-   *  The file ID.
+   * @param int $id
+   *   The file ID.
    * @param string $name
-   *  The expected file name.
+   *   The expected file name.
    * @param string $uri
-   *  The expected URI.
+   *   The expected URI.
    * @param string $mime
-   *  The expected MIME type.
-   * @param integer $size
-   *  The expected file size.
-   * @param integer $created
-   *  The expected creation time.
-   * @param integer $changed
-   *  The expected modification time.
-   * @param integer $uid
-   *  The expected owner ID.
+   *   The expected MIME type.
+   * @param int $size
+   *   The expected file size.
+   * @param int $created
+   *   The expected creation time.
+   * @param int $changed
+   *   The expected modification time.
+   * @param int $uid
+   *   The expected owner ID.
    */
   protected function assertEntity($id, $name, $uri, $mime, $size, $created, $changed, $uid) {
     /** @var \Drupal\file\FileInterface $file */
diff --git a/core/modules/help/src/Tests/HelpTest.php b/core/modules/help/src/Tests/HelpTest.php
index f3c90836ba4d799fae10a00958e5ea586fbd74d8..64ad4a773fbf4ede46c7d4b83af6fae0d40ee4c9 100644
--- a/core/modules/help/src/Tests/HelpTest.php
+++ b/core/modules/help/src/Tests/HelpTest.php
@@ -86,8 +86,8 @@ public function testHelp() {
   /**
    * Verifies the logged in user has access to the various help nodes.
    *
-   * @param integer $response
-   *   An HTTP response code.
+   * @param int $response
+   *   (optional) An HTTP response code. Defaults to 200.
    */
   protected function verifyHelp($response = 200) {
     $this->drupalGet('admin/index');
diff --git a/core/modules/language/src/Entity/ConfigurableLanguage.php b/core/modules/language/src/Entity/ConfigurableLanguage.php
index 89cc16767dd2ba9c5a47bbd6aa90690cad5a304e..fe7f9f6deb4fb2fed473179f46a5daaeb23ca863 100644
--- a/core/modules/language/src/Entity/ConfigurableLanguage.php
+++ b/core/modules/language/src/Entity/ConfigurableLanguage.php
@@ -63,14 +63,14 @@ class ConfigurableLanguage extends ConfigEntityBase implements ConfigurableLangu
   /**
    * The direction of language, either DIRECTION_LTR or DIRECTION_RTL.
    *
-   * @var integer
+   * @var int
    */
   protected $direction = self::DIRECTION_LTR;
 
   /**
    * The weight of the language, used in lists of languages.
    *
-   * @var integer
+   * @var int
    */
   protected $weight = 0;
 
diff --git a/core/modules/locale/src/StringBase.php b/core/modules/locale/src/StringBase.php
index 1aa7696492a99c6cd4266da1ad87b5c94ac981bf..658f5657f804f015a121cc666878ab68ee41f87f 100644
--- a/core/modules/locale/src/StringBase.php
+++ b/core/modules/locale/src/StringBase.php
@@ -17,7 +17,7 @@ abstract class StringBase implements StringInterface {
   /**
    * The string identifier.
    *
-   * @var integer
+   * @var int
    */
   public $lid;
 
diff --git a/core/modules/locale/src/Tests/LocaleUpdateBase.php b/core/modules/locale/src/Tests/LocaleUpdateBase.php
index 41922bbc4f1a2339446ee11531bf9763ce986d28..cc2aed324a71b9baf571938e145d552f26d5d3c2 100644
--- a/core/modules/locale/src/Tests/LocaleUpdateBase.php
+++ b/core/modules/locale/src/Tests/LocaleUpdateBase.php
@@ -19,28 +19,28 @@ abstract class LocaleUpdateBase extends WebTestBase {
   /**
    * Timestamp for an old translation.
    *
-   * @var integer
+   * @var int
    */
   protected $timestampOld;
 
   /**
    * Timestamp for a medium aged translation.
    *
-   * @var integer
+   * @var int
    */
   protected $timestampMedium;
 
   /**
    * Timestamp for a new translation.
    *
-   * @var integer
+   * @var int
    */
   protected $timestampNew;
 
   /**
    * Timestamp for current time.
    *
-   * @var integer
+   * @var int
    */
   protected $timestampNow;
 
diff --git a/core/modules/menu_ui/src/Tests/MenuTest.php b/core/modules/menu_ui/src/Tests/MenuTest.php
index f8c26c9038badf973f23d9a88fdc1c9e26ed23ef..6e130b3d1c3528e082fce1b7a8920018c19d06f5 100644
--- a/core/modules/menu_ui/src/Tests/MenuTest.php
+++ b/core/modules/menu_ui/src/Tests/MenuTest.php
@@ -901,8 +901,8 @@ private function getStandardMenuLink() {
   /**
    * Verifies the logged in user has the desired access to various menu pages.
    *
-   * @param integer $response
-   *   The expected HTTP response code. Defaults to 200.
+   * @param int $response
+   *   (optional) The expected HTTP response code. Defaults to 200.
    */
   private function verifyAccess($response = 200) {
     // View menu help page.
diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php
index 60ad260958fdd6aca8a263286dd669ce09187dfd..1cdc231c421d955ef4b390095db4acfa6d8ce411 100644
--- a/core/modules/simpletest/src/TestBase.php
+++ b/core/modules/simpletest/src/TestBase.php
@@ -96,7 +96,7 @@ abstract class TestBase {
   /**
    * Incrementing identifier for verbose output filenames.
    *
-   * @var integer
+   * @var int
    */
   protected $verboseId = 0;
 
diff --git a/core/modules/simpletest/src/UserCreationTrait.php b/core/modules/simpletest/src/UserCreationTrait.php
index 92262cf4d810536f0b5e0d18fb4a7e23e74255c7..9b308b916ffe4a4d7b2cd03c62f29ac39b45bcee 100644
--- a/core/modules/simpletest/src/UserCreationTrait.php
+++ b/core/modules/simpletest/src/UserCreationTrait.php
@@ -92,7 +92,7 @@ protected function createUser(array $permissions = array(), $name = NULL, $admin
    *   (optional) The role ID (machine name). Defaults to a random name.
    * @param string $name
    *   (optional) The label for the role. Defaults to a random string.
-   * @param integer $weight
+   * @param int $weight
    *   (optional) The weight for the role. Defaults NULL so that entity_create()
    *   sets the weight to maximum + 1.
    *
@@ -119,7 +119,7 @@ protected function createAdminRole($rid = NULL, $name = NULL, $weight = NULL) {
    *   (optional) The role ID (machine name). Defaults to a random name.
    * @param string $name
    *   (optional) The label for the role. Defaults to a random string.
-   * @param integer $weight
+   * @param int $weight
    *   (optional) The weight for the role. Defaults NULL so that entity_create()
    *   sets the weight to maximum + 1.
    *
diff --git a/core/modules/system/src/Tests/Database/ConnectionUnitTest.php b/core/modules/system/src/Tests/Database/ConnectionUnitTest.php
index 4327ac5e00dfc4f163be27c87306aff76a948c2b..d1916b32ce762fa5f5185218cc4f2eee7ec17f89 100644
--- a/core/modules/system/src/Tests/Database/ConnectionUnitTest.php
+++ b/core/modules/system/src/Tests/Database/ConnectionUnitTest.php
@@ -66,7 +66,7 @@ protected function addConnection() {
   /**
    * Returns the connection ID of the current test connection.
    *
-   * @return integer
+   * @return int
    */
   protected function getConnectionID() {
     return (int) Database::getConnection($this->target, $this->key)->query('SELECT CONNECTION_ID()')->fetchField();
@@ -75,7 +75,7 @@ protected function getConnectionID() {
   /**
    * Asserts that a connection ID exists.
    *
-   * @param integer $id
+   * @param int $id
    *   The connection ID to verify.
    */
   protected function assertConnection($id) {
@@ -86,7 +86,7 @@ protected function assertConnection($id) {
   /**
    * Asserts that a connection ID does not exist.
    *
-   * @param integer $id
+   * @param int $id
    *   The connection ID to verify.
    */
   protected function assertNoConnection($id) {
diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
index 7ca628fc0fcbbae04fc461bac79846d5a10c3853..8c12a666d35f22898d5454bb03ab0a91e9884cf6 100644
--- a/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
+++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
@@ -24,7 +24,7 @@ class MockMenuBlock {
   /**
    * The number of menu levels deep to render.
    *
-   * @var integer
+   * @var int
    */
   protected $depth;
 
diff --git a/core/modules/taxonomy/src/Entity/Vocabulary.php b/core/modules/taxonomy/src/Entity/Vocabulary.php
index c8cc1c0e96a658353adb00e9c901f661d3a711b9..5d6ae1d6a8c9e803657fe0d7361b7518d9398dfa 100644
--- a/core/modules/taxonomy/src/Entity/Vocabulary.php
+++ b/core/modules/taxonomy/src/Entity/Vocabulary.php
@@ -82,14 +82,14 @@ class Vocabulary extends ConfigEntityBundleBase implements VocabularyInterface {
    * - TAXONOMY_HIERARCHY_SINGLE: Single parent.
    * - TAXONOMY_HIERARCHY_MULTIPLE: Multiple parents.
    *
-   * @var integer
+   * @var int
    */
   protected $hierarchy = TAXONOMY_HIERARCHY_DISABLED;
 
   /**
    * The weight of this vocabulary in relation to other vocabularies.
    *
-   * @var integer
+   * @var int
    */
   protected $weight = 0;
 
diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyTermFilterDepthTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyTermFilterDepthTest.php
index 2704c9f6c3b85eedfe1e535b5290746639fa972c..7d929eacd5af9901db932cd78c9ae915547a4f78 100644
--- a/core/modules/taxonomy/src/Tests/Views/TaxonomyTermFilterDepthTest.php
+++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyTermFilterDepthTest.php
@@ -118,9 +118,9 @@ public function testTermWithDepthFilter() {
   /**
    * Changes the tid filter to given term and depth.
    *
-   * @param integer $tid
+   * @param int $tid
    *   The term ID to filter on.
-   * @param integer $depth
+   * @param int $depth
    *   The depth to search.
    * @param array $expected
    *   The expected views result.
diff --git a/core/modules/taxonomy/src/VocabularyInterface.php b/core/modules/taxonomy/src/VocabularyInterface.php
index 78b38d7e9b8a87a53fe358794781dd3dfa73974d..e6e9e79fde9a16a94dc27b9c585103835d7fd02f 100644
--- a/core/modules/taxonomy/src/VocabularyInterface.php
+++ b/core/modules/taxonomy/src/VocabularyInterface.php
@@ -17,7 +17,7 @@ interface VocabularyInterface extends ConfigEntityInterface {
   /**
    * Returns the vocabulary hierarchy.
    *
-   * @return integer
+   * @return int
    *   The vocabulary hierarchy.
    */
   public function getHierarchy();
@@ -25,7 +25,7 @@ public function getHierarchy();
   /**
    * Sets the vocabulary hierarchy.
    *
-   * @param integer $hierarchy
+   * @param int $hierarchy
    *   The hierarchy type of vocabulary.
    *   Possible values:
    *    - TAXONOMY_HIERARCHY_DISABLED: No parents.
diff --git a/core/modules/user/src/UserDataInterface.php b/core/modules/user/src/UserDataInterface.php
index d7305285f9efbd71bd9ffa5a6719ca47cd6c00c9..be373f2a7dcc04b91f963fdfd1edc555f67081ce 100644
--- a/core/modules/user/src/UserDataInterface.php
+++ b/core/modules/user/src/UserDataInterface.php
@@ -17,7 +17,7 @@ interface UserDataInterface {
    *
    * @param string $module
    *   The name of the module the data is associated with.
-   * @param integer $uid
+   * @param int $uid
    *   (optional) The user account ID the data is associated with.
    * @param string $name
    *   (optional) The name of the data key.
@@ -41,7 +41,7 @@ public function get($module, $uid = NULL, $name = NULL);
    *
    * @param string $module
    *   The name of the module the data is associated with.
-   * @param integer $uid
+   * @param int $uid
    *   The user account ID the data is associated with.
    * @param string $name
    *   The name of the data key.
@@ -58,7 +58,7 @@ public function set($module, $uid, $name, $value);
    * @param string|array $module
    *   (optional) The name of the module the data is associated with. Can also
    *   be an array to delete the data of multiple modules.
-   * @param integer|array $uid
+   * @param int|array $uid
    *   (optional) The user account ID the data is associated with. If omitted,
    *   all data for $module is deleted. Can also be an array of IDs to delete
    *   the data of multiple user accounts.
diff --git a/core/modules/views/src/ResultRow.php b/core/modules/views/src/ResultRow.php
index d93d05613f039cca0291409354c052892567a787..790cc8a6b3dd80d1a0d1727b6c5707a68810e114 100644
--- a/core/modules/views/src/ResultRow.php
+++ b/core/modules/views/src/ResultRow.php
@@ -29,7 +29,7 @@ class ResultRow {
   /**
    * An incremental number which represents the row in the entire result.
    *
-   * @var integer
+   * @var int
    */
   public $index;
 
diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
index 44110958bd12b091545f4a26f7c0fe9bb908a10d..271de1b166f6bdefa1af61c32a9e4c8f858ef0a1 100644
--- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
@@ -30,7 +30,7 @@ class SortArrayTest extends UnitTestCase {
    *   The first input array for the SortArray::sortByWeightElement() method.
    * @param array $b
    *   The second input array for the SortArray::sortByWeightElement().
-   * @param integer $expected
+   * @param int $expected
    *   The expected output from calling the method.
    */
   public function testSortByWeightElement($a, $b, $expected) {
@@ -106,7 +106,7 @@ public function providerSortByWeightElement() {
    *   The first input array for the SortArray::sortByWeightProperty() method.
    * @param array $b
    *   The second input array for the SortArray::sortByWeightProperty().
-   * @param integer $expected
+   * @param int $expected
    *   The expected output from calling the method.
    */
   public function testSortByWeightProperty($a, $b, $expected) {
@@ -182,7 +182,7 @@ public function providerSortByWeightProperty() {
    *   The first input item for comparison.
    * @param array $b
    *   The second item for comparison.
-   * @param integer $expected
+   * @param int $expected
    *   The expected output from calling the method.
    */
   public function testSortByTitleElement($a, $b, $expected) {
@@ -251,7 +251,7 @@ public function providerSortByTitleElement() {
    *   The first input item for comparison.
    * @param array $b
    *   The second item for comparison.
-   * @param integer $expected
+   * @param int $expected
    *   The expected output from calling the method.
    */
   public function testSortByTitleProperty($a, $b, $expected) {