Commit Graph

921 Commits (99804f40936f312b5d14f851ecd90809e263c29b)

Author SHA1 Message Date
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
catch cfd8517353 Issue #3182103 by TR, dan2k3k4, longwave, mondrake, Sweetchuck, Kristen Pol: Ensure correct signature for setUp(), tearDown(), setUpBeforeClass(), and assertPostConditions() methods 2021-12-14 12:05:17 +00:00
catch 92836c436b Issue #3138078 by mondrake, larowlan, longwave, xjm: [D9.3 beta - w/c Nov 8, 2021] Add a 'void' return typehint to custom assert* methods 2021-11-22 15:25:32 +00:00
Alex Pott 576bd7543d
Issue #3207567 by Spokje, quietone, guilhermevp, yogeshmpawar, daffie, alexpott: Fix Drupal.Commenting.FunctionComment.MissingParamComment 2021-11-19 09:49:33 +00:00
Lee Rowlands 6d39cdeeb4
Issue #3222769 by bbrala, alexpott, longwave, Matroskeen: [November 8, 2021] Replace all list (array destructuring) assignment to the array syntax 2021-11-15 12:35:55 +10:00
Lee Rowlands 330473e759
Issue #3222251 by bbrala, longwave: [November 8, 2021] Replace all isset constructs with the null coalescing operator 2021-11-15 12:19:43 +10:00
Alex Pott 2aee2c17b3
Issue #3212891 by vaish, brentgees@gmail.com, srilakshmier, mikelutz, quietone, alexpott: Incorrect type declaration in docblock for class property 2021-11-07 14:33:50 +00:00
Alex Pott 76b866462d
Issue #3163663 by mpp, chrisolof, alexpott, quietone: Too many open files issue with migrating multiple files using "download" process plugin 2021-11-03 10:42:55 +00:00
catch 3eba4b3c58 Issue #3226052 by longwave, alexpott: Update to cspell 5 2021-10-28 13:18:59 +01:00
catch 8065ee3ee6 Issue #3134470 by heddn, gabesullice, sudiptadas19, ridhimaabrol24, quietone, mikelutz, Kristen Pol, alexpott, Wim Leers, larowlan, longwave: Switch to entity owner in EntityContentBase during validation 2021-10-22 10:18:35 +01:00
Alex Pott e67aa82acf
Issue #3124674 by mondrake, Neslee Canil Pinto, daffie: Refactor functionality for the SQLite driver to stop migration testing usage of the 'extra_prefix' connection option 2021-10-18 17:01:08 +01:00
Alex Pott 53e5e3382c
Issue #2909370 by Spokje, mfernea, neclimdul, zaporylie, quietone, xjm, osman, BartoszUrbaniak: Fix 'Drupal.Commenting.VariableComment.IncorrectVarType' coding standard 2021-10-18 16:40:04 +01:00
Alex Pott 8616edd24f
Issue #2976098 by quietone, alexpott, Sivaji_Ganesh_Jojodae, joachim, benjifisher, Wim Leers, mikelutz, catch, dinarcon, scotwith1t, heddn: MigrateExecutable should add details for the migration & destination property to exceptions that cause a row failure 2021-10-18 09:37:25 +01:00
Alex Pott 57d91dbea0
Issue #3209934 by quietone, alexpott, longwave: Fix spelling for 46 migrate related words 2021-10-18 09:13:24 +01:00
catch c1933e73e7 Issue #3239298 by alexpott, andypost, quietone, huzooka, daffie, longwave, Wim Leers, larowlan: Fix \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::updateEntity() so that config translation migrations can be rolled back 2021-10-13 12:24:53 +01:00
Lee Rowlands 8ce8eb9be1
Issue #3241130 by alexpott: Migrate units test trigger deprecations on PHP 8.1 2021-10-07 20:42:22 +10:00
catch faa874be00 Issue #3222844 by guilhermevp, paulocs, dhirendra.mishra, joachim, quietone, longwave: Add documentation for the return value of MigrateExecutableInterface::import() 2021-09-29 15:49:54 +01:00
catch 3745a46ace Issue #3239556 by andypost: Fix return type of \Drupal\Tests\migrate\Kernel\TestFilterIterator::accept() 2021-09-28 16:44:10 +01:00
Alex Pott 60f924386c
Issue #3190818 by Wim Leers, narendraR, quietone, xjm: Allow source counts to be cached: implement ::doCount() instead of ::count() 2021-09-25 18:35:31 +01:00
catch fb545897bf Issue #3238452 by alexpott: Exception messages must default to an empty string not a NULL for PHP 8.1 2021-09-23 10:53:54 +01:00
Alex Pott f1c06e87e0
Issue #3085192 by Wim Leers, focus13, grasmash: Add index on source_ids_hash for migrate_message_* tables 2021-09-20 23:10:58 +01:00
Lee Rowlands f06ad93f53
Issue #3224523 by alexpott, longwave: [PHP 8.1] Add ReturnTypeWillChange attribute where necessary 2021-09-17 13:12:50 +10:00
catch 1b66ab0cb3 Issue #3130606 by shaktik, mondrake, KapilV, longwave, daffie: MockBuilder::setMethods is deprecated in PHPUnit8 and removed from PHPUnit10 2021-09-13 17:23:15 +01:00
catch d79e4a6518 Issue #3106531 by mondrake, daffie, Rithesh BK, catch, xjm: Notify in Status Report that per-table database prefixes are no longer supported, and will throw errors in Drupal 10.0 2021-09-07 16:26:18 +01:00
catch 8dea1fb4d0 Issue #3227549 by huzooka, Wim Leers: Sql id map plugin's getRowByDestination shouldn't return FALSE 2021-08-17 10:31:45 +01:00
catch 4b4895c0c5 Issue #2989893 by ankithashetty, srilakshmier, quietone, firfin, longwave: Remove redundant source: key in Substr example 2021-08-06 08:25:19 +01:00
Alex Pott a0a22f8d41
Issue #3180351 by longwave, alexpott, daffie, catch, andypost, Charlie ChX Negyesi: doctrine/reflection is abandoned 2021-08-02 09:24:49 +01:00
catch 6335af17b4 Issue #3221312 by Spokje: ->willReturn(...) would make more sense here 2021-07-28 11:57:46 +01:00
Alex Pott 7de8fc1fda
Issue #3215836 by guilhermevp, imalabya, swatichouhan012, AJV009, joachim, quietone: add a constant to represent uncountable sources for SourcePluginBase::count() 2021-07-10 23:37:45 +01:00
Alex Pott fa3995b5dd
Issue #3220379 by guilhermevp, quietone, joachim: example code for NullCoalesce isn't formatted properly 2021-07-09 13:06:59 +01:00