Commit Graph

4793 Commits (42de5b1df41e249b7975af71ebe5be39798b106c)

Author SHA1 Message Date
Lee Rowlands 7599ccbd49
Issue #3392572 by benjifisher, Liam Morland, ricovandevin, Anybody, smustgrave, quietone, sabrina.liman, carolpettirossi, longwave, alexpott: Add missing category to Drupal\layout_builder\Plugin\Layout\BlankLayout and let modules and themes alter the list of layouts
(cherry picked from commit cc32980f5a)
2024-07-22 09:18:50 +10:00
Lee Rowlands b54e7f4d39
Issue #3440848 by mondrake, quietone, daffie: Ensure post transaction callbacks are only at the end of the root Drupal transaction
(cherry picked from commit f276f6a9dd)
2024-07-22 08:31:05 +10:00
catch 47c7289dad Issue #2719657 by quietone, andypost, Mile23, Spokje, ilya.no, xjm, alexpott, smustgrave: Fix 'Drupal.Commenting.InlineComment.NotCapital' coding standard
(cherry picked from commit 833aa93b44)
2024-07-19 21:34:04 +09:00
Alex Pott f734ef114e
Issue #3454603 by phenaproxima, thejimbirch, Prashant.c, alexpott: Many core recipes are not idempotent
(cherry picked from commit 9f3ee1ff55)
2024-07-17 16:46:58 +01:00
quietone 39ea39e671
Issue #3458966 by apaderno, smustgrave: Correct the punctuation on the description for \Drupal\Tests\UnitTestCase
(cherry picked from commit bf4dfeaaca)
2024-07-14 14:44:53 +12:00
catch efac917de0 Issue #2408549 by alexpott, narendraR, yash.rode, kunal.sachdev, lauriii, Liam Morland, Wim Leers, Hardik_Patel_12, jofitz, DamienMcKenna, eiriksm, andypost, jenlampton, Gábor Hojtsy, swentel, borisson_, jhedstrom, snehi, Elijah Lynn, narendra.rajwar27, Shubham Chandra, smustgrave, sime, AaronMcHale, Chi, karolus, rkoller, joshua.boltz, anavarre, colan, frob, Berdir, bircher, minnur, effulgentsia, quietone, catch, xjm, hanoii, benjifisher, worldlinemine, larowlan, longwave, simohell, shaal, worldlinemine: Display status message on configuration forms when there are overridden values
(cherry picked from commit 4689516656f8b0f58569923fc786a2c780929df4)
2024-07-10 13:58:41 +01:00
catch c9537b0df8 Issue #3108658 by alexpott, mikelutz, catch, xjm, nicxvan, longwave: Handling update path divergence between 11.x and 10.x
(cherry picked from commit df700a8d66)
2024-07-09 19:54:05 +01:00
Alex Pott fb01ccaea3
Issue #3455820 by nicxvan, alexpott, smustgrave: Decompress files for config_install
(cherry picked from commit cb746fd14a)
2024-07-09 18:06:26 +01:00
catch a17e648a24 Issue #3449851 by Liam Morland, alexpott, smustgrave, solideogloria, catch, kopeboy: Replace LogicException with trigger_error in LangcodeRequiredIfTranslatableValues constraint 2024-07-08 15:49:30 +01:00
Dave Long 2d42a30bba
Issue #3156672 by kim.pepper, joegraduate, longwave, PieterDC, smustgrave, tstoeckler, alexpott: ExtensionMimeTypeGuesser breaks other mime_type_guesser services
(cherry picked from commit cc9baee953)
2024-07-08 11:04:07 +01:00
catch 8a65d1f5ff Issue #3318988 by andypost, longwave, quietone: Finish deprecating status code and header assertions in JS tests
(cherry picked from commit 902eab09c7)
2024-07-03 18:05:26 +01:00
Alex Pott a12f8c3675
Issue #3456890 by TravisCarden, smustgrave: 'The "%plugin_id" was not found' warning message is confusing
(cherry picked from commit 54f16eb60c)
2024-07-02 10:26:59 +01:00
Alex Pott 8ccb11b3cf
Issue #3418999 by quietone: Correct spelling of autocomplete type words
(cherry picked from commit 99fb99967b4c59d1f14661e2d2c2eb4d905f5209)
2024-07-02 10:22:31 +01:00
Alex Pott 55dd331dea
Issue #3455113 by b_sharpe, ankitv18, alexpott, pooja_sharma, phenaproxima, thejimbirch: Rename ensure_exists to createIfNotExists, and camel-case simpleConfigUpdate for consistency
(cherry picked from commit 9cd7babdc7)
2024-07-01 16:07:10 +01:00
Alex Pott 48de87ec1b
Issue #3447748 by joelpittet, ramil g, smustgrave: TypeError: Illegal offset type in isset or empty in FormValidator->performRequiredValidation()
(cherry picked from commit b3ad358039)
2024-06-28 16:18:06 +03:00
Alex Pott 203adbb7e0
Issue #3455912 by quietone: Fix spelling for 10 words used in tests
(cherry picked from commit 5a9e57dc68)
2024-06-28 13:44:28 +03:00
catch e52cc0c1da Issue #3421418 by mstrelan, Spokje, xjm, mondrake, longwave, acbramley: Add void return typehints to all test methods 2024-06-19 13:57:45 +01:00
xjm fcfcbc6d64
Issue #2874067 by kkalashnikov, Nikolay Shapovalov, quietone, b_sharpe, smustgrave, xjm, benjifisher, MerryHamster, dww: Fix Drupal.Commenting.DocCommentLongArraySyntax coding standard 2024-06-17 15:22:41 -05:00
nod_ 630dd1bda0
Issue #3455058 by plopesc, smustgrave: drupalInstallModule nightwatch function does not work with Experimental modules
(cherry picked from commit f355d928bf)
2024-06-17 21:51:42 +02:00
Alex Pott be402a1aab
Issue #3454212 by nathankg, joachim: Update mentions of #2225961 in comments
(cherry picked from commit d246c43377)
2024-06-17 09:37:11 +01:00
Alex Pott b41bf7c959
Issue #3454062 by kim.pepper: Move Recipe\RollbackTest is to the FunctionalTests namespace
(cherry picked from commit a220b008bf)
2024-06-15 11:00:15 +01:00
nod_ b02bce4af0
Issue #3386191 by phthlaap, sukr_s, Ozle, brunoalmeida, smustgrave, Ashley George, shiv_yadav, larowlan: #states not working correctly when built from a logical combination of multliple fields
(cherry picked from commit 5e2806f1b5)
2024-06-13 22:03:50 +02:00
Alex Pott 396bb9323b
Issue #3121155 by quietone, lauriii, bnjmnm, tedbow: Add comments about alphabetical sorting in UpdateRegistry and test
(cherry picked from commit 218f375f7d)
2024-06-12 12:01:26 +01:00
Dave Long fd525a15c5
Issue #3207896 by andypost, alexpott: Remove URL generator priming in \Drupal\Tests\BrowserTestBase::installDrupal()
(cherry picked from commit 4acd1d0902)
2024-06-07 23:57:02 +01:00
Lee Rowlands df2dfa9122
Issue #3180696 by Spokje, Nikolay Shapovalov, adamzimmermann, quietone, manish-31, xjm, SuperfluousApostrophe, smustgrave, jonathan1055, longwave: Fix 'Drupal.Commenting.TodoComment' coding standard 2024-06-05 14:21:48 +10:00
catch c71e641ef3 Issue #3427999 by andypost, Ayesh, bbrala: [PHP 8.4] Fix implicitly nullable type declarations 2024-06-03 14:53:11 +01:00
Alex Pott 03dbcdc708
Issue #3450516 by kim.pepper: Add support for !service_closure custom tag in YamlFileLoader
(cherry picked from commit 72397df3c4)
2024-06-02 16:01:10 +01:00
catch 2477c009a0 Issue #3441222 by kristiaanvandeneynde, nicxvan, catch, alexpott, smustgrave, lauriii, quietone: Allow update.php to load when entity type info needs to be updated 2024-05-31 10:16:11 +01:00
catch 5c3b1bafba Issue #3085360 by bradjones1, josephdpurcell, Giuseppe87, ravi.shankar, rajandro, ridhimaabrol24, bbrala, andregp, jhedstrom: RouteProvider::getRouteCollectionForRequest() can poison query string of next request
(cherry picked from commit 8b19e42873)
2024-05-30 10:43:21 +01:00
nod_ bd85e4ecda
Issue #3439580 by dipakmdhrm, balagan, Shriaas, catch, BramDriesen, nicxvan: Make drupal.tableheader only use CSS for sticky table headers
(cherry picked from commit 5b5c4ec0d749c9fa9818e760cdccbf2207dcbb2c)
2024-05-24 09:36:02 +02:00
Dave Long e58b11d235
Issue #3449214 by alexpott, nicxvan: A revert has cause cspell to fail due to the word yarhar
(cherry picked from commit 28b82f67e3)
2024-05-23 10:30:10 +01:00
catch 58fd9895ea Issue #3172550 by bradjones1, DuaelFr, alexpott, smustgrave, longwave: Register Drupal's mime type guesser the Symfony MimeTypes service
(cherry picked from commit 63602ae6d1de2667c118b42f1812724d238518d4)
2024-05-21 11:41:47 +01:00
Alex Pott b1bbafa209
Issue #3448487 by catch: CoreRecipesTest is slow
(cherry picked from commit 0ad1db0b2f)
2024-05-21 11:25:38 +01:00
catch 631c33c7a8 Issue #3444232 by andypost, smustgrave: [8.4] Fix implicitly nullable type declarations for phpstan job (manual ones) 2024-05-20 15:45:15 +01:00
catch c6573cf0b2 Issue #2868384 by RoSk0, poker10, tuutti, rgeerolf, sokru, jofitz, pooja saraah, cilefen, catch, ThomWilhelm, larowlan, quietone: Allow the session name suffix to be configurable
(cherry picked from commit 9b56e16190)
2024-05-20 14:43:05 +01:00
Lee Rowlands 58cd9ce083
Issue #3447198 by phenaproxima, alexpott, nicxvan, larowlan: RecipeCommand mistakenly tries to apply a recipe even if you don't give it a valid directory
(cherry picked from commit 389c2bee0b)
2024-05-20 08:10:10 +10:00
Dave Long 43ce451db2
Issue #3447210 by alexpott, jnicola: Move RecipeDiscovery into RecipeConfigurator
(cherry picked from commit 2e3e874662)
2024-05-15 16:46:05 +01:00
Alex Pott aeb50aea4c
Issue #3445525 by alexpott, japerry, catch, mglaman, longwave: Add BC layer for contrib modules using ContainerAwareEventDispatcher as a typehint (BC fix for #2909185) 2024-05-14 12:34:24 +01:00
Alex Pott b676d86b91
Issue #3266160 by smustgrave, alex.skrypnyk, tannguyenhn, beatrizrodrigues, joachim, larowlan: Composer Scaffold plugin calls dispatch() instead of dispatchScript()
(cherry picked from commit a61eee36d2)
2024-05-11 09:21:35 +01:00
catch b4ff079507 Issue #3443117 by bbrala, longwave, quietone: Fix Drupal.Functions.MultiLineFunctionDeclaration coding standard 2024-05-10 21:55:38 +01:00
Dave Long b7c0549a3c
Issue #3445950 by alexpott, tim.plunkett: \Drupal\Core\Plugin\DefaultLazyPluginCollection::setInstanceConfiguration() assumes that $configuration results in the same plugin instance
(cherry picked from commit 926d069c2c)
2024-05-10 16:37:02 +01:00
xjm 4e72d465f3
Issue #3331229 by pminf, chadhester, zshrestha, hardikpandya, _pratik_, rogerpfaff, ultimike, xjm, mandclu, alexb7217: Use chaining for User::addRole() and ::removeRole()
(cherry picked from commit 8d512c2a2a)
2024-05-08 16:26:05 -07:00
xjm 38bd6ea0ed
Issue #3446107 by bbrala, andypost, xjm: Enforce null coalescing operator ?? instead of a ternary operator through phpcs 2024-05-08 14:32:31 -07:00
nod_ 05b6144bd0
Issue #3439646 by Tom Konda, smustgrave: Some of string comparisons should use String.prototype.startsWith() or String.prototype.endsWith()
(cherry picked from commit f5cc65456a)
2024-05-09 05:42:16 +09:00
Dave Long 54be1ad9d2
Issue #3439923 by alexpott, longwave, thejimbirch, Wim Leers, phenaproxima, immaculatexavier, nedjo, bircher, deviantintegral, franz, narendraR, omkar.podey, srishtiiee, Rajab Natshah, millnut, mondrake, amateescu, larowlan, sonfd, tasc, vasike: Add recipes api as experimental API to core 2024-05-07 10:35:12 +01:00
Alex Pott d29fd50dbd
Revert "Issue #3396536 by fjgarlin, catch, kim.pepper: [random test failure] Re-enable AjaxTest::testAjaxFocus()"
This reverts commit e6304cd961.

(cherry picked from commit 966fd63a6c)
2024-05-06 09:44:54 +01:00
Alex Pott 36c7397511
Issue #3420983 by sorlov, godotislate, alexpott, quietone, kim.pepper, larowlan, mstrelan: Convert Layout plugin discovery to attributes
(cherry picked from commit 091483c1f1)
2024-05-03 09:01:40 +01:00
nod_ b8e2a6ab38
Issue #3432632 by simohell, smustgrave, kostyashupenko, andypost: Collapsed nav-tabs status not exposed to screen reader
(cherry picked from commit bd81352ed5)
2024-05-03 07:01:32 +09:00
catch d1f85e313c Issue #3444566 by mondrake: Fix remaining deprecated string array keys in data sets returned by data provider methods that do not match the parameter names
(cherry picked from commit f9d3ce1046)
2024-05-01 18:24:09 +01:00
catch 51d40866c9 Issue #3422383 by longwave, mondrake: Convert remaining data providers to static methods
(cherry picked from commit 96ab747a7c)
2024-05-01 18:24:09 +01:00
Alex Pott 60b7fbf05a
Issue #3441137 by catch, mherchel: BigPipe injecting Local Actions block creates large janky layout shift in Claro
(cherry picked from commit 3203676df8)
2024-05-01 18:00:23 +01:00
catch a244fdde34 Issue #3443537 by longwave, mondrake: Change @dataprovider to static in CallableResolverTest 2024-05-01 14:57:20 +01:00
catch 246b5ec54b Issue #3427173 by mondrake, longwave, alexpott, catch: Replace calls to :::expectWarning*() in Drupal\Tests\Component\PhpStorage\FileStorageTest
(cherry picked from commit c1b1ba78d6)
2024-05-01 14:54:20 +01:00
Alex Pott 18e1178d9a
Issue #3440044 follow-up by mondrake: Replace catch of PHPUnit\Framework\Error\Warning in MarkupInterfaceComparatorTest
(cherry picked from commit 66645e45a9)
2024-04-30 15:23:03 +01:00
Alex Pott c333e1f5f4
Issue #3444060 by longwave, catch, mondrake: Implement failed database statement events in performance test query logging
(cherry picked from commit 970ff6e924)
2024-04-30 10:45:44 +01:00
catch 5dc1d5e0d8 Issue #3443535 by longwave: Change @dataprovider to static in SqlContentEntityStorageSchemaTest
(cherry picked from commit 3ee7654bb5)
2024-04-30 07:37:09 +01:00
Alex Pott af5acaaccb
Issue #3437109 by Berdir, alexpott: Undefined array key "type" in TypedConfigManager::getStaticTypeRoot() 2024-04-30 00:37:20 +01:00
xjm 29b22a9014
Issue #3442167 by mondrake, xjm, larowlan: Fix string array keys in data sets returned by data provider methods that do not match the parameter names in Kernel tests 2024-04-29 18:31:31 -05:00
xjm c15d81e8d9
Issue #3444184 by mondrake, catch: Remove dead KernelTestBase::stop() method 2024-04-29 18:31:20 -05:00
catch 45cd46b361 Issue #3436490 by mondrake: Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 3
(cherry picked from commit 6cc2446f5b2d635df98eb0e2b830bd8cc819ad85)
2024-04-29 10:49:48 +01:00
Alex Pott 7cfb8bbd48
Issue #3443108 by catch: Optimize AssetResolver caching
(cherry picked from commit 181827afe6)
2024-04-29 08:29:53 +01:00
Alex Pott d8ceffabcf
Issue #3440044 by longwave, quietone, Binoli Lalani, mondrake: Replace catch of PHPUnit\Framework\Error\Warning in MarkupInterfaceComparatorTest
(cherry picked from commit b00b1682a8)
2024-04-28 12:46:00 +01:00
catch 9bc16d50ed Issue #3440043 by mondrake, longwave, larowlan, alexpott: Stop triggering a warning in MySQL's TransactionManager rollback
(cherry picked from commit e000488214)
2024-04-27 13:02:31 +01:00
catch be5800034c Issue #3443533 by longwave, mondrake: Change @dataprovider to static in EntityStorageBaseTest
(cherry picked from commit dd84445aea)
2024-04-26 16:09:24 +01:00
catch bb1fda5368 Issue #3443536 by longwave: Change @dataprovider to static in LoggerChannelTest
(cherry picked from commit 773918e074)
2024-04-26 15:16:57 +01:00
catch bb3c27280b Issue #3443530 by longwave: Change @dataprovider to static in BackendCompilerPassTest
(cherry picked from commit 25401beba4)
2024-04-25 22:09:25 +01:00
catch 695446e4c9 Issue #3443528 by longwave: Change @dataprovider to static in TitleResolverTest
(cherry picked from commit a109906ecf)
2024-04-25 21:56:31 +01:00
catch 065714a29a Issue #3443517 by longwave: Change @dataprovider to static in FileCacheFactoryTest
(cherry picked from commit c9eb754d5e)
2024-04-25 20:45:58 +01:00
catch d664feb617 Issue #3443524 by longwave: Change @dataprovider to static in ConditionAccessResolverTraitTest
(cherry picked from commit 7dbc9947e3)
2024-04-25 20:43:00 +01:00
catch aba2631be7 Issue #3443037 by alexpott, catch, kristiaanvandeneynde, Taran2L, longwave: Super user access policy and the installer
(cherry picked from commit a2af0aa123)
2024-04-25 12:37:53 +01:00
catch 1e76a838c7 Issue #3443248 by alexpott: Can't log out on translated site in tests - causes issues for 10.3 umami test
(cherry picked from commit 3312771de0)
2024-04-24 18:49:26 +01:00
Dave Long 895a6a913f
Issue #3416700 by catch, penyaskito, lamp5: Handle invalid compressed ajax_page_state more gracefully
(cherry picked from commit bfaae1b138)
2024-04-23 17:16:19 +01:00
catch 62c4d2d2fa Issue #144538 by acbramley, tuutti, Damien Tournoud, alexpott, solideogloria, Xano, TwoD, damiankloip, smustgrave, pameeela, deviantintegral, L_VanDamme, daften, karishmaamin, g.oechsler, larowlan, klausi, sun, Fabianx, andypost, dawehner, kwinters, greggles, Wim Leers, grendzy, pwolanin, alexanderpas, drumm, Chi: User logout is vulnerable to CSRF
(cherry picked from commit 7f4b5f187a)
2024-04-23 14:35:53 +01:00
Dave Long dcfd0488b8
Issue #1561214 by mfb, sun, fietserwin, drzraf, sdrycroft, nicxvan: Bootstrap sets C locale, but does not set UTF-8 character encoding
(cherry picked from commit 79eed4acc5)
2024-04-23 09:45:22 +01:00
catch 8a365be7bd Issue #3442297 by mondrake: Change @dataprovider to static in DrupalComponentTest
(cherry picked from commit ec6476a235)
2024-04-22 16:14:30 +01:00
Alex Pott 36a7671019
Issue #3442295 by mondrake: Change @dataprovider to static in YamlTestBase
(cherry picked from commit 4cdc431302)
2024-04-21 19:57:13 +01:00
catch 14557fc7c6 Issue #3440424 by alexpott: Inconsistent behaviour with drupalGet() when site is installed in a subdirectory
(cherry picked from commit 39d743b8f1)
2024-04-21 12:08:33 +01:00
Alex Pott 097371801c
Issue #3439925 by simonbaese, smustgrave, vensires: Fix Core tests that rely on UID1's super user behavior
(cherry picked from commit cbad32ab34)
2024-04-20 17:05:42 +01:00
Dave Long ea9a0f908a
Issue #3441718 by mondrake: Fix string array keys in data sets returned by data provider methods that do not match the parameter names in Unit tests
(cherry picked from commit f4e9c07001)
2024-04-19 18:14:31 +01:00
Alex Pott 338d4d046a
Issue #3437325 by narendraR, phenaproxima, alexpott, Wim Leers: Add validation constraints to system.date
(cherry picked from commit 8cd02c7f00)
2024-04-18 16:06:19 +01:00
Alex Pott 3adb7e2297
Issue #3440170 by mxr576, quietone, smustgrave, longwave, larowlan: Forked DocParser incorrectly parses ::class notations
(cherry picked from commit f1f27ff7f3)
2024-04-18 15:50:14 +01:00
catch fa6b76951b Issue #3441755 by longwave: Change @dataprovider to static in ContextHandlerTest
(cherry picked from commit 1383bc3f32)
2024-04-18 14:47:21 +01:00
nod_ 94bfd9fa39
Issue #3296098 by catch, finnsky, smustgrave: Removal :tabbable usage in dialog.js 2024-04-17 17:13:43 +02:00
Alex Pott b918dd3238
Issue #3439527 by acbramley, smustgrave, alexpott: Add type hints to WebAssert::address* and cleanUrl
(cherry picked from commit 5397521df4)
2024-04-17 00:58:19 +01:00
Dave Long 27eda1233b
Issue #3088643 by amateescu, Gábor Hojtsy, catch, smustgrave: Mark Workspaces as a stable core module
(cherry picked from commit 42ddeb3337)
2024-04-16 16:09:43 +01:00
catch 5535002dbc Issue #3158130 by longwave, Berdir, voleger, mayurjadhav, ranjith_kumar_k_u, _pratik_, smustgrave, acbramley: Many calls to ContextRepository::getAvailableContexts() due to entity upcasting
(cherry picked from commit adedbb1788)
2024-04-16 11:16:37 +01:00
Alex Pott e8ac11dadc
Issue #3427174 by longwave, quietone, dineshkumarbollu, mondrake, alexpott: Throw exception when calling NestedArray::setValue() when parents reference a non-array value instead of causing a PHP error
(cherry picked from commit 1c017c0e81)
2024-04-15 22:56:08 +01:00
Alex Pott 18cbe89f06
Issue #3439932 by phenaproxima, narendraR, Wim Leers, larowlan: Add validation constraints to system.image and system.image.gd
(cherry picked from commit 68628ccef2)
2024-04-14 18:45:02 +01:00
Alex Pott 29964e3a3a
Issue #3437566 by mondrake, longwave, catch, smustgrave, alexpott: Refactor trigger_error in TypedConfigManager
(cherry picked from commit ea5932e490)
2024-04-14 10:37:23 +01:00
Alex Pott 2c3cb5e89f
Issue #3427564 by phenaproxima, Wim Leers, alexpott, omkar.podey, Berdir, smustgrave, larowlan: Require `langcode: …` only for simple config that contains translatable values
(cherry picked from commit 83a53ba4a9)
2024-04-14 07:17:32 +01:00
Alex Pott 19ae323f0f
Issue #3001496 by jonathanshaw, SmovS, Prashant.c, ptmkenny, smustgrave, manish-31, alexpott, bojanz, tedbow, elber, Berdir, quietone: Add an alter hook to EntityQuery
(cherry picked from commit c536598792)
2024-04-13 12:01:08 +01:00
Lee Rowlands 43e3efe009
Revert "Issue #3439800 by mstrelan: Standardize location of test modules"
This reverts commit edb7361017.
2024-04-12 07:46:47 +10:00
Lee Rowlands edb7361017
Issue #3439800 by mstrelan: Standardize location of test modules
(cherry picked from commit 5a9ce8cfbd)
2024-04-12 07:04:01 +10:00
catch 60b47296a0 Issue #3440087 by dww: Update CacheTagOperation enum to use UpperCamelCase
(cherry picked from commit 6e03532191)
2024-04-11 09:39:01 +01:00
catch a50c07aa93 Issue #3427178 by mondrake, longwave: Replace calls to ::expectWarning*() from Drupal\Tests\Core\Security\DoTrustedCallbackTraitTest 2024-04-10 22:07:05 +01:00
Alex Pott 442b47177d
Issue #3399388 by mstrelan: Add declare(strict_types=1) to all Kernel tests 2024-04-10 15:17:46 +01:00
Alex Pott 8331ba7ee1
Issue #3402713 by mstrelan, smustgrave, dww: Fix strict type errors: miscellaneous fixes in core Kernel tests
(cherry picked from commit f60bcea7d7)
2024-04-09 23:19:23 +01:00
Alex Pott e3da4cc32c
Issue #3437783 by mfb, catch, pradhumanjain2311, longwave: Use standardized SPDX license identifiers 2024-04-09 23:04:56 +01:00
catch 90981ea916 Issue #3117410 by jungle, longwave, alexpott, andypost, Kristen Pol, daffie: Use an optimised autoloader in testing (follow-up)
(cherry picked from commit 99562825b0)
2024-04-09 21:22:49 +01:00
catch 44538889da Issue #3357565 by quietone, Bhanu951, pradhumanjain2311, smustgrave, catch: Remove remaining uses of string 'bartik' and 'seven' when referring to the removed themes
(cherry picked from commit 04065367d7)
2024-04-09 18:54:48 +01:00
Alex Pott af46c48e86
Issue #3438424 by catch, Berdir, alexpott, longwave: [random test failures] Race condition in state when individual keys are set with an empty cache
(cherry picked from commit 3a3e618602)
2024-04-09 18:01:11 +01:00
Alex Pott 0a3a38542c
Issue #3438034 follow-up by alexpott: Fix Composer Scaffold plugin event listeners
(cherry picked from commit f0ac25fedc)
2024-04-09 15:12:58 +01:00
Alex Pott 97c8bdc7ec
Issue #540008 by kristiaanvandeneynde, Spokje, daffie, clayfreeman, alexpott, eelkeblok, michaelfavia, ianthomas_uk, zaporylie, johnwebdev, abhisekmazumdar, anmolgoyal74, greggles, quietone, shaal, catch, rivimey, AaronMcHale, Berdir, ndf, xjm, finne, Wim Leers, esolitos, heddn, webchick, Bojhan, andypost, efpapado, benjifisher, lauriii, Gábor Hojtsy, moshe weitzman, harings_rob: Add a container parameter that can remove the special behavior of UID#1
(cherry picked from commit 9baa43976c)
2024-04-09 11:49:18 +01:00
Alex Pott c9255990e0
Issue #3402294 by mstrelan, quietone, dww, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (complex replacement) in core Kernel tests
(cherry picked from commit 955418c2df)
2024-04-09 11:44:35 +01:00
Alex Pott 24807f9cb4
Issue #3426506 by kim.pepper, smustgrave, mstrelan, alexpott: Create enums for File exists options and deprecate consts
(cherry picked from commit 8ae0a0230f)
2024-04-09 08:51:21 +01:00
Alex Pott 2fc0e9b818
Issue #3438034 by tannguyenhn, adwivedi008, alex.skrypnyk, alexpott: Fix Composer Scaffold plugin event listeners
(cherry picked from commit f35f0419c7)
2024-04-09 08:27:18 +01:00
nod_ 9f50569bf4
Issue #3419621 by dburiak, sijumpk, smustgrave, pameeela, alexpott: tablePositionSticky should not be called on a non-array variable
(cherry picked from commit 7e28ed514a)
2024-04-08 10:51:24 +02:00
Alex Pott d21847509d
Issue #3439039 by mondrake: Change QueryFactoryTest:providerTestGetKeys to static
(cherry picked from commit efe11919dc)
2024-04-07 21:59:06 +01:00
Alex Pott a2ac9bbbae
Issue #3438246 by mondrake: Change RecursiveContextualValidatorTest::providerTestValidatePropertyWithInvalidObjects to static
(cherry picked from commit c61597aad0)
2024-04-06 16:13:14 +01:00
Alex Pott 3b7800ea54
Issue #3436527 by catch: Record total css and js file size in performance tests
(cherry picked from commit b9be0d83b4)
2024-04-06 16:06:41 +01:00
Alex Pott 27e8fd6aec
Issue #3438302 by mondrake: Change DrupalLogErrorTest::provideFatalExitCodeData to static
(cherry picked from commit 297b88689c)
2024-04-06 12:50:38 +01:00
Alex Pott 3d645c1b3c
Issue #3427177 by longwave, quietone, dineshkumarbollu, samit.310@gmail.com, mondrake, alexpott: Replace calls to ::expectError*() from Drupal\Tests\Core\Render\ElementTest
(cherry picked from commit b59e63e990)
2024-04-05 13:23:09 +01:00
Alex Pott f342c259e9
Issue #3257457 by DieterHolvoet, scott_euser, smustgrave, ankithashetty, alexpott, larowlan, Berdir, dww: AmbiguousBundleClassException if multiple entity types share the same class
(cherry picked from commit 644d8f2abd)
2024-04-05 00:12:28 +01:00
Alex Pott 1d03e28a9a
Revert "Issue #3437566 by mondrake, smustgrave: Replace trigger_error in TypedConfigManager with a logger"
This reverts commit 39d29ea630.
2024-04-03 15:05:29 +01:00
catch 39d29ea630 Issue #3437566 by mondrake, smustgrave: Replace trigger_error in TypedConfigManager with a logger
(cherry picked from commit a9668fd0fe4c6ccadceb898a3c1e385ada6fe1ca)
2024-04-03 11:45:36 +01:00
Alex Pott 1cc7dc9797
Issue #3437342 by mondrake: Change FieldItemListTest::providerTestEquals to static
(cherry picked from commit 4fac2d4bb7)
2024-04-02 13:23:24 +01:00
catch edf1287193 Issue #3414208 by kim.pepper, longwave, alexpott: Add support for tagged_iterator to YamlFileLoader 2024-04-02 11:37:15 +01:00
Alex Pott a15b012100
Issue #3436671 by narendraR, Wim Leers, phenaproxima: Add validation constraints to system.cron
(cherry picked from commit b59a6f101b)
2024-04-01 12:38:12 +01:00
catch 3e8edacc2b Revert "Issue #3425537 by mondrake: Fix remaining methods with #[\ReturnTypeWillChange] attribute"
This reverts commit aca587777a.
2024-04-01 08:27:38 +01:00
catch aca587777a Issue #3425537 by mondrake: Fix remaining methods with #[\ReturnTypeWillChange] attribute
(cherry picked from commit f2f91eb17a)
2024-04-01 08:26:52 +01:00
catch 64e7894623 Issue #2575105 by Berdir, catch, longwave, quietone, kristiaanvandeneynde, andypost, alexpott, mathilde_dumond, pradhumanjain2311, amateescu, Wim Leers, xjm: Use cache collector for state
(cherry picked from commit 16964d02db)
2024-03-30 18:03:12 +00:00
Alex Pott b89ad7f9c8
Issue #3431452 by godotislate, smustgrave, alexpott: Rename RenderElement and FormElement plugin abstract classes to RenderElementBase and FormElementBase
(cherry picked from commit 8d1ff20647)
2024-03-30 17:24:56 +00:00
Alex Pott 17b4882306
Issue #3436468 by longwave, smustgrave, alexpott: AjaxResponseSubscriber should lazily instantiate AjaxResponseAttachmentsProcessor 2024-03-30 17:08:23 +00:00
catch 92ff6c2b21 Issue #3432602 by alexpott, phenaproxima: Allow a site to be installed from configuration with no profile
(cherry picked from commit d3fdc93bc5)
2024-03-30 15:01:34 +00:00
catch 3df8fe0a5a Issue #3436680 by mondrake: Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 2 ContentEntityBase
(cherry picked from commit a73a32ba4e)
2024-03-29 14:17:00 +00:00
Alex Pott ec45fd5604
Issue #3054821 by mr.baileys, wiifm, sime, angrytoast, pobster, smustgrave, RichardGaunt, alexpott, Wim Leers, quietone, Berdir, neclimdul, acbramley: Include Cache-Control header on 301 redirects
(cherry picked from commit 2fbe22aa19)
2024-03-29 13:42:23 +00:00
Alex Pott 6e733866fe
Issue #2909185 by longwave, donquixote, andypost, andregp, pounard, jibran, martin107, kostyashupenko, catch, znerol: Replace ContainerAwareEventDispatcher with Symfony EventDispatcher 2024-03-29 13:18:59 +00:00
Alex Pott 0445faf0d6
Issue #3436804 by longwave: CacheCollector::normalizeLockName() is pointless 2024-03-29 11:19:16 +00:00
Alex Pott d82e52c0cf
Issue #3364885 by andy-blum, mglaman, alexpott, mherchel, lauriii, smustgrave, isholgueras, Dave Reid, kostyashupenko, matthieuscarset, camoa, ctrlADel, fjgarlin, jwilson3: Allow themes to use a starterkit.yml file so it is easier to use the theme generator
(cherry picked from commit 6c2ed72990)
2024-03-28 09:29:31 +00:00
nod_ d460133a3e
Issue #3432601 by catch, quietone, smustgrave: Add deprecation/bc support for library-overrides when files are moved
(cherry picked from commit 5254c7792a)
2024-03-28 10:24:20 +01:00
Lee Rowlands 069d3c0131
Issue #3352256 by e0ipso, plopesc, bbrala, longwave, dww, catch, larowlan: Move code from the experimental SDC module to core
(cherry picked from commit e1e95969a1)
2024-03-28 07:20:21 +10:00
Lee Rowlands 9bb46296ce
Issue #3376846 by kristiaanvandeneynde, larowlan, smustgrave, catch: Implement the new access policy API
(cherry picked from commit 8a2a2fe2d6)
2024-03-28 07:12:19 +10:00
Alex Pott dd091490e5
Issue #3433088 by mondrake, Spokje: Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 1 interfaces
(cherry picked from commit 35a8fc6dec)
2024-03-27 13:27:19 +00:00
Alex Pott b2c9207db6
Issue #3353918 by Spokje, longwave, rpayanm, mondrake: Fix PHPStan L1 errors "Variable $foo might not be defined." caused by non-exhaustive switch statements
(cherry picked from commit 519dc8de58)
2024-03-27 12:40:15 +00:00
Alex Pott 4869fb9aa6
Issue #3433086 by mondrake: Method addMethods() of class PHPUnit\Framework\MockObject\MockBuilder is deprecated in PHPUnit 10
(cherry picked from commit b73c68de45)
2024-03-26 17:04:50 +00:00
nod_ 5e5839ab59
Issue #1149078 by vasike, wuinfo - Bill Wu, dww, Gauravvvv, Marios Anagnostopoulos, peterpoe, VladimirAus, legolasbo, GoZ, mgifford, dalin, jrb, heddn, himanshupathak3, _utsavsharma, GrandmaGlassesRopeMan, arcaneadam, danflanagan8, arnaud-brugnon, Daniel Kulbe, uzlov, Kuntyi, DamienMcKenna, Neslee Canil Pinto, COBadger, jofitz, esod, sukanya.ramakrishnan, nod_, droplet, smustgrave, CKIDOW: States API doesn't work with multiple select fields
(cherry picked from commit f6be8531a8)
2024-03-26 16:55:50 +01:00
Alex Pott 5e7ac12c4d
Issue #3432171 by mondrake: dump() no longer produces output in PHPUnit tests running under PHP 8.3
(cherry picked from commit 80139bdb8e)
2024-03-25 22:59:43 +00:00
Alex Pott 74631a1331
Issue #3433093 by mondrake: Method getObjectForTrait() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10
(cherry picked from commit 2dad474438)
2024-03-25 10:32:13 +00:00
Alex Pott fce65ce3aa
Issue #3392903 by borisson_, Wim Leers, phenaproxima: Validate inputs of TypeResolver::resolveExpression(): only allow %parent, %type and %key
(cherry picked from commit 94e4d4715c24b600800db14f9fafcb012654db0f)
2024-03-25 10:25:08 +00:00
nod_ 46dd453d63
Issue #3354998 by phthlaap, Liam Morland, jedihe, gapple, smustgrave: #states disable property has stopped working for submit button and other elements
(cherry picked from commit 3d3b2c1d9a)
2024-03-24 15:03:23 +01:00
Alex Pott 21f80a6788
Issue #3433091 by mondrake: Method getMockForTrait() of class PHPUnit\Framework\MockObject\MockBuilder is deprecated in PHPUnit 10
(cherry picked from commit e0644f929b)
2024-03-24 10:47:40 +00:00
Alex Pott 71b8f1cf09
Issue #3433089 by mondrake: Method onConsecutiveCalls() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10
(cherry picked from commit a1699fe0de)
2024-03-23 22:34:45 +00:00
catch a65d1f9d14 Issue #3433052 by mondrake: Fix remaining return*() methods of class PHPUnit\Framework\TestCase deprecated in PHPUnit 10
(cherry picked from commit d671f38a0e)
2024-03-22 22:02:38 +00:00
catch 0cf85e6377 Issue #3432738 by longwave: Optimize OptimizedPhpArrayDumper::dumpCollection()
(cherry picked from commit be994ca925)
2024-03-22 16:50:58 +00:00
catch eb0c49b0cb Issue #3432849 by mondrake, Spokje: Method returnSelf() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10
(cherry picked from commit 63a572fc1e)
2024-03-22 14:20:23 +00:00
catch 6e4c192e6d Issue #3432852 by mondrake: Method returnArgument() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10
(cherry picked from commit 82e373bff8)
2024-03-22 14:10:15 +00:00
Lee Rowlands 4a34406a88
Revert "Issue #3370946 by kunal.sachdev, lauriii, tim.plunkett, omkar.podey, alexpott, ckrina, smustgrave, larowlan, rkoller, hooroomoo, duadua: Page title should contextualize the local navigation"
This reverts commit ad606a8fb7.
2024-03-22 10:22:11 +10:00
Lee Rowlands 7f98626a9a
Issue #3415582 by nico.b, larowlan, Matt B: Unhandled exception when trying to register a duplicate username with different case
(cherry picked from commit ce9ec037b7)
2024-03-22 05:43:09 +10:00
catch 6d74992c0c Issue #3416354 by longwave, andypost, Spokje, alexpott: Inject services into LoggerChannelFactory
(cherry picked from commit 90d2c74989)
2024-03-21 19:12:16 +00:00
catch bd13fb1a90 Issue #1170362 by alexpott, catch, pillarsdotnet, sun, jofitz, geerlingguy, steinmb, tresti88, DamienMcKenna, dpovshed, imclean, bradjones1, mErilainen, David_Rothstein, KarenS, BTMash, rickmanelius, Anonymous, smustgrave, Wim Leers, kreynen, webchick, websiteworkspace, phenaproxima, Kiphaas7, bbrala: Install profile is disabled for lots of different reasons and core doesn't allow for that
(cherry picked from commit 0bb0da9f8a)
2024-03-21 09:20:58 +00:00