Commit Graph

950 Commits (ad80289ed42cebb75ee7b365d466f3148383736e)

Author SHA1 Message Date
xjm 066dc5c8c4
Issue #3399370 by mstrelan: Remove @file annotation from test classes 2023-11-10 15:35:50 -06:00
Dave Long 41b777c6be
Issue #3395871 by quietone: Correct spelling of words in test modules and dramallama 2023-10-24 12:12:43 +01:00
Dave Long 2784ef71b0
Issue #3376262 by quietone, smustgrave: Remove install of book module from migration tests outside of the module 2023-10-17 12:24:28 +02:00
catch df5948229a Issue #3389202 by mondrake, andypost, daffie: migrate\Plugin\migrate\id_map\Sql assumes a PDO db driver 2023-10-09 13:49:40 +01:00
Alex Pott c3ff5768b0
Issue #2916306 by TR, quietone, pfrenssen: Use "@return" instead of "@returns" 2023-10-08 11:25:35 +01:00
Alex Pott ae55070f94
Issue #3391268 by quietone: Fix spelling of words only misspelled in tests, part 4 2023-10-05 16:21:57 +01:00
xjm 8fd17f42b8
Issue #3388386 by mondrake, xjm, smustgrave: Properly deprecate passing array to Merge::key() 2023-09-30 14:20:39 -05:00
Dave Long d0cfc6d004
Issue #3385620 by fjgarlin, andypost: [GitlabCI] SQLite currently not working 2023-09-29 17:01:46 +01:00
xjm f71ac74e63
Issue #3389323 by benjifisher, smustgrave, xjm: Incomplete examples in API docs for the download process plugin 2023-09-26 12:53:45 -05:00
Alex Pott fd2c13413a
Issue #3048495 by jonathan1055, quietone, rajandro, Spokje, Pooja Ganjage, andypost, kishor_kolekar, msuthars, munish.kumar, ankithashetty, ayushmishra206, ravi.shankar, naveenvalecha, longwave, Gábor Hojtsy, alexpott, smustgrave, Lendude, xjm, adityasingh, daffie: Fix Drupal.Semantics.FunctionTriggerError coding standard 2023-09-26 16:28:55 +01:00
Lee Rowlands 6d93485084
Issue #3386458 by catch, quietone, alexpott, larowlan: Add GenericModuleTestBase and use it to test general module things 2023-09-26 09:14:17 +10:00
catch a9f3f72e03 Issue #2157945 by mondrake, andypost, kim.pepper, Bhanu951, alexpott, martin107, plach, ankithashetty, dawehner, karishmaamin, voleger, jhedstrom, jofitz, kostyashupenko, shashikant_chauhan, longwave, zeeshan_khan, claudiu.cristea, mstrelan, Berdir: Deprecate format_size() and use Drupal\Core\StringTranslation\ByteSizeMarkup instead 2023-09-15 08:19:10 +01:00
Dave Long ab12a9beac
Issue #3326130 by quietone: Add an example to Drupal\migrate\Plugin\migrate\process\SkipOnEmpty doc block 2023-09-08 18:03:32 +01:00
catch cc0c9fdde2 Issue #3383513 by Spokje, smustgrave: Use type-hinting on deprecation warnings for loadRevision() introduced by mglaman/phpstan-drupal:1.2.0 2023-08-29 13:03:05 +01:00
Dave Long 83fe6aa364
Issue #3121340 by Amber Himes Matz, andypost, jhodgdon, quietone, xjm: Fix up minor copy problems in help topics 2023-08-18 22:57:22 +01:00
Lauri Eskola b175481f32
Issue #3376281 by Indrapatil, nlisgo, longwave, smustgrave: Random machine names no longer need to be wrapped in strtolower() 2023-08-01 21:32:45 +03:00
Lauri Eskola 418ce00036
Issue #3209249 by quietone, smustgrave, bharath-kondeti, ankithashetty, KapilV, longwave, Spokje: Fix spelling for 29 migrate translation related words 2023-07-30 19:51:17 +03:00
Lee Rowlands 5823307501
Issue #3025577 by andypost, Abhisheksingh27, jhodgdon, alexpott, quietone, smustgrave: Move help topics to core or the correct modules 2023-07-24 20:03:11 +10:00
catch f268fe3e7a Issue #3262110 by quietone, neclimdul, mikelutz, heddn, smustgrave, phenaproxima: Remove unused properties in Migration.php 2023-07-19 13:55:27 +01:00
Dave Long 69333763c3
Issue #3224941 by andypost, Akram Khan, ravi.shankar, SandeepSingh199, Spokje, catch, xjm, alexpott: Remove usage of setAccessible() when core requires PHP 8.1 2023-07-18 16:45:43 +01:00
catch 82d3e957a4 Issue #3335768 by Berdir, andypost, smustgrave, catch: Manually clear cache keys from plugin managers with finite variations instead of using cache tags 2023-07-12 09:46:07 +01:00
catch d4b4f2d34c Issue #3327659 by klimp: Fix limit value in Explode process plugin documentation 2023-06-29 14:46:54 +01:00
Dave Long 62d7c46774
Issue #3318888 by mondrake, Spokje, smustgrave, xjm, longwave: Fix migrate destination entity PHPStan L0 issues 2023-06-27 14:48:10 +01:00
Dave Long e0cbbca62e
Issue #3052115 by huzooka, HitchShock, floydm, ranjith_kumar_k_u, Sam152, edysmp, codebymikey, herved, Wim Leers, quietone, hchonov, Berdir, DamienMcKenna, rclemings, donquixote, benjifisher, fengtan, jwilson3: Mark an entity as 'syncing' during a migration update 2023-06-16 10:48:21 +01:00
Dave Long 412f414dc7
Revert "Issue #3052115 by huzooka, HitchShock, floydm, ranjith_kumar_k_u, Sam152, edysmp, codebymikey, herved, Wim Leers, quietone, hchonov, Berdir, DamienMcKenna, rclemings, donquixote, benjifisher, fengtan, jwilson3: Mark an entity as 'syncing' during a migration update"
This reverts commit 68c1000f77.
2023-06-15 18:22:59 +01:00
Dave Long 68c1000f77
Issue #3052115 by huzooka, HitchShock, floydm, ranjith_kumar_k_u, Sam152, edysmp, codebymikey, herved, Wim Leers, quietone, hchonov, Berdir, DamienMcKenna, rclemings, donquixote, benjifisher, fengtan, jwilson3: Mark an entity as 'syncing' during a migration update 2023-06-15 17:06:38 +01:00
catch b83467eabc Issue #3325557 by longwave, mondrake, kim.pepper: Enable more service autowiring by adding interface aliases to core modules 2023-06-14 13:59:48 +01:00
catch c326b923ef Issue #3312733 by benjifisher, quietone, longwave, mikelutz, smustgrave: SQL migrations cannot be instantiated if database is not available and Node, Migrate Drupal modules are enabled 2023-06-12 10:11:46 +01:00
catch 6204ba9c59 Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner, catch, longwave, alexpott, Charlie ChX Negyesi: Deprecate Drupal\Core\Database\Connection::nextId() and the {sequences} table and schema 2023-06-08 12:59:56 +01:00
catch 6ef863a2a3 Issue #3354382 by mondrake: [PHPUnit 10] Provide a static viable alternative to $this->prophesize() in data providers 2023-06-07 09:37:15 +01:00
catch dd5a5b712e Issue #2962088 by yogeshmpawar, jvsouto, Rassoni, Prashant.c, bhanuprakashnani, quietone, cilefen, longwave, drumm, smustgrave: Convert drupal.org to example.com in tests 2023-05-11 13:53:48 +01:00
catch 609e7442cb Issue #3353658 by mondrake, smustgrave: [PHPUnit 10] Provide a static alternative to randomMachineName() and implement in data providers 2023-05-04 13:31:39 +01:00
Dave Long 40ad0debd7
Issue #3123060 by Spokje, quietone, longwave, ankithashetty, daffie, jungle, xjm: Enable 'Drupal.Commenting.DocComment.ShortSingleLine' coding standard 2023-05-02 09:37:02 +01:00
Dave Long db5c7a1dc5
Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie, Spokje, DanielVeza: Fix method comments in tests for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-30 18:58:07 +01:00
Dave Long b212d24449
Issue #3268835 by quietone, smustgrave, ravi.shankar, xjm, borisson_, catch: Fix method comments in non tests for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-30 17:15:32 +01:00
Dave Long 596b3d38f1
Issue #3351236 by Spokje, mondrake, smustgrave: Fix PHPStan L1 errors "Missing call to parent::setUp()/tearDown() method." 2023-04-16 22:50:09 +01:00
Dave Long 6629a1634d
Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test modules for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-12 16:30:41 +01:00
Dave Long 7710bd6098
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar, mrinalini9, Medha Kumari, JatinGupta40, smustgrave, xjm, longwave, catch: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' 2023-04-12 15:50:34 +01:00
Dave Long 85aee30af3
Issue #3351089 by Spokje: Fix PHPStan L1 errors "@dataProvider Foo related method not found." 2023-04-11 18:46:51 +01:00
catch f88694094f Revert "Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha Kumari, mrinalini9, JatinGupta40, smustgrave, xjm, longwave: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine'"
This reverts commit b4829d2ff7.
2023-04-05 11:25:49 +01:00
Dave Long b4829d2ff7
Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha Kumari, mrinalini9, JatinGupta40, smustgrave, xjm, longwave: Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' 2023-04-05 09:56:11 +01:00
Lee Rowlands 6d4a6d6a46
Issue #3335269 by Niklan: Entity stubs doesn't follows fallback logic from entities and leads to a broken migration 2023-04-03 12:43:07 +10:00
catch 8c61db1638 Issue #3351073 by Spokje: Fix PHPStan L1 errors "Annotation "@covers::foo" is invalid, "@covers" should be followed by a space and a value." 2023-03-31 11:21:54 +01:00
catch 1f7aa7ac83 Issue #3351218 by Spokje: Fix PHPStan L1 errors "@covers value \Foo\Bar::baz() references an invalid method." 2023-03-30 16:22:57 +01:00
catch 6ca4984f03 Issue #3351079 by Spokje: Fix PHPStan L1 errors "You should use assertFoo() instead of assertSame(foo, $actual)." 2023-03-29 23:50:46 +01:00
Dave Long b91861bf59
Revert "Issue #3306554 by andypost, mondrake: InvocationMocker::withConsecutive() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10 - easy replacements"
This reverts commit 240099013d.
2023-03-29 10:41:52 +01:00
Dave Long 312e5891fd
Revert "Issue #3312733 by benjifisher, quietone, mikelutz, smustgrave: SQL migrations cannot be instantiated if database is not available and Node, Migrate Drupal modules are enabled"
This reverts commit 3cad0ee92a.
2023-03-13 09:46:19 +00:00
Dave Long 240099013d
Issue #3306554 by andypost, mondrake: InvocationMocker::withConsecutive() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10 - easy replacements 2023-03-12 19:55:29 +00:00
Dave Long 3cad0ee92a
Issue #3312733 by benjifisher, quietone, mikelutz, smustgrave: SQL migrations cannot be instantiated if database is not available and Node, Migrate Drupal modules are enabled 2023-03-12 19:23:53 +00:00
Dave Long de09fc95c5
Issue #3322743 by Spokje, mondrake: Fix PHPStan L2 errors "Parameter $foo of method Foo::bar() has invalid type Foo\Baz." and "Method Foo::bar() has invalid return type Foo\Baz. " 2023-03-12 19:15:58 +00:00
catch 1a9665ac97 Issue #3339373 by alexpott, andypost, mondrake: Drupal\migrate\Plugin\migrate\source\SourcePluginBase::rewind() is rewinding database statements 2023-02-28 17:37:17 +00:00
Dave Long 64c08df33a
Issue #3343598 by quietone: Remove action module from MigrationPluginListTest 2023-02-24 09:56:25 +00:00
quietone b91529c922
Issue #3052430 by tedbow, rpayanm, xjm, jasonawant, smustgrave, tim.plunkett: Remove calls to installEntitySchema for config entity types in Kernel tests 2023-02-22 14:48:45 +13:00
catch 2fbac34e85 Issue #3223725 by Spokje, imalabya, quietone, longwave: Remove unused class property \Drupal\migrate\Plugin\Migration::$dependencies 2023-02-14 14:34:12 +00:00
catch a32ff78efc Issue #3336578 by quietone, larowlan: Move migration tests to the Forum module 2023-02-10 12:37:10 +00:00
Alex Pott 5637daf322
Issue #3262395 by benjifisher, alexpott, quietone, heddn: $migration_dependencies has inconsistent structure 2023-01-03 11:45:42 +00:00
xjm 97ffc69fd0
Issue #3324838 by Spokje: Fix PHPStan L2 error "PHPDoc tag @throws with type Foo is not subtype of Throwable" 2022-12-25 13:16:26 -06:00
xjm 36a8edd987
Issue #3327853 by Spokje, bbrala, longwave: Don't allow {@inheritDoc} annotation in PHPDocBlocks 2022-12-19 17:16:19 -06:00
Alex Pott e2d4dcfdf2
Issue #3319582 by mondrake, Spokje, longwave, mallezie: Fix calls to methods with too many parameters passed in 2022-11-29 11:38:06 +00:00
quietone d8e599076b
Issue #3060616 by elber, nod_, quietone, paulocs, Neslee Canil Pinto, KapilV, kostyashupenko, ranjith_kumar_k_u, adityasingh, ifrik, mmatsoo, adamzimmermann, ravi.shankar, sonam.chaturvedi, BhumikaVarshney, catch, longwave, xjm, dawehner, alexpott, ayushmishra206, hmendes, Pancho: Update the module descriptions on the Extend page to fit the Help texts 2022-11-25 02:24:26 +00:00
catch 4c0f50772e Issue #3254986 by Matroskeen, paulocs, mikelutz, benjifisher, danflanagan8, quietone: Remove requirements array from RequirementsException message 2022-10-28 10:30:37 +01:00
catch ef5c7f7c19 Issue #2350939 by dpi, jibran, acbramley, Manuel Garcia, chr.fritsch, AaronMcHale, Nono95230, capysara, darvanen, enyug, ravi.shankar, Spokje, thhafner, larowlan, smustgrave, mstrelan, mikestar5, andregp, joachim, shubhangi1995, nterbogt, mkalkbrenner, Berdir, Sam152, Xano: Implement a generic revision UI 2022-10-27 08:38:21 +01:00
Alex Pott 88dceab07b
Issue #3250683 by beatrizrodrigues, Tauany Bueno, ravi.shankar, joachim, quietone: MigrateException documentation for class properties should link to where values are defined 2022-10-06 16:32:29 +01:00
Alex Pott eefe3a87b9
Issue #3198608 by quietone, swirt, indytechcook, benjifisher, mrinalini9, mikelutz, longwave, heddn: trackLastImported YAML key to enable tracking the last import date of a row is undocumented and confusing 2022-10-04 21:46:13 +01:00
Alex Pott 275a32813b
Issue #2919158 by danflanagan8, quietone, mikelutz, maxocub, Spokje: Add the MigrationPluginManager to Drupal\migrate\Plugin\migrate\id_map\Sql 2022-10-04 11:08:11 +01:00
Alex Pott 2e76fda4ff
Issue #3202665 by danflanagan8, Ratan Priya, rupertj, longwave, smustgrave, thursday_bw: "A(n) object was thrown while attempting to stub." Hard to debug migration message 2022-10-04 10:33:27 +01:00
Alex Pott fdaf5636e4
Issue #3295880 by Spokje, longwave: ->willReturn(...) would make more sense here 2022-10-03 15:41:01 +01:00
Alex Pott 6bbfb05500
Issue #3181778 by quietone, longwave, aldairsoares, beatrizrodrigues, Aline Teixeira Ramos, KapilV, raman.b, anushrikumari, CChiste, mallezie, Ratan Priya, rakesh.regar, Kevin.Notari, vicheldt, mauryarahul11, yogeshmpawar, bbrala, alexpott, bruno.bicudo: [w/c September 17th] Replace t() with $this->t() in all plugins 2022-09-28 09:49:56 +01:00
Alex Pott 2c468a0049
Issue #3264947 by Niklan, quietone, ravi.shankar, longwave, TR, xjm: [Sep 12, 2022] Add missing docblocks for test methods ::setUp() and ::tearDown() 2022-09-27 13:28:52 +01:00
Alex Pott 803da73c0b
Issue #2937515 by Spokje, quietone, idebr, longwave, SherFengChong, anweshasinha, borisson_, mfernea, xjm, bbrala, daffie, Berdir: Fix Drupal.Array.Array.[ArrayClosingIndentation, ArrayIndentation] coding standard 2022-09-27 11:11:12 +01:00
catch f7e9cbbc4d Issue #3311383 by andypost, Berdir: Apply #[\AllowDynamicProperties] attribute to core classes to allow contrib has less noise in logs 2022-09-24 21:59:32 +01:00
catch ffdecfadf6 Issue #3274474 by mondrake, longwave, andypost, Spokje, catch, alexpott: Fix 'Access to an undefined property' PHPStan L0 errors 2022-09-13 12:32:43 +01:00
catch ebe774d4b9 Issue #3293216 by longwave, Spokje, quietone: Rename references to Simpletest in tests 2022-08-15 11:24:13 +09:00
Alex Pott 91baefec2d
Issue #3285637 by mikelutz, danflanagan8, benjifisher: 'Get' Process plugin should handle multiple 2022-08-09 10:16:18 +01:00
Alex Pott 194b56c872
Issue #3215062 by quietone, gambry, ravi.shankar, dww, daffie, yogeshmpawar, aarti zikre, alexpott, mfb, larowlan, longwave, catch: Update hook_schema for Y2038 2022-07-23 06:46:46 +01:00
Alex Pott 5d4b6b4a87
Issue #3283602 by urvashi_vora, eleonel, mrinalini9, ankithashetty, alexpott, Munavijayalakshmi: Fix repeated words 2022-07-17 09:58:52 +01:00
catch 20e4baee69 Issue #3257201 by murilohp, ravi.shankar, beatrizrodrigues, daffie, mondrake: Create the new method Drupal\Core\Database\Connection::getPrefix() and deprecate Drupal\Core\Database\Connection::prefixTable($table) 2022-07-13 15:54:02 +09:00
xjm cdafba4f2b
Issue #3285230 by xjm, benjifisher, phenaproxima, mikelutz, quietone: Migrate's DownloadFunctionalTest:: testExceptionThrow() is failing on guzzlehttp/psr7 2.3.0 2022-06-23 23:29:36 -05:00
catch 8f72e9c7fa Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker
This reverts commit add472cffa.
2022-06-21 16:33:07 +01:00
catch add472cffa Revert "Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker"
This reverts commit 12762b400f.
2022-06-21 15:12:01 +01:00
catch 12762b400f Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker 2022-06-20 20:28:44 +01:00
Alex Pott 386d79e2e0
Issue #3283794 by mondrake, longwave: Fix 'should return {type} but return statement is missing' PHPStan L0 errors in test code 2022-06-14 14:10:16 +01:00
Alex Pott 6dd0db56c8
Issue #3281535 by mondrake, daffie: Fix 'Access to an undefined property' PHPStan L0 errors in test code 2022-06-14 11:27:54 +01:00
Alex Pott 0e2ea433bf
Issue #3264120 by Spokje, catch, Taran2L, danflanagan8, xjm, quietone, ckrina: Remove aggregator module and our dependency on Laminas Feed 2022-03-29 14:38:11 +01:00
quietone 8b9b11483d Issue #3252562 by rlhawk, mikelutz, benjifisher, danflanagan8: In Callback Migrate process, document how to use functions that accept no argument as callable 2022-03-11 01:09:59 +00:00
catch c91106efb3 Issue #3265424 by quietone, daffie, danflanagan8: Move migrate related aggregator tests to the module in preparation of removal in d10 2022-03-02 10:23:11 +00:00
catch f58fccc2fc Issue #3261004 by quietone, paulocs, andypost: Remove deprecated code from the migration system 2022-02-21 12:07:52 +00:00
Alex Pott 42630422b9
Issue #3261486 by catch, longwave, dww: Remove core updates added prior to 9.3.0 and adjust test coverage 2022-02-08 12:16:18 +00:00
Alex Pott f21dc6690e
Issue #3254347 by murilohp, joachim, danflanagan8, quietone: Add the process plugin ID to migration exception message 2022-02-01 12:57:44 +00:00
Alex Pott bcb89890b2
Issue #3048464 by danflanagan8, hctom, quietone, mikelutz, heddn: SubProcess migrate process plugin should throw exception on invalid input 2022-01-27 03:07:47 +00:00
Alex Pott 76c0ec234c
Issue #3219649 by quietone, murilohp, longwave: Fix spelling for words used once, beginning with 'q' -> 's', inclusive 2022-01-27 02:25:01 +00:00
Alex Pott ce85149c33
Issue #3226401 by quietone, joachim, huzooka: Add documentation of migration yml files 2022-01-24 23:44:17 +00:00
Alex Pott be8ec27847
Issue #3240873 by quietone, martin_klima, danflanagan8: Add tests of row hash to trackChangesTest 2022-01-24 23:26:18 +00:00
Alex Pott 2f1c716625
Issue #3106216 by Spokje, longwave, alexpott, apaderno, Hardik_Patel_12, daffie: Remove unused variables from core 2022-01-10 12:07:03 +00:00
Alex Pott a0b2090aac
Issue #3257654 by mondrake: Fix PHPStan L0 failures that cannot be included in baseline 2022-01-10 10:59:14 +00:00
catch 8313743567 Issue #3240109 by edurenye, quietone: When using MigrateProcessInterface some fields might expect something different than array or string 2022-01-02 16:01:03 +00:00
Alex Pott 2a68e8f22c
Issue #3251835 by beatrizrodrigues, joachim, mikelutz, quietone: Fix incorrect @return docs and description for Row::getSource() 2021-12-30 21:11:08 +00:00
Alex Pott 934f42ae87
Issue #3129043 by mondrake, daffie, ankithashetty, ravi.shankar, alexpott, Beakerboy, catch: Move core database drivers to modules of their own 2021-12-29 17:14:14 +00:00
Alex Pott 5592a5a546
Issue #3247039 by joachim, quietone: MigrateDestinationInterface::import() should document that it can throw a MigrateException 2021-12-27 12:19:30 +00:00
Alex Pott 1359e7abde
Issue #3232097 by daffie, longwave: [Symfony 6] Add "array" type hint to methods overriding Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() 2021-12-18 06:36:14 +00:00