Loading core/modules/field/src/FieldConfigStorage.php +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ public function loadByProperties(array $conditions = []) { $checked_value = $field_storage->uuid(); break; case 'uuid'; case 'uuid': $checked_value = $field->uuid(); break; case 'deleted'; case 'deleted': $checked_value = $field->isDeleted(); break; Loading core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceOptionTranslation.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $list = array_map('trim', $list); $list = FilterArray::removeEmptyStrings($list); switch ($field_type) { case 'boolean'; case 'boolean': $option = preg_replace('/^option_/', '', $row->getSourceProperty('property')); for ($i = 0; $i < 2; $i++) { $value = $list[$i]; Loading core/modules/field/src/Plugin/migrate/process/d7/FieldInstanceOptionTranslation.php +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable if (isset($data['settings']['allowed_values'])) { $allowed_values = $data['settings']['allowed_values']; switch ($type) { case 'boolean'; case 'boolean': if (isset($allowed_values[$property])) { $translation = $row->getSourceProperty('translation'); break; Loading core/modules/jsonapi/tests/src/Functional/CommentTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -293,10 +293,10 @@ protected function getExpectedCacheContexts(?array $sparse_fieldset = NULL) { */ protected function getExpectedUnauthorizedAccessMessage($method) { switch ($method) { case 'GET'; case 'GET': return "The 'access comments' permission is required and the comment must be published."; case 'POST'; case 'POST': return "The 'post comments' permission is required."; case 'PATCH': Loading core/modules/jsonapi/tests/src/Functional/MediaTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ protected function getPostDocument() { */ protected function getExpectedUnauthorizedAccessMessage($method) { switch ($method) { case 'GET'; case 'GET': return "The 'view media' permission is required when the media item is published."; case 'POST': Loading Loading
core/modules/field/src/FieldConfigStorage.php +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ public function loadByProperties(array $conditions = []) { $checked_value = $field_storage->uuid(); break; case 'uuid'; case 'uuid': $checked_value = $field->uuid(); break; case 'deleted'; case 'deleted': $checked_value = $field->isDeleted(); break; Loading
core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceOptionTranslation.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $list = array_map('trim', $list); $list = FilterArray::removeEmptyStrings($list); switch ($field_type) { case 'boolean'; case 'boolean': $option = preg_replace('/^option_/', '', $row->getSourceProperty('property')); for ($i = 0; $i < 2; $i++) { $value = $list[$i]; Loading
core/modules/field/src/Plugin/migrate/process/d7/FieldInstanceOptionTranslation.php +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable if (isset($data['settings']['allowed_values'])) { $allowed_values = $data['settings']['allowed_values']; switch ($type) { case 'boolean'; case 'boolean': if (isset($allowed_values[$property])) { $translation = $row->getSourceProperty('translation'); break; Loading
core/modules/jsonapi/tests/src/Functional/CommentTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -293,10 +293,10 @@ protected function getExpectedCacheContexts(?array $sparse_fieldset = NULL) { */ protected function getExpectedUnauthorizedAccessMessage($method) { switch ($method) { case 'GET'; case 'GET': return "The 'access comments' permission is required and the comment must be published."; case 'POST'; case 'POST': return "The 'post comments' permission is required."; case 'PATCH': Loading
core/modules/jsonapi/tests/src/Functional/MediaTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ protected function getPostDocument() { */ protected function getExpectedUnauthorizedAccessMessage($method) { switch ($method) { case 'GET'; case 'GET': return "The 'view media' permission is required when the media item is published."; case 'POST': Loading