diff --git a/core/modules/jsonapi/jsonapi.api.php b/core/modules/jsonapi/jsonapi.api.php index c011e77f797..2d09100e092 100644 --- a/core/modules/jsonapi/jsonapi.api.php +++ b/core/modules/jsonapi/jsonapi.api.php @@ -63,7 +63,7 @@ use Drupal\Core\Access\AccessResult; * * @see https://github.com/json-api/json-api/pull/1268 * @see https://github.com/json-api/json-api/pull/1311 - * @see https://www.drupal.org/project/jsonapi/issues/2955020 + * @see https://www.drupal.org/project/drupal/issues/2955020 * * By implementing revision support as a profile, the JSON:API module should be * maximally compatible with other systems. @@ -117,7 +117,7 @@ use Drupal\Core\Access\AccessResult; * It is not yet possible to request a collection of revisions. This is still * under development in issue [#3009588]. * - * @see https://www.drupal.org/project/jsonapi/issues/3009588. + * @see https://www.drupal.org/project/drupal/issues/3009588. * @see https://tools.ietf.org/html/rfc5829 * @see https://www.drupal.org/docs/8/modules/jsonapi/revisions * diff --git a/core/modules/jsonapi/src/Access/EntityAccessChecker.php b/core/modules/jsonapi/src/Access/EntityAccessChecker.php index d3d4fa06e0a..1a5b3ea19ce 100644 --- a/core/modules/jsonapi/src/Access/EntityAccessChecker.php +++ b/core/modules/jsonapi/src/Access/EntityAccessChecker.php @@ -31,7 +31,7 @@ use Symfony\Component\Routing\RouterInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityAccessChecker { @@ -238,7 +238,7 @@ class EntityAccessChecker { * * @todo: remove when a generic revision access API exists in Drupal core, and * also remove the injected "node" and "media" services. - * @see https://www.drupal.org/project/jsonapi/issues/2992833#comment-12818386 + * @see https://www.drupal.org/project/drupal/issues/2992833#comment-12818386 */ protected function checkRevisionViewAccess(EntityInterface $entity, AccountInterface $account) { assert($entity instanceof RevisionableInterface); @@ -257,7 +257,7 @@ class EntityAccessChecker { default: $reason = 'Only node and media revisions are supported by JSON:API.'; - $reason .= ' For context, see https://www.drupal.org/project/jsonapi/issues/2992833#comment-12818258.'; + $reason .= ' For context, see https://www.drupal.org/project/drupal/issues/2992833#comment-12818258.'; $reason .= ' To contribute, see https://www.drupal.org/project/drupal/issues/2350939 and https://www.drupal.org/project/drupal/issues/2809177.'; $access = AccessResult::neutral($reason); } diff --git a/core/modules/jsonapi/src/Access/RelationshipFieldAccess.php b/core/modules/jsonapi/src/Access/RelationshipFieldAccess.php index ff0e1037458..244dee3e575 100644 --- a/core/modules/jsonapi/src/Access/RelationshipFieldAccess.php +++ b/core/modules/jsonapi/src/Access/RelationshipFieldAccess.php @@ -20,7 +20,7 @@ use Symfony\Component\Routing\Route; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class RelationshipFieldAccess implements AccessInterface { diff --git a/core/modules/jsonapi/src/Access/TemporaryQueryGuard.php b/core/modules/jsonapi/src/Access/TemporaryQueryGuard.php index dd3b0a8e3d1..a919611cc0f 100644 --- a/core/modules/jsonapi/src/Access/TemporaryQueryGuard.php +++ b/core/modules/jsonapi/src/Access/TemporaryQueryGuard.php @@ -32,7 +32,7 @@ use Drupal\jsonapi\Query\Filter; * @see https://www.drupal.org/project/drupal/issues/2809177 * @see https://www.drupal.org/project/drupal/issues/777578 * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class TemporaryQueryGuard { diff --git a/core/modules/jsonapi/src/Context/FieldResolver.php b/core/modules/jsonapi/src/Context/FieldResolver.php index ab410e9b93c..9790d4804b4 100644 --- a/core/modules/jsonapi/src/Context/FieldResolver.php +++ b/core/modules/jsonapi/src/Context/FieldResolver.php @@ -67,7 +67,7 @@ use Drupal\Core\Http\Exception\CacheableBadRequestHttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class FieldResolver { @@ -531,7 +531,7 @@ class FieldResolver { */ protected function isMemberFilterable($external_name, array $resource_types) { return array_reduce($resource_types, function ($carry, ResourceType $resource_type) use ($external_name) { - // @todo: remove the next line and uncomment the following one in https://www.drupal.org/project/jsonapi/issues/3017047. + // @todo: remove the next line and uncomment the following one in https://www.drupal.org/project/drupal/issues/3017047. return $carry ?: $external_name === 'id' || $resource_type->isFieldEnabled($resource_type->getInternalName($external_name)); /*return $carry ?: in_array($external_name, ['id', 'type']) || $resource_type->isFieldEnabled($resource_type->getInternalName($external_name));*/ }, FALSE); @@ -633,7 +633,7 @@ class FieldResolver { $prior_parts = array_slice($unresolved_path_parts, 0, count($unresolved_path_parts) - count($remaining_parts)); return implode('.', array_merge($prior_parts, [$reference_name], $remaining_parts)); }, $unique_reference_names); - // @todo Add test coverage for this in https://www.drupal.org/project/jsonapi/issues/2971281 + // @todo Add test coverage for this in https://www.drupal.org/project/drupal/issues/2971281 $message = sprintf('Ambiguous path. Try one of the following: %s, in place of the given path: %s', implode(', ', $choices), implode('.', $unresolved_path_parts)); $cacheability = (new CacheableMetadata())->addCacheContexts(['url.query_args:filter', 'url.query_args:sort']); throw new CacheableBadRequestHttpException($cacheability, $message); diff --git a/core/modules/jsonapi/src/Controller/EntityResource.php b/core/modules/jsonapi/src/Controller/EntityResource.php index 4bd865bc0a2..30d322774ee 100644 --- a/core/modules/jsonapi/src/Controller/EntityResource.php +++ b/core/modules/jsonapi/src/Controller/EntityResource.php @@ -65,7 +65,7 @@ use Symfony\Component\Serializer\SerializerInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityResource { @@ -307,7 +307,7 @@ class EntityResource { */ public function patchIndividual(ResourceType $resource_type, EntityInterface $entity, Request $request) { if ($entity instanceof RevisionableInterface && !($entity->isLatestRevision() && $entity->isDefaultRevision())) { - throw new BadRequestHttpException('Updating a resource object that has a working copy is not yet supported. See https://www.drupal.org/project/jsonapi/issues/2795279.'); + throw new BadRequestHttpException('Updating a resource object that has a working copy is not yet supported. See https://www.drupal.org/project/drupal/issues/2795279.'); } $parsed_entity = $this->deserialize($resource_type, $request, JsonApiDocumentTopLevel::class); @@ -408,7 +408,7 @@ class EntityResource { catch (\LogicException $e) { // Ensure good DX when an entity query involves a config entity type. // For example: getting users with a particular role, which is a config - // entity type: https://www.drupal.org/project/jsonapi/issues/2959445. + // entity type: https://www.drupal.org/project/drupal/issues/2959445. // @todo Remove the message parsing in https://www.drupal.org/project/drupal/issues/3028967. if (strpos($e->getMessage(), 'Getting the base fields is not supported for entity type') === 0) { preg_match('/entity type (.*)\./', $e->getMessage(), $matches); diff --git a/core/modules/jsonapi/src/Controller/EntryPoint.php b/core/modules/jsonapi/src/Controller/EntryPoint.php index a564580523c..29a4276572b 100644 --- a/core/modules/jsonapi/src/Controller/EntryPoint.php +++ b/core/modules/jsonapi/src/Controller/EntryPoint.php @@ -23,7 +23,7 @@ use Symfony\Component\Routing\Exception\RouteNotFoundException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntryPoint extends ControllerBase { diff --git a/core/modules/jsonapi/src/Controller/FileUpload.php b/core/modules/jsonapi/src/Controller/FileUpload.php index b4a5800ca26..c11244a7992 100644 --- a/core/modules/jsonapi/src/Controller/FileUpload.php +++ b/core/modules/jsonapi/src/Controller/FileUpload.php @@ -34,7 +34,7 @@ use Symfony\Component\Validator\ConstraintViolationInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class FileUpload { @@ -179,7 +179,7 @@ class FileUpload { throw new UnprocessableEntityHttpException($message); } - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $self_link = new Link(new CacheableMetadata(), Url::fromRoute('jsonapi.file--file.individual', ['entity' => $file->uuid()]), 'self'); /* $self_link = new Link(new CacheableMetadata(), $this->entity->toUrl('jsonapi'), ['self']); */ $links = new LinkCollection(['self' => $self_link]); diff --git a/core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php b/core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php index 7c7d21e146d..7587cb32429 100644 --- a/core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php +++ b/core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php @@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\Reference; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class RegisterSerializationClassesCompilerPass extends DrupalRegisterSerializationClassesCompilerPass { diff --git a/core/modules/jsonapi/src/Encoder/JsonEncoder.php b/core/modules/jsonapi/src/Encoder/JsonEncoder.php index 2f7f04f6f28..fdc83ff2b4f 100644 --- a/core/modules/jsonapi/src/Encoder/JsonEncoder.php +++ b/core/modules/jsonapi/src/Encoder/JsonEncoder.php @@ -10,7 +10,7 @@ use Drupal\serialization\Encoder\JsonEncoder as SerializationJsonEncoder; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class JsonEncoder extends SerializationJsonEncoder { diff --git a/core/modules/jsonapi/src/Entity/EntityValidationTrait.php b/core/modules/jsonapi/src/Entity/EntityValidationTrait.php index 8dca70b2732..99291254cad 100644 --- a/core/modules/jsonapi/src/Entity/EntityValidationTrait.php +++ b/core/modules/jsonapi/src/Entity/EntityValidationTrait.php @@ -12,7 +12,7 @@ use Drupal\jsonapi\Exception\UnprocessableHttpEntityException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ trait EntityValidationTrait { diff --git a/core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php b/core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php index abefad4a860..e5d3d56ead6 100644 --- a/core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php +++ b/core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php @@ -18,7 +18,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class DefaultExceptionSubscriber extends SerializationDefaultExceptionSubscriber { diff --git a/core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php b/core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php index 051fefff73e..db33f307e14 100644 --- a/core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php +++ b/core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php @@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\KernelEvents; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class JsonApiRequestValidator implements EventSubscriberInterface { diff --git a/core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php b/core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php index 414ae766b1d..508253fccc1 100644 --- a/core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php +++ b/core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\SerializerInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * This is 99% identical to: diff --git a/core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php b/core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php index 178a784dca4..16250682e95 100644 --- a/core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php +++ b/core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php @@ -20,7 +20,7 @@ use Symfony\Component\HttpKernel\KernelEvents; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\rest\EventSubscriber\ResourceResponseSubscriber diff --git a/core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php b/core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php index 3365326aac5..74ab245e511 100644 --- a/core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php +++ b/core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php @@ -18,7 +18,7 @@ use Drupal\jsonapi\JsonApiResource\ResourceIdentifierTrait; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityAccessDeniedHttpException extends CacheableAccessDeniedHttpException implements ResourceIdentifierInterface { @@ -71,7 +71,7 @@ class EntityAccessDeniedHttpException extends CacheableAccessDeniedHttpException $error['reason'] = $entity_access->getReason(); } $this->error = $error; - // @todo: remove this ternary operation in https://www.drupal.org/project/jsonapi/issues/2997594. + // @todo: remove this ternary operation in https://www.drupal.org/project/drupal/issues/2997594. $this->resourceIdentifier = $entity ? ResourceIdentifier::fromEntity($entity) : NULL; } diff --git a/core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php b/core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php index 95e496779e4..b9d5a6f5838 100644 --- a/core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php +++ b/core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php @@ -18,7 +18,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class UnprocessableHttpEntityException extends HttpException { diff --git a/core/modules/jsonapi/src/IncludeResolver.php b/core/modules/jsonapi/src/IncludeResolver.php index d8a283df0d6..ad0e36ca405 100644 --- a/core/modules/jsonapi/src/IncludeResolver.php +++ b/core/modules/jsonapi/src/IncludeResolver.php @@ -24,7 +24,7 @@ use Drupal\jsonapi\ResourceType\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class IncludeResolver { diff --git a/core/modules/jsonapi/src/JsonApiResource/Data.php b/core/modules/jsonapi/src/JsonApiResource/Data.php index 57dd0ad675a..61cf72ca406 100644 --- a/core/modules/jsonapi/src/JsonApiResource/Data.php +++ b/core/modules/jsonapi/src/JsonApiResource/Data.php @@ -11,7 +11,7 @@ use Drupal\jsonapi\Exception\EntityAccessDeniedHttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ abstract class Data implements \IteratorAggregate, \Countable { diff --git a/core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php b/core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php index 2396641abdb..d43febdd6e3 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php +++ b/core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php @@ -11,7 +11,7 @@ use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * (The spec says the top-level `data` and `errors` members MUST NOT coexist.) diff --git a/core/modules/jsonapi/src/JsonApiResource/IncludedData.php b/core/modules/jsonapi/src/JsonApiResource/IncludedData.php index a1566641a65..e0938a1f9a6 100644 --- a/core/modules/jsonapi/src/JsonApiResource/IncludedData.php +++ b/core/modules/jsonapi/src/JsonApiResource/IncludedData.php @@ -11,7 +11,7 @@ use Drupal\jsonapi\Exception\EntityAccessDeniedHttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class IncludedData extends ResourceObjectData { diff --git a/core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php b/core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php index 5fc7291f962..df58c32c50e 100644 --- a/core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php +++ b/core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\JsonApiResource; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format/#document-top-level diff --git a/core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php b/core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php index 157b9de1f2a..1beaa23056e 100644 --- a/core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php +++ b/core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php @@ -12,7 +12,7 @@ use Drupal\jsonapi\ResourceType\ResourceType; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class LabelOnlyResourceObject extends ResourceObject { diff --git a/core/modules/jsonapi/src/JsonApiResource/Link.php b/core/modules/jsonapi/src/JsonApiResource/Link.php index 1a33b59e1f6..5c1953c1f52 100644 --- a/core/modules/jsonapi/src/JsonApiResource/Link.php +++ b/core/modules/jsonapi/src/JsonApiResource/Link.php @@ -15,7 +15,7 @@ use Drupal\Core\Url; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see https://tools.ietf.org/html/rfc8288 diff --git a/core/modules/jsonapi/src/JsonApiResource/LinkCollection.php b/core/modules/jsonapi/src/JsonApiResource/LinkCollection.php index 098f580b71e..3215888693c 100644 --- a/core/modules/jsonapi/src/JsonApiResource/LinkCollection.php +++ b/core/modules/jsonapi/src/JsonApiResource/LinkCollection.php @@ -10,7 +10,7 @@ use Drupal\Component\Assertion\Inspector; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class LinkCollection implements \IteratorAggregate { diff --git a/core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php b/core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php index 46b4e6ab5bb..6d5da0c1c6a 100644 --- a/core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php +++ b/core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\JsonApiResource; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class NullIncludedData extends IncludedData { diff --git a/core/modules/jsonapi/src/JsonApiResource/OmittedData.php b/core/modules/jsonapi/src/JsonApiResource/OmittedData.php index 1e57348e0ec..77fd81ce9e6 100644 --- a/core/modules/jsonapi/src/JsonApiResource/OmittedData.php +++ b/core/modules/jsonapi/src/JsonApiResource/OmittedData.php @@ -11,7 +11,7 @@ use Drupal\jsonapi\Exception\EntityAccessDeniedHttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class OmittedData extends ResourceObjectData { diff --git a/core/modules/jsonapi/src/JsonApiResource/Relationship.php b/core/modules/jsonapi/src/JsonApiResource/Relationship.php index 6e89907a985..b5a383ea89c 100644 --- a/core/modules/jsonapi/src/JsonApiResource/Relationship.php +++ b/core/modules/jsonapi/src/JsonApiResource/Relationship.php @@ -16,7 +16,7 @@ use Drupal\jsonapi\Routing\Routes; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class Relationship implements TopLevelDataInterface { diff --git a/core/modules/jsonapi/src/JsonApiResource/RelationshipData.php b/core/modules/jsonapi/src/JsonApiResource/RelationshipData.php index e4bfa8a2c35..2c2aec50783 100644 --- a/core/modules/jsonapi/src/JsonApiResource/RelationshipData.php +++ b/core/modules/jsonapi/src/JsonApiResource/RelationshipData.php @@ -10,7 +10,7 @@ use Drupal\Component\Assertion\Inspector; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class RelationshipData extends Data { diff --git a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php index b6bca7e3b44..20ca39a8565 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php +++ b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php @@ -28,12 +28,12 @@ use Drupal\jsonapi\ResourceType\ResourceType; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format/#document-resource-object-relationships * @see https://github.com/json-api/json-api/pull/1156#issuecomment-325377995 - * @see https://www.drupal.org/project/jsonapi/issues/2864680 + * @see https://www.drupal.org/project/drupal/issues/2864680 */ class ResourceIdentifier implements ResourceIdentifierInterface { diff --git a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php index 872da7dc063..f2e5e6c42db 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php +++ b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php @@ -13,7 +13,7 @@ namespace Drupal\jsonapi\JsonApiResource; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ interface ResourceIdentifierInterface { diff --git a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php index e4942cfb8fa..b7b65586e5b 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php +++ b/core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\JsonApiResource; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface diff --git a/core/modules/jsonapi/src/JsonApiResource/ResourceObject.php b/core/modules/jsonapi/src/JsonApiResource/ResourceObject.php index cce7d45a31c..34f64ef839d 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ResourceObject.php +++ b/core/modules/jsonapi/src/JsonApiResource/ResourceObject.php @@ -27,7 +27,7 @@ use Drupal\user\UserInterface; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class ResourceObject implements CacheableDependencyInterface, ResourceIdentifierInterface { diff --git a/core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php b/core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php index 5fadfb0356b..be630e96f8f 100644 --- a/core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php +++ b/core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php @@ -11,7 +11,7 @@ use Drupal\jsonapi\Exception\EntityAccessDeniedHttpException; * @internal JSON:API maintains no PHP API. The API is the HTTP API. This class * may change at any time and could break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class ResourceObjectData extends Data implements TopLevelDataInterface { diff --git a/core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php b/core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php index a01da15682e..558548f3ca2 100644 --- a/core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php +++ b/core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\JsonApiResource; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ interface TopLevelDataInterface { diff --git a/core/modules/jsonapi/src/JsonApiSpec.php b/core/modules/jsonapi/src/JsonApiSpec.php index 956dac6c001..274b3f4deb1 100644 --- a/core/modules/jsonapi/src/JsonApiSpec.php +++ b/core/modules/jsonapi/src/JsonApiSpec.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format diff --git a/core/modules/jsonapi/src/JsonapiServiceProvider.php b/core/modules/jsonapi/src/JsonapiServiceProvider.php index 4696ed567f8..e3b0f6d0cc1 100644 --- a/core/modules/jsonapi/src/JsonapiServiceProvider.php +++ b/core/modules/jsonapi/src/JsonapiServiceProvider.php @@ -14,7 +14,7 @@ use Drupal\jsonapi\DependencyInjection\Compiler\RegisterSerializationClassesComp * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class JsonapiServiceProvider implements ServiceModifierInterface, ServiceProviderInterface { diff --git a/core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php b/core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php index 39288abac97..de74db67aa5 100644 --- a/core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php @@ -11,7 +11,7 @@ use Drupal\jsonapi\ResourceType\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class ConfigEntityDenormalizer extends EntityDenormalizerBase { diff --git a/core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php b/core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php index 287f2cb1405..aa56f8ab9ce 100644 --- a/core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php @@ -12,7 +12,7 @@ use Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class ContentEntityDenormalizer extends EntityDenormalizerBase { diff --git a/core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php b/core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php index 0d18dcdea05..5dd2b6e9883 100644 --- a/core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php @@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format/#error-objects diff --git a/core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php b/core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php index 65f25995bf5..edfeaa19fd0 100644 --- a/core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php +++ b/core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php @@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ abstract class EntityDenormalizerBase extends NormalizerBase implements DenormalizerInterface { diff --git a/core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php b/core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php index c79d56ae1ae..de46d4d3696 100644 --- a/core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php @@ -19,7 +19,7 @@ use Drupal\jsonapi\Routing\Routes; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityReferenceFieldNormalizer extends FieldNormalizer { diff --git a/core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php b/core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php index 183fac07306..f3afb429927 100644 --- a/core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php @@ -20,7 +20,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class FieldItemNormalizer extends NormalizerBase implements DenormalizerInterface { diff --git a/core/modules/jsonapi/src/Normalizer/FieldNormalizer.php b/core/modules/jsonapi/src/Normalizer/FieldNormalizer.php index b33677c1786..74b78db50e0 100644 --- a/core/modules/jsonapi/src/Normalizer/FieldNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/FieldNormalizer.php @@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class FieldNormalizer extends NormalizerBase implements DenormalizerInterface { diff --git a/core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php b/core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php index 46138158151..0b91b4d92f3 100644 --- a/core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php @@ -14,7 +14,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format/#error-objects @@ -112,7 +112,7 @@ class HttpExceptionNormalizer extends NormalizerBase { * URL pointing to the specific RFC-2616 section. Or NULL if it is an HTTP * status code that is defined in another RFC. * - * @see https://www.drupal.org/project/jsonapi/issues/2832211#comment-11826234 + * @see https://www.drupal.org/project/drupal/issues/2832211#comment-11826234 * * @internal */ diff --git a/core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php b/core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php index b6abaf7eaa8..ae5cbe0dc34 100644 --- a/core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php @@ -28,7 +28,7 @@ use Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel @@ -217,7 +217,7 @@ class JsonApiDocumentTopLevelNormalizer extends NormalizerBase implements Denorm * @return \Drupal\jsonapi\Normalizer\Value\CacheableNormalization * The normalized document. * - * @todo: refactor this to use CacheableNormalization::aggregate in https://www.drupal.org/project/jsonapi/issues/3036284. + * @todo: refactor this to use CacheableNormalization::aggregate in https://www.drupal.org/project/drupal/issues/3036284. */ protected function normalizeErrorDocument(JsonApiDocumentTopLevel $document, $format, array $context = []) { $normalized_values = array_map(function (HttpExceptionInterface $exception) use ($format, $context) { @@ -245,7 +245,7 @@ class JsonApiDocumentTopLevelNormalizer extends NormalizerBase implements Denorm * @return \Drupal\jsonapi\Normalizer\Value\CacheableNormalization|\Drupal\jsonapi\Normalizer\Value\CacheableOmission * The normalized omissions. * - * @todo: refactor this to use link collections in https://www.drupal.org/project/jsonapi/issues/3036279. + * @todo: refactor this to use link collections in https://www.drupal.org/project/drupal/issues/3036279. */ protected function normalizeOmissionsLinks(OmittedData $omissions, $format, array $context = []) { $normalized_omissions = array_map(function (HttpExceptionInterface $exception) use ($format, $context) { diff --git a/core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php b/core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php index a883389d391..2c3f5b71de4 100644 --- a/core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php @@ -24,7 +24,7 @@ use Drupal\jsonapi\Normalizer\Value\CacheableNormalization; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class LinkCollectionNormalizer extends NormalizerBase { diff --git a/core/modules/jsonapi/src/Normalizer/NormalizerBase.php b/core/modules/jsonapi/src/Normalizer/NormalizerBase.php index 241feac691e..37f639bdb74 100644 --- a/core/modules/jsonapi/src/Normalizer/NormalizerBase.php +++ b/core/modules/jsonapi/src/Normalizer/NormalizerBase.php @@ -11,7 +11,7 @@ use Drupal\serialization\Normalizer\NormalizerBase as SerializationNormalizerBas * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ abstract class NormalizerBase extends SerializationNormalizerBase { diff --git a/core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php b/core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php index 40458e2d47c..a0ccd56c4bc 100644 --- a/core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php @@ -18,7 +18,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class ResourceIdentifierNormalizer extends NormalizerBase implements DenormalizerInterface { diff --git a/core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php b/core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php index 10a5e4cca56..8a21f420202 100644 --- a/core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php @@ -17,7 +17,7 @@ use Drupal\jsonapi\Normalizer\Value\CacheableOmission; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class ResourceObjectNormalizer extends NormalizerBase { diff --git a/core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php b/core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php index 35834dd789d..aca1088623b 100644 --- a/core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php +++ b/core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php @@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see http://jsonapi.org/format/#error-objects diff --git a/core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php b/core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php index 538422284e4..fbc77e89b18 100644 --- a/core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php +++ b/core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php @@ -13,7 +13,7 @@ use Drupal\Core\Cache\CacheableMetadata; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class CacheableNormalization implements CacheableDependencyInterface { diff --git a/core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php b/core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php index 9a8310dc444..e3a290723a8 100644 --- a/core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php +++ b/core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php @@ -10,7 +10,7 @@ use Drupal\Core\Cache\CacheableDependencyInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class CacheableOmission extends CacheableNormalization { diff --git a/core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php b/core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php index 83cf3beb023..67a61bfd804 100644 --- a/core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php +++ b/core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\Normalizer\Value; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class HttpExceptionNormalizerValue extends CacheableNormalization {} diff --git a/core/modules/jsonapi/src/ParamConverter/EntityUuidConverter.php b/core/modules/jsonapi/src/ParamConverter/EntityUuidConverter.php index 1b4ef83e436..3cae9f8e9d5 100644 --- a/core/modules/jsonapi/src/ParamConverter/EntityUuidConverter.php +++ b/core/modules/jsonapi/src/ParamConverter/EntityUuidConverter.php @@ -17,7 +17,7 @@ use Symfony\Component\Routing\Route; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\Core\ParamConverter\EntityConverter diff --git a/core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php b/core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php index ab4569b9d54..d0dba4dd1fd 100644 --- a/core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php +++ b/core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php @@ -12,7 +12,7 @@ use Symfony\Component\Routing\Route; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class ResourceTypeConverter implements ParamConverterInterface { diff --git a/core/modules/jsonapi/src/Query/EntityCondition.php b/core/modules/jsonapi/src/Query/EntityCondition.php index 3e2d460b2c7..dea06c132d2 100644 --- a/core/modules/jsonapi/src/Query/EntityCondition.php +++ b/core/modules/jsonapi/src/Query/EntityCondition.php @@ -11,7 +11,7 @@ use Drupal\Core\Http\Exception\CacheableBadRequestHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityCondition { diff --git a/core/modules/jsonapi/src/Query/EntityConditionGroup.php b/core/modules/jsonapi/src/Query/EntityConditionGroup.php index fcefe2a278d..8a529bf312e 100644 --- a/core/modules/jsonapi/src/Query/EntityConditionGroup.php +++ b/core/modules/jsonapi/src/Query/EntityConditionGroup.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\Query; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class EntityConditionGroup { diff --git a/core/modules/jsonapi/src/Query/Filter.php b/core/modules/jsonapi/src/Query/Filter.php index 2ca708b433f..ab134317c4b 100644 --- a/core/modules/jsonapi/src/Query/Filter.php +++ b/core/modules/jsonapi/src/Query/Filter.php @@ -12,7 +12,7 @@ use Drupal\jsonapi\ResourceType\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class Filter { diff --git a/core/modules/jsonapi/src/Query/OffsetPage.php b/core/modules/jsonapi/src/Query/OffsetPage.php index 70a752ef2c3..988cc69a508 100644 --- a/core/modules/jsonapi/src/Query/OffsetPage.php +++ b/core/modules/jsonapi/src/Query/OffsetPage.php @@ -11,7 +11,7 @@ use Drupal\Core\Http\Exception\CacheableBadRequestHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class OffsetPage { diff --git a/core/modules/jsonapi/src/Query/Sort.php b/core/modules/jsonapi/src/Query/Sort.php index c127a9230af..3f01638e916 100644 --- a/core/modules/jsonapi/src/Query/Sort.php +++ b/core/modules/jsonapi/src/Query/Sort.php @@ -11,7 +11,7 @@ use Drupal\Core\Http\Exception\CacheableBadRequestHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class Sort { diff --git a/core/modules/jsonapi/src/ResourceResponse.php b/core/modules/jsonapi/src/ResourceResponse.php index b73165d1706..cf6ddac7a99 100644 --- a/core/modules/jsonapi/src/ResourceResponse.php +++ b/core/modules/jsonapi/src/ResourceResponse.php @@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\Response; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\rest\ModifiedResourceResponse diff --git a/core/modules/jsonapi/src/ResourceType/ResourceType.php b/core/modules/jsonapi/src/ResourceType/ResourceType.php index 436949536dc..56101846151 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceType.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceType.php @@ -11,7 +11,7 @@ namespace Drupal\jsonapi\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\ResourceType\ResourceTypeRepository diff --git a/core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php b/core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php index 19f71c192f6..f606516c9c0 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\ResourceType\ResourceTypeRepository diff --git a/core/modules/jsonapi/src/ResourceType/ResourceTypeField.php b/core/modules/jsonapi/src/ResourceType/ResourceTypeField.php index 987f4963843..c6a1922f8e8 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceTypeField.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceTypeField.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\ResourceType\ResourceTypeRepository diff --git a/core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php b/core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php index 8e782a527c4..2ae37bd698f 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\ResourceType\ResourceTypeRepository diff --git a/core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php b/core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php index 84aa71864c1..c2d306d4b9f 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php @@ -33,7 +33,7 @@ use Symfony\Component\HttpKernel\Exception\PreconditionFailedHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\ResourceType\ResourceType diff --git a/core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php b/core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php index 6468aaff068..8a66abf5a5b 100644 --- a/core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php +++ b/core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\ResourceType; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ interface ResourceTypeRepositoryInterface { diff --git a/core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php b/core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php index d30f4a85962..f56a3aa8d51 100644 --- a/core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php +++ b/core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\Revisions; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class InvalidVersionIdentifierException extends \InvalidArgumentException {} diff --git a/core/modules/jsonapi/src/Revisions/NegotiatorBase.php b/core/modules/jsonapi/src/Revisions/NegotiatorBase.php index 0adc78afba6..2253090353a 100644 --- a/core/modules/jsonapi/src/Revisions/NegotiatorBase.php +++ b/core/modules/jsonapi/src/Revisions/NegotiatorBase.php @@ -11,7 +11,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ abstract class NegotiatorBase implements VersionNegotiatorInterface { diff --git a/core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php b/core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php index 8da175894ce..bc7694fafb8 100644 --- a/core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php +++ b/core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php @@ -18,7 +18,7 @@ use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class ResourceVersionRouteEnhancer implements EnhancerInterface { @@ -103,7 +103,7 @@ final class ResourceVersionRouteEnhancer implements EnhancerInterface { /* Uncomment the next line and remove the following one when https://www.drupal.org/project/drupal/issues/3002352 lands in core. */ /* throw new CacheableHttpException($cacheability, 501, 'Resource versioning is not yet supported for this resource type.'); */ $message = 'JSON:API does not yet support resource versioning for this resource type.'; - $message .= ' For context, see https://www.drupal.org/project/jsonapi/issues/2992833#comment-12818258.'; + $message .= ' For context, see https://www.drupal.org/project/drupal/issues/2992833#comment-12818258.'; $message .= ' To contribute, see https://www.drupal.org/project/drupal/issues/2350939 and https://www.drupal.org/project/drupal/issues/2809177.'; throw new CacheableHttpException($cacheability, 501, $message, NULL, []); } diff --git a/core/modules/jsonapi/src/Revisions/VersionById.php b/core/modules/jsonapi/src/Revisions/VersionById.php index 4337d37528f..36c9825d3a1 100644 --- a/core/modules/jsonapi/src/Revisions/VersionById.php +++ b/core/modules/jsonapi/src/Revisions/VersionById.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class VersionById extends NegotiatorBase implements VersionNegotiatorInterface { diff --git a/core/modules/jsonapi/src/Revisions/VersionByRel.php b/core/modules/jsonapi/src/Revisions/VersionByRel.php index f825b6533f9..0033c1429a9 100644 --- a/core/modules/jsonapi/src/Revisions/VersionByRel.php +++ b/core/modules/jsonapi/src/Revisions/VersionByRel.php @@ -11,7 +11,7 @@ use Drupal\Core\Entity\RevisionableInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class VersionByRel extends NegotiatorBase { diff --git a/core/modules/jsonapi/src/Revisions/VersionNegotiator.php b/core/modules/jsonapi/src/Revisions/VersionNegotiator.php index 157efa529fc..76bd43f0f19 100644 --- a/core/modules/jsonapi/src/Revisions/VersionNegotiator.php +++ b/core/modules/jsonapi/src/Revisions/VersionNegotiator.php @@ -13,7 +13,7 @@ use Drupal\Core\Http\Exception\CacheableNotFoundHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\Revisions\VersionNegotiatorInterface diff --git a/core/modules/jsonapi/src/Revisions/VersionNegotiatorInterface.php b/core/modules/jsonapi/src/Revisions/VersionNegotiatorInterface.php index 03a9d8023d3..a7964686159 100644 --- a/core/modules/jsonapi/src/Revisions/VersionNegotiatorInterface.php +++ b/core/modules/jsonapi/src/Revisions/VersionNegotiatorInterface.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityInterface; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php * * @see \Drupal\jsonapi\Revisions\VersionNegotiator diff --git a/core/modules/jsonapi/src/Revisions/VersionNotFoundException.php b/core/modules/jsonapi/src/Revisions/VersionNotFoundException.php index cd6fb4b60eb..72d0e383461 100644 --- a/core/modules/jsonapi/src/Revisions/VersionNotFoundException.php +++ b/core/modules/jsonapi/src/Revisions/VersionNotFoundException.php @@ -8,7 +8,7 @@ namespace Drupal\jsonapi\Revisions; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class VersionNotFoundException extends \InvalidArgumentException { diff --git a/core/modules/jsonapi/src/Routing/RouteEnhancer.php b/core/modules/jsonapi/src/Routing/RouteEnhancer.php index 0c3b1b477e6..1a663fa31b5 100644 --- a/core/modules/jsonapi/src/Routing/RouteEnhancer.php +++ b/core/modules/jsonapi/src/Routing/RouteEnhancer.php @@ -12,7 +12,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class RouteEnhancer implements EnhancerInterface { diff --git a/core/modules/jsonapi/src/Routing/Routes.php b/core/modules/jsonapi/src/Routing/Routes.php index 7ba8338112c..77fd86751b0 100644 --- a/core/modules/jsonapi/src/Routing/Routes.php +++ b/core/modules/jsonapi/src/Routing/Routes.php @@ -19,7 +19,7 @@ use Symfony\Component\Routing\RouteCollection; * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ class Routes implements ContainerInjectionInterface { diff --git a/core/modules/jsonapi/src/Serializer/Serializer.php b/core/modules/jsonapi/src/Serializer/Serializer.php index 67c07c473ef..709cf770949 100644 --- a/core/modules/jsonapi/src/Serializer/Serializer.php +++ b/core/modules/jsonapi/src/Serializer/Serializer.php @@ -12,12 +12,12 @@ use Symfony\Component\Serializer\Serializer as SymfonySerializer; * Backwards compatibility is in no way guaranteed and will almost certainly be * broken in the future. * - * @link https://www.drupal.org/project/jsonapi/issues/2923779#comment-12407443 + * @link https://www.drupal.org/project/drupal/issues/2923779#comment-12407443 * * @internal JSON:API maintains no PHP API since its API is the HTTP API. This * class may change at any time and this will break any dependencies on it. * - * @see https://www.drupal.org/project/jsonapi/issues/3032787 + * @see https://www.drupal.org/project/drupal/issues/3032787 * @see jsonapi.api.php */ final class Serializer extends SymfonySerializer { diff --git a/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php b/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php index e4a71d21aff..9537227ccb2 100644 --- a/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php +++ b/core/modules/jsonapi/tests/src/Functional/BlockContentTest.php @@ -200,7 +200,7 @@ class BlockContentTest extends ResourceTestBase { * {@inheritdoc} */ public function testRelated() { - $this->markTestSkipped('Remove this in https://www.drupal.org/project/jsonapi/issues/2940339'); + $this->markTestSkipped('Remove this in https://www.drupal.org/project/drupal/issues/2940339'); } /** diff --git a/core/modules/jsonapi/tests/src/Functional/CommentTest.php b/core/modules/jsonapi/tests/src/Functional/CommentTest.php index 085c0480c3e..be754583578 100644 --- a/core/modules/jsonapi/tests/src/Functional/CommentTest.php +++ b/core/modules/jsonapi/tests/src/Functional/CommentTest.php @@ -392,7 +392,7 @@ class CommentTest extends ResourceTestBase { * {@inheritdoc} */ public function testRelated() { - $this->markTestSkipped('Remove this in https://www.drupal.org/project/jsonapi/issues/2940339'); + $this->markTestSkipped('Remove this in https://www.drupal.org/project/drupal/issues/2940339'); } /** diff --git a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php index 5c9097df54d..7bc857b0e92 100644 --- a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php +++ b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php @@ -117,10 +117,10 @@ class ConfigurableLanguageTest extends ResourceTestBase { /** * Test a GET request for a default config entity, which has a _core key. * - * @see https://www.drupal.org/project/jsonapi/issues/2915539 + * @see https://www.drupal.org/project/drupal/issues/2915539 */ public function testGetIndividualDefaultConfig() { - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute('jsonapi.configurable_language--configurable_language.individual', ['entity' => ConfigurableLanguage::load('en')->uuid()]); /* $url = ConfigurableLanguage::load('en')->toUrl('jsonapi'); */ diff --git a/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php b/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php index 01626f09b3f..3214ca43018 100644 --- a/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php +++ b/core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php @@ -145,7 +145,7 @@ class ExternalNormalizersTest extends BrowserTestBase { $this->assertSame(static::VALUE_ORIGINAL, $denormalized_entity->field_test->value); // Asserts the expected JSON:API normalization. - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute('jsonapi.entity_test--entity_test.individual', ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $client = $this->getSession()->getDriver()->getClient()->getClient(); diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php index 35379fa1f06..949da0a6a74 100644 --- a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php +++ b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php @@ -51,7 +51,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure filtering on relationships works with bundle-specific target types. * - * @see https://www.drupal.org/project/jsonapi/issues/2953207 + * @see https://www.drupal.org/project/drupal/issues/2953207 */ public function testBundleSpecificTargetEntityTypeFromIssue2953207() { // Set up data model. @@ -87,7 +87,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure deep nested include works on multi target entity type field. * - * @see https://www.drupal.org/project/jsonapi/issues/2973681 + * @see https://www.drupal.org/project/drupal/issues/2973681 */ public function testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681() { // Set up data model. @@ -151,7 +151,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure POST and PATCH works for bundle-less relationship routes. * - * @see https://www.drupal.org/project/jsonapi/issues/2976371 + * @see https://www.drupal.org/project/drupal/issues/2976371 */ public function testBundlelessRelationshipMutationFromIssue2973681() { $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); @@ -202,7 +202,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures GETting terms works when multiple vocabularies exist. * - * @see https://www.drupal.org/project/jsonapi/issues/2977879 + * @see https://www.drupal.org/project/drupal/issues/2977879 */ public function testGetTermWhenMultipleVocabulariesExistFromIssue2977879() { // Set up data model. @@ -238,7 +238,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Cannot PATCH an entity with dangling references in an ER field. * - * @see https://www.drupal.org/project/jsonapi/issues/2968972 + * @see https://www.drupal.org/project/drupal/issues/2968972 */ public function testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972() { $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); @@ -309,7 +309,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures GETting node collection + hook_node_grants() implementations works. * - * @see https://www.drupal.org/project/jsonapi/issues/2984964 + * @see https://www.drupal.org/project/drupal/issues/2984964 */ public function testGetNodeCollectionWithHookNodeGrantsImplementationsFromIssue2984964() { // Set up data model. @@ -340,7 +340,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Cannot GET an entity with dangling references in an ER field. * - * @see https://www.drupal.org/project/jsonapi/issues/2984647 + * @see https://www.drupal.org/project/drupal/issues/2984647 */ public function testDanglingReferencesInAnEntityReferenceFieldFromIssue2984647() { // Set up data model. @@ -470,7 +470,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { * Adding a new relationship field should cause new routes to be immediately * regenerated. The site builder should not need to manually rebuild caches. * - * @see https://www.drupal.org/project/jsonapi/issues/2984886 + * @see https://www.drupal.org/project/drupal/issues/2984886 */ public function testThatRoutesAreRebuiltAfterDataModelChangesFromIssue2984886() { $user = $this->drupalCreateUser(['access content']); @@ -526,7 +526,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures denormalizing relationships with aliased field names works. * - * @see https://www.drupal.org/project/jsonapi/issues/3007113 + * @see https://www.drupal.org/project/drupal/issues/3007113 * @see https://www.drupal.org/project/jsonapi_extras/issues/3004582#comment-12817261 */ public function testDenormalizeAliasedRelationshipFromIssue2953207() { @@ -584,7 +584,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures that Drupal's page cache is effective. * - * @see https://www.drupal.org/project/jsonapi/issues/3009596 + * @see https://www.drupal.org/project/drupal/issues/3009596 */ public function testPageCacheFromIssue3009596() { $anonymous_role = Role::load(RoleInterface::ANONYMOUS_ID); @@ -619,7 +619,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures that filtering by a sequential internal ID named 'id' is possible. * - * @see https://www.drupal.org/project/jsonapi/issues/3015759 + * @see https://www.drupal.org/project/drupal/issues/3015759 */ public function testFilterByIdFromIssue3015759() { // Set up data model. @@ -659,7 +659,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures datetime fields are normalized using the correct timezone. * - * @see https://www.drupal.org/project/jsonapi/issues/2999438 + * @see https://www.drupal.org/project/drupal/issues/2999438 */ public function testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194() { // Set up data model. @@ -708,7 +708,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensures PATCHing datetime (both date-only & date+time) fields is possible. * - * @see https://www.drupal.org/project/jsonapi/issues/3021194 + * @see https://www.drupal.org/project/drupal/issues/3021194 */ public function testPatchingDateTimeFieldsFromIssue3021194() { $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); @@ -791,7 +791,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure includes are respected even when POSTing. * - * @see https://www.drupal.org/project/jsonapi/issues/3026030 + * @see https://www.drupal.org/project/drupal/issues/3026030 */ public function testPostToIncludeUrlDoesNotReturnIncludeFromIssue3026030() { $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); @@ -828,7 +828,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure includes are respected even when PATCHing. * - * @see https://www.drupal.org/project/jsonapi/issues/3026030 + * @see https://www.drupal.org/project/drupal/issues/3026030 */ public function testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030() { $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); @@ -874,7 +874,7 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Ensure `@FieldType=map` fields are normalized correctly. * - * @see https://www.drupal.org/project/jsonapi/issues/3040590 + * @see https://www.drupal.org/project/drupal/issues/3040590 */ public function testMapFieldTypeNormalizationFromIssue3040590() { $this->assertTrue($this->container->get('module_installer')->install(['entity_test'], TRUE), 'Installed modules.'); @@ -1254,8 +1254,8 @@ class JsonApiRegressionTest extends JsonApiFunctionalTestBase { /** * Tests that "virtual/missing" resources can exist for renamed fields. * - * @see https://www.drupal.org/project/jsonapi/issues/3034786 - * @see https://www.drupal.org/project/jsonapi_extras/issues/3035544 + * @see https://www.drupal.org/project/drupal/issues/3034786 + * @see https://www.drupal.org/project/drupal/issues/3035544 */ public function testAliasedFieldsWithVirtualRelationships() { // Set up the data model. diff --git a/core/modules/jsonapi/tests/src/Functional/MediaTest.php b/core/modules/jsonapi/tests/src/Functional/MediaTest.php index 38911ea95ec..b630dcc6fb0 100644 --- a/core/modules/jsonapi/tests/src/Functional/MediaTest.php +++ b/core/modules/jsonapi/tests/src/Functional/MediaTest.php @@ -348,7 +348,7 @@ class MediaTest extends ResourceTestBase { */ public function testPostIndividual() { // @todo Mimic \Drupal\Tests\rest\Functional\EntityResource\Media\MediaResourceTestBase::testPost() - // @todo Later, use https://www.drupal.org/project/jsonapi/issues/2958554 to upload files rather than the REST module. + // @todo Later, use https://www.drupal.org/project/drupal/issues/2958554 to upload files rather than the REST module. parent::testPostIndividual(); } // @codingStandardsIgnoreEnd diff --git a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php index 05d7f47c246..f5e2fcd7249 100644 --- a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php +++ b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php @@ -176,7 +176,7 @@ class MenuLinkContentTest extends ResourceTestBase { * {@inheritdoc} */ public function testRelated() { - $this->markTestSkipped('Remove this in https://www.drupal.org/project/jsonapi/issues/2940339'); + $this->markTestSkipped('Remove this in https://www.drupal.org/project/drupal/issues/2940339'); } /** diff --git a/core/modules/jsonapi/tests/src/Functional/NodeTest.php b/core/modules/jsonapi/tests/src/Functional/NodeTest.php index 363c69ec45f..6800460182c 100644 --- a/core/modules/jsonapi/tests/src/Functional/NodeTest.php +++ b/core/modules/jsonapi/tests/src/Functional/NodeTest.php @@ -271,7 +271,7 @@ class NodeTest extends ResourceTestBase { $this->setUpAuthorization('PATCH'); $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); @@ -311,14 +311,14 @@ class NodeTest extends ResourceTestBase { // Unpublish node. $this->entity->setUnpublished()->save(); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = $this->getAuthenticationRequestOptions(); // 403 when accessing own unpublished node. $response = $this->request('GET', $url, $request_options); - // @todo Remove $expected + assertResourceResponse() in favor of the commented line below once https://www.drupal.org/project/jsonapi/issues/2943176 lands. + // @todo Remove $expected + assertResourceResponse() in favor of the commented line below once https://www.drupal.org/project/drupal/issues/2943176 lands. $expected_document = [ 'jsonapi' => static::$jsonApiMember, 'errors' => [ @@ -374,7 +374,7 @@ class NodeTest extends ResourceTestBase { ]); // After saving the entity the normalization should not be cached. $this->assertFalse($cache); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $uuid]); // $url = $this->entity->toUrl('jsonapi'); $request_options = $this->getAuthenticationRequestOptions(); diff --git a/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php b/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php index c364edcca0a..efedfac0a01 100644 --- a/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php +++ b/core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php @@ -906,7 +906,7 @@ abstract class ResourceTestBase extends BrowserTestBase { // - to first test all mistakes a developer might make, and assert that the // error responses provide a good DX // - to eventually result in a well-formed request that succeeds. - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = []; @@ -1986,7 +1986,7 @@ abstract class ResourceTestBase extends BrowserTestBase { if (get_class($this->entityStorage) !== ContentEntityNullStorage::class) { $created_entity = $this->entityLoadUnchanged(static::$firstCreatedEntityId); $uuid = $created_entity->uuid(); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $location = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $uuid]); if (static::$resourceTypeIsVersionable) { assert($created_entity instanceof RevisionableInterface); @@ -2040,7 +2040,7 @@ abstract class ResourceTestBase extends BrowserTestBase { if ($this->entity->getEntityType()->getStorageClass() !== ContentEntityNullStorage::class && $this->entity->getEntityType()->hasKey('uuid')) { $second_created_entity = $this->entityStorage->load(static::$secondCreatedEntityId); $uuid = $second_created_entity->uuid(); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $location = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $uuid]); /* $location = $this->entityStorage->load(static::$secondCreatedEntityId)->toUrl('jsonapi')->setAbsolute(TRUE)->toString(); */ if (static::$resourceTypeIsVersionable) { @@ -2120,7 +2120,7 @@ abstract class ResourceTestBase extends BrowserTestBase { // - to first test all mistakes a developer might make, and assert that the // error responses provide a good DX // - to eventually result in a well-formed request that succeeds. - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = []; @@ -2375,7 +2375,7 @@ abstract class ResourceTestBase extends BrowserTestBase { $updated_entity->setNewRevision(); $updated_entity->save(); $actual_response = $this->request('PATCH', $url, $request_options); - $this->assertResourceErrorResponse(400, 'Updating a resource object that has a working copy is not yet supported. See https://www.drupal.org/project/jsonapi/issues/2795279.', $url, $actual_response); + $this->assertResourceErrorResponse(400, 'Updating a resource object that has a working copy is not yet supported. See https://www.drupal.org/project/drupal/issues/2795279.', $url, $actual_response); // Allow PATCHing an unpublished default revision. $updated_entity->set('moderation_state', 'archived'); @@ -2416,7 +2416,7 @@ abstract class ResourceTestBase extends BrowserTestBase { // - to first test all mistakes a developer might make, and assert that the // error responses provide a good DX // - to eventually result in a well-formed request that succeeds. - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = []; @@ -2699,7 +2699,7 @@ abstract class ResourceTestBase extends BrowserTestBase { $request_options = NestedArray::mergeDeep($request_options, $this->getAuthenticationRequestOptions()); $response = $this->request('GET', $url, $request_options); $detail = 'JSON:API does not yet support resource versioning for this resource type.'; - $detail .= ' For context, see https://www.drupal.org/project/jsonapi/issues/2992833#comment-12818258.'; + $detail .= ' For context, see https://www.drupal.org/project/drupal/issues/2992833#comment-12818258.'; $detail .= ' To contribute, see https://www.drupal.org/project/drupal/issues/2350939 and https://www.drupal.org/project/drupal/issues/2809177.'; $expected_cache_contexts = [ 'url.path', @@ -2736,7 +2736,7 @@ abstract class ResourceTestBase extends BrowserTestBase { $entity->save(); $latest_revision_id = (int) $entity->getRevisionId(); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()])->setAbsolute(); // $url = $this->entity->toUrl('jsonapi'); $collection_url = Url::fromRoute(sprintf('jsonapi.%s.collection', static::$resourceTypeName))->setAbsolute(); diff --git a/core/modules/jsonapi/tests/src/Functional/TermTest.php b/core/modules/jsonapi/tests/src/Functional/TermTest.php index 2cae64dba6f..efb59122a4b 100644 --- a/core/modules/jsonapi/tests/src/Functional/TermTest.php +++ b/core/modules/jsonapi/tests/src/Functional/TermTest.php @@ -372,7 +372,7 @@ class TermTest extends ResourceTestBase { $this->setUpAuthorization('PATCH'); $this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = []; @@ -438,7 +438,7 @@ class TermTest extends ResourceTestBase { // Modify the entity under test to use the provided parent terms. $this->entity->set('parent', $parent_term_ids)->save(); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.%s.individual', static::$resourceTypeName), ['entity' => $this->entity->uuid()]); // $url = $this->entity->toUrl('jsonapi'); $request_options = []; @@ -473,7 +473,7 @@ class TermTest extends ResourceTestBase { * {@inheritdoc} */ public function testRelated() { - $this->markTestSkipped('Remove this in https://www.drupal.org/project/jsonapi/issues/2940339'); + $this->markTestSkipped('Remove this in https://www.drupal.org/project/drupal/issues/2940339'); } /** diff --git a/core/modules/jsonapi/tests/src/Functional/UserTest.php b/core/modules/jsonapi/tests/src/Functional/UserTest.php index 85ab8f7e2c3..b08df8eb26b 100644 --- a/core/modules/jsonapi/tests/src/Functional/UserTest.php +++ b/core/modules/jsonapi/tests/src/Functional/UserTest.php @@ -203,7 +203,7 @@ class UserTest extends ResourceTestBase { * Tests PATCHing security-sensitive base fields of the logged in account. */ public function testPatchDxForSecuritySensitiveBaseFields() { - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.user--user.individual'), ['entity' => $this->account->uuid()]); /* $url = $this->account->toUrl('jsonapi'); */ @@ -321,7 +321,7 @@ class UserTest extends ResourceTestBase { * Tests PATCHing security-sensitive base fields to change other users. */ public function testPatchSecurityOtherUser() { - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $url = Url::fromRoute(sprintf('jsonapi.user--user.individual'), ['entity' => $this->account->uuid()]); /* $url = $this->account->toUrl('jsonapi'); */ @@ -379,7 +379,7 @@ class UserTest extends ResourceTestBase { $this->grantPermissionsToTestedRole(['access user profiles']); $collection_url = Url::fromRoute('jsonapi.user--user.collection', [], ['query' => ['sort' => 'drupal_internal__uid']]); - // @todo Remove line below in favor of commented line in https://www.drupal.org/project/jsonapi/issues/2878463. + // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463. $user_a_url = Url::fromRoute(sprintf('jsonapi.user--user.individual'), ['entity' => $user_a->uuid()]); /* $user_a_url = $user_a->toUrl('jsonapi'); */ $request_options = []; diff --git a/core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php b/core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php index 9ca239a615d..6fa0ff0bb2b 100644 --- a/core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php @@ -302,7 +302,7 @@ class JsonApiDocumentTopLevelNormalizerTest extends JsonapiKernelTestBase { * @covers ::normalize */ public function testNormalizeRelated() { - $this->markTestIncomplete('This fails and should be fixed by https://www.drupal.org/project/jsonapi/issues/2922121'); + $this->markTestIncomplete('This fails and should be fixed by https://www.drupal.org/project/drupal/issues/2922121'); list($request, $resource_type) = $this->generateProphecies('node', 'article', 'uid'); $request->query = new ParameterBag([