Commit Graph

109 Commits (14aca8012f67fb0ef1fc9355f5e66718440bc3b1)

Author SHA1 Message Date
Alex Pott 0a6a417ec9
Issue #3073318 by Spokje, Mile23, mondrake: Remove usages of \PHPUnit_Framework_MockObject_MockObject 2019-09-02 12:24:14 +01:00
Alex Pott e82e0c0573
Issue #3059090 by clepson, mondrake, alexpott: Deprecate \Drupal\Tests\PhpunitCompatibilityTrait::setExpectedException() 2019-06-11 12:38:53 +03:00
Alex Pott 91fe1d2f77
Issue #2929133 by voleger, alexpott, Lendude: Replace all usages of getMock() 2019-05-31 10:22:21 +01:00
Lee Rowlands ba509afbc9
Issue #3047866 by mikelutz, Berdir, TR, alexpott, andypost, Satyanarayan Reddy: Remove usage of deprecated \Drupal::entityManager() in core 2019-05-24 16:44:36 +10:00
Alex Pott 7555529a7e
Issue #3034015 by mondrake, Wim Leers, Mile23: Class to test deprecation error for deprecated trait triggers deprecation error itself 2019-04-01 23:10:24 +01:00
Nathaniel Catchpole c67761090d Issue #3002206 by jibran, longwave, truls1502, alexpott, NickWilde: Update the stable version of drupal/coder to ˆ8.3.1 2019-03-26 14:37:28 +00:00
Nathaniel Catchpole 1506b0af4d Issue #3037970 by Berdir, Baysaa: Custom serialized field's data should be normalized even if it's empty 2019-03-13 17:04:47 +00:00
xjm d540d8d635 Issue #3034695 by xjm, neclimdul: Fix coding standard errors from SA-CORE-2019-003 2019-02-21 16:38:51 -06:00
xjm a12f2100f8 SA-CORE-2019-003 by samuel.mortenson, Berdir, pwolanin, dawehner, cashwilliams, Wim Leers, xjm, larowlan, alexpott, plach, damiankloip, tstoeckler, tedbow, DamienMcKenna, effulgentsia, RobLoach, gabesullice, drumm, heshanlk, dsnopek, fago, miro_dietiker, truls1502 2019-02-20 12:36:56 -06:00
Francesco Placella c8dc57eede Issue #2926508 by Wim Leers, mpdonadio, joelstein, tacituseu, jhedstrom, effulgentsia, tedbow, mradcliffe, borisson_, dawehner, larowlan: Add DateTimeNormalizer+TimestampNormalizer, deprecate TimestampItemNormalizer: @DataType-level normalizers are reusable by JSON:API 2019-02-16 00:13:43 +01:00
Francesco Placella 1ab093210a Issue #2957385 by Wim Leers, gabesullice, jibran, tim.plunkett: FieldItemNormalizer never calls @DataType-level normalizer service' ::denormalize() method 2019-01-27 16:58:01 +01:00
Alex Pott 7dcda1f625
Issue #2977107 by Berdir, alexpott, jibran, larowlan: Use more specific entity.manager services in module .services.yml files 2019-01-11 14:13:39 +00:00
Nathaniel Catchpole a979848a71 Issue #3020001 by Wim Leers, jeqq: Error when normalizing entity reference field item that references to a new entity 2019-01-07 11:45:52 +00:00
Alex Pott 60505f3693
Issue #3019834 by Berdir, alexpott: Add @trigger_error() to deprecated url/link EntityInterface methods 2018-12-23 14:30:20 +01:00
Nathaniel Catchpole d8a6a68bbf Issue #2787871 by alexpott, yogeshmpawar, Insasse, Prashant.c, catch, hass: Properly deprecate getUserName() and use getAccountName() instead 2018-10-08 11:24:56 +01:00
Alex Pott 68c0fd81dc
Issue #2922487 by Wim Leers, Jo Fitzgerald, Berdir, tedbow, borisson_, dawehner, alexpott: Follow-up for #2910211: fix all deprecation warnings 2018-09-20 15:47:52 +01:00
Nathaniel Catchpole 0ab2dc4e07 Issue #2997771 by martin107, longwave: GetResponseForExceptionEvent: Prepare for Drupal9 2018-09-13 16:21:01 +01:00
xjm fa6b3d95dd Revert "Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase"
This reverts commit 69501f3062.
2018-08-16 18:12:22 -05:00
Nathaniel Catchpole 725e36091e Issue #2895532 by caseylau, Wim Leers, tedbow, dawehner, DamienMcKenna, gabesullice, Berdir, mistermoper, skyredwang, larowlan, bojanz: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map 2018-08-16 11:35:24 +09:00
Nathaniel Catchpole 69501f3062 Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase 2018-08-15 19:55:23 +09:00
Alex Pott 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Alex Pott a46c46194d
Issue #2935738 by samuel.mortenson, Wim Leers, Berdir: Entity reference field subclasses (such as file and image fields) lose the non-default properties upon denormalization, in both hal_json and json 2018-06-18 09:28:31 +01:00
Lee Rowlands 0d6d22af0b
Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop 2018-05-15 06:49:38 +10:00
Nathaniel Catchpole c2585a1888 Issue #2961691 by alexpott, Berdir, timmillwood, idebr: Change SYMFONY_DEPRECATIONS_HELPER back to strict 2018-05-11 15:20:00 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +01:00
Nathaniel Catchpole 7eaf9abc72 Issue #2937850 by Wim Leers, plach: Mark revision_default as internal for REST consumers 2018-02-19 12:11:24 +00:00
Nathaniel Catchpole efd626d075 Issue #2920536 by Wim Leers, Grayside: Force all serializer encoders + normalizers services to be private 2018-01-23 12:12:41 +00:00
Lee Rowlands 8640a9df49
Issue #2543726 by damiankloip, Wim Leers, claudiu.cristea, voleger, dagmar, dawehner, amateescu, tedbow, FredCorreia, mgalalm, caseylau, jibran, dbjpanda, pcambra, Grimreaper, idebr, dmouse, larowlan, Berdir, chx, andypost, yched, fgm: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration 2018-01-16 09:40:26 +10:00
effulgentsia 49c6761b56 Issue #2891215 by plach, timmillwood, hchonov, amateescu, catch, gabesullice: Add a way to track whether a revision was default when originally created 2018-01-12 15:29:04 -08:00
effulgentsia 2909c978d0 Issue #2924724 by plach, hchonov, timmillwood, Gábor Hojtsy, amateescu, gabesullice, catch: Add an API to create a new revision correctly handling multilingual pending revisions 2018-01-12 10:52:55 -08:00
Lee Rowlands 9ba7824211
Issue #2626924 by Wim Leers, tedbow, dawehner, frob, martin107, damiankloip, dagmar, almaudoh, Berdir, larowlan, amateescu: Include processed text in normalizations: "text" field type's "processed" computed property should be non-internal and carry cacheability metadata 2018-01-01 16:16:51 +10:00
webchick 66d19eaa71 Issue #2927566 by Wim Leers: Unit test EntityReferenceFieldItemNormalizerTest mocks incorrectly 2017-12-15 11:59:49 -08:00
xjm 6dc062eb45 Issue #2901562 by mfernea, Jo Fitzgerald, Yogesh Pawar, 3ssom, Mile23, borisson_: Fix 'Squiz.WhiteSpace.SuperfluousWhitespace' coding standard 2017-11-09 15:13:57 -06:00
Lee Rowlands c74c39e133
Issue #2871591 by tedbow, Wim Leers, dagmar, borisson_, amateescu, dawehner, damiankloip, tstoeckler, mradcliffe, larowlan: Allow ComplexData in TypedData to specify computed properties that should be exposed in normalization and other contexts 2017-11-06 09:14:37 +10:00
Lee Rowlands 96452be02f
Issue #2915414 by Wim Leers, dawehner: Omit "_core" key from normalized config entities, which includes the default config hash 2017-10-19 08:40:31 +10:00
Nathaniel Catchpole 64ffc1ff4d Issue #2902726 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital' coding standard 2017-08-21 19:56:09 +09:00
Nathaniel Catchpole 88d1f67ece Issue #2896845 by amateescu, pk188, plach, timmillwood, Sam152: Provide the 'revision_translation_affected' base field by default for all revisionable and translatable entity types 2017-08-14 10:46:10 +09:00
Alex Pott da74f223c3 Issue #2768651 by damiankloip, Wim Leers, mpdonadio, Munavijayalakshmi, Jo Fitzgerald, jhedstrom: Let TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX timestamps, for better DX 2017-05-24 21:47:56 +01:00
Alex Pott 081132ddb7 Issue #2685097 by damiankloip, Wim Leers: Fatal error: Call to a member function normalize() on a non-object in XmlEncoder when encoding into xml and there are embedded objects in the response 2017-04-25 22:30:27 +01:00
Alex Pott 2cd2ec6c39 Issue #2827164 by tedbow, damiankloip, Wim Leers, dawehner: Entity reference field normalization has target_type and target_uuid, but not used in denormalization 2017-04-11 13:48:32 +01:00
Alex Pott 75f0c02a79 Issue #2850797 by maxocub, dawehner, alexpott: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x 2017-04-04 15:29:18 +01:00
Alex Pott e2554cedeb Issue #2865413 by Jo Fitzgerald, GoZ, klausi: Move RegisterSerializationClassesCompilerPassTest.php to correct location 2017-04-03 15:45:23 +01:00
Alex Pott 4656717240 Issue #2822837 by vaplas, martin107, chiranjeeb2410, klausi, dawehner: Replace @expectedException @expectedExceptionMessage with $this->setExpectedException 2017-03-27 11:26:01 +01:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
xjm 6cca8a6da0 Issue #2751325 by damiankloip, Grayside, dawehner, Wim Leers, catch, tedbow, alexpott, himanshu-dixit, Jo Fitzgerald, xjm, andrewbelcher, skyredwang, effulgentsia, hampercm, eelkeblok: All serialized values are strings, should be integers/booleans when appropriate 2017-02-28 10:13:35 -06:00
Nathaniel Catchpole 55a4f988c1 Issue #2854830 by Wim Leers: Move rest/serialization module's "link manager" services to HAL module 2017-02-27 12:22:01 +00:00
xjm f2c2531c52 Issue #2848933 by Wim Leers, tstoeckler: SerializationLinkManagerTest should not enable the rest_test module (because it implicitly enables the rest module) 2017-02-13 04:03:07 -06:00
effulgentsia bfaf6b6e0f Issue #2758897 by Wim Leers, damiankloip, larowlan: Move rest module's "link manager" services to serialization module 2017-01-30 21:53:34 -08:00