Commit Graph

132 Commits (0ff3dada280f172289a45793e50494a4a0730264)

Author SHA1 Message Date
Alex Pott 09795b6e93
Issue #3131348 by Spokje, jungle, mondrake, vsujeetkumar, sja112, kishor_kolekar, Hardik_Patel_12, mrinalini9, yogeshmpawar, daffie: Replace assertions involving calls to empty() with assertEmpty()/assertNotEmpty()/assertArrayNotHasKey() 2021-12-30 13:40:35 +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
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 64074071d1
Issue #3223209 by kim.pepper, dww, yogeshmpawar, daffie, larowlan, Berdir, andypost, phenaproxima, brianV, alexpott, AjitS, ravi.shankar, catch, quietone, trobey, Dave Reid, JacobSingh, imclean, tim.plunkett, Kars-T, amateescu, JeremyFrench, aaron: deprecate file_save_data, file_copy and file_move and replace with a service 2021-10-25 11:01:32 +10:00
Lee Rowlands 384d615aaa
Issue #3245244 by kim.pepper, dww: Make FileUploadHandler re-usuable for non-form file uploads 2021-10-25 06:19:20 +10: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
Alex Pott bfe527484c
Issue #3232248 by kim.pepper, dww, andypost, paulocs, alexpott, mstrelan, Berdir: Move _file_save_upload_single to a service and deprecate 2021-10-15 09:01:34 +01:00
catch 406dfbc6c6 Issue #3227501 by longwave, mondrake: Remove remaining uses of t() in test assertions 2021-09-07 14:35:25 +01:00
catch 4122e26f5c Revert "Issue #3022910 by quietone, juampynr, chandrashekhar_srijan, alisonjo315, heddn, benjifisher: Prevent migrated files from having an incorrect value at file_managed.filename"
This reverts commit 286129f86e.
2021-08-19 09:52:26 +01:00
catch 694650fa66 Issue #2032893 by Thomas Brekelmans, srilakshmier, longwave, Mile23, dawehner, daffie, damiankloip, xjm, tstoeckler, slashrsm: Deprecate the function _views_file_status() 2021-08-13 14:56:10 +01:00
catch 286129f86e Issue #3022910 by quietone, juampynr, chandrashekhar_srijan, alisonjo315, heddn, benjifisher: Prevent migrated files from having an incorrect value at file_managed.filename 2021-08-10 08:11:34 +01:00
catch a227db1833 Issue #3021833 by pavnish, andypost, munish.kumar, kim.pepper, googletorp, swatichouhan012, daffie, Berdir, alexpott, xjm: Move FILE_STATUS_PERMANENT to \Drupal\file\FileInterface 2021-08-06 08:54:08 +01:00
Alex Pott 3e4b17a7c9
Issue #2669074 by kim.pepper, Berdir, gaydabura, andypost, ravi.shankar, KapilV, Wim Leers, bradjones1, nickolaj, alexpott, mondrake, 20th, yogeshmpawar, gaurav.kapoor, voleger, Pavan B S, Neslee Canil Pinto, aerozeppelin, Cameron Tod, daffie, dhruveshdtripathi, abramm, Nono95230, s.messaris, Mile23, claudiu.cristea, larowlan, catch, jibran, SpadXIII: Convert file_create_url() & file_url_transform_relative() to service, deprecate it 2021-07-09 14:18:01 +01:00
Lee Rowlands b27e6a8c59
Issue #2834958 by huzooka, Chris Burge, alfaguru, Wim Leers, Lendude: file_validate_extensions() incorrectly assumes $file->filename contains the file's extension 2021-07-09 15:20:56 +10:00
catch 116ebd1e2c Issue #3217706 by Spokje, longwave, guilhermevp, mondrake: Replace usages of assertFileNotExists(), that is deprecated 2021-06-14 09:26:39 +01:00
catch f3ad0680a3 Issue #3133162 by jungle, ravi.shankar, Deepak Goyal, Neslee Canil Pinto, anmolgoyal74, xjm, Kristen Pol: Replace the start verb Test with Tests in method comments of tests 2021-05-24 14:26:11 +01:00
Alex Pott 3f75f72de2
Issue #3131281 by mondrake, rahulrasgon, longwave, ridhimaabrol24, naresh_bavaskar, jungle, daffie: [May 17th 2021] Replace assertEqual() with assertEquals() 2021-05-20 00:39:14 +01:00
catch c5e16af101 Issue #3048423 by claudiu.cristea, longwave, klausi: Convert RelationshipUserFileDataTest into a Kernel test 2021-05-04 13:44:37 +01:00
catch 65873adedc Issue #3204163 by jonathanshaw: EntityQuery accessCheck: tests should not check access unless relevant 2021-04-01 18:46:09 +01:00
catch afd86e7d3c Issue #3193955 by mondrake, daffie, catch: Swap assertEqual arguments in preparation to replace with assertEquals 2021-01-28 09:57:41 +00:00
catch 6c64763741 Issue #2867959 by mondrake, danielnv18, xjm, ZeiP, daffie: Replace usages of deprecated AssertLegacyTrait::assertIdentical 2021-01-21 10:01:43 +00:00
catch 39bacf4426 Issue #3192427 by mondrake, daffie: Replace usages of deprecated AssertLegacyTrait::assertNotEqual 2021-01-18 16:16:33 +00:00
Alex Pott 118b1c33a7
Issue #3183226 by Matroskeen, oldspot, quietone: Specify table alias for File migration source plugin getIds method 2021-01-02 21:08:29 +00:00
catch dee581d3fa Issue #3128815 by mondrake, jungle, sja112, Spokje, shobhit_juyal, jameszhang023, nikitagupta, mrinalini9, xjm, longwave, dww: Replace assert*() involving greater/less comparison operators with assert(Greater|Less)Than(OrEqual) 2020-11-24 09:57:55 +00:00
xjm 1994ca5ccb SA-CORE-2020-012 by ufku, mrf, fgm, samuel.mortenson, dww, Heine, mlhess, David_Rothstein, pwolanin, xjm, fgm, stefan.r, dsnopek, rickmanelius, David Strauss, tedbow, alexpott, dww, larowlan, kim.pepper, Wim Leers, quicksketch, mcdruid, Fabianx, effulgentsia, drumm, pandaski, Mixologic 2020-11-17 16:16:53 -06:00
catch 70892a69f4 Issue #3156949 by ytsurk, Berdir: Filename is not shown in the maximum allowed file size error message (w/o using the file_validate_size upload validator) 2020-10-02 10:37:55 +01:00
Lee Rowlands 6e1d970aed
Issue #3160015 by quietone, mikelutz: Don't remove all slashes from filepath in file.php 2020-09-29 14:36:42 +10:00
Alex Pott 07c913e241
Issue #3159849 by quietone, mikelutz: Add missing tests of filepath to FileTest 2020-09-07 14:50:15 +01:00
Alex Pott 427c7ee7cc
Issue #3160031 by quietone, jungle, longwave, jameszhang023: Fix 18 spelling errors for migrate specific terms 2020-07-31 16:50:43 +01:00
catch eafefd897a Issue #2619482 by cburschka, ankit.singh, ravi.shankar, jungle, daffie: Convert all get_called_class()/get_class() to static:: 2020-07-13 15:35:49 +01:00
xjm 94ca9bc3a0 Issue #2972224 by alexpott, longwave, jungle, sja112, xjm, dww, daffie, kiamlaluno, dawehner, quietone, Lendude: Add .cspell.json to automate spellchecking in Drupal core 2020-06-21 14:15:29 -05:00
xjm 0f66cce399 Issue #2937513 by eltori, longwave, klausi, catch, idebr: Fix 'Drupal.Commenting.DocComment.TagGroupSpacing' coding standard 2020-05-20 17:11:54 -05:00
catch 40a5bd7e0a Issue #3126965 by jungle, quietone, longwave, mondrake, dww: Replace assert* involving count() and an integer literal with assertCount() 2020-05-07 19:07:00 +01:00
xjm 2718a80a6b Issue #3131818 by jungle, mero.S: Replace assertions involving calls to is_object() with assertIsObject()/assertIsObject() 2020-05-04 07:54:35 -05:00
Alex Pott 3f87e0d805
Issue #3132745 by jungle, longwave, xjm, swatichouhan012, daffie: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the $modules test property 2020-05-02 12:34:00 +01:00
catch 222e10447b Issue #3131088 by Spokje, longwave: Replace assertions involving calls to file_exists with assertFileExists()/assertFileNotExists() or assertDirectoryExists()/assertDirectoryNotExists() 2020-04-27 14:13:40 +01:00
catch 27515dc255 Issue #3130811 by mondrake, jungle, longwave: Remove redundant $message from assert(Not)InstanceOf calls 2020-04-27 10:35:37 +01:00
catch de052f01c7 Issue #3130396 by longwave, jungle, dww, mondrake: Replace assertions involving calls to is_file with assertFileExists()/assertFileNotExists() 2020-04-27 10:31:21 +01:00
catch bcec845d85 Issue #3128575 by longwave, jungle, daffie: Replace assert*(*, is_null()) with assertNotNull()/assertNull() 2020-04-27 09:20:37 +01:00
catch 4fe0b034a9 Issue #3128905 by jungle, longwave, Kristen Pol, mondrake: Replace assert* involving an instanceof operator with assertInstanceOf()/assertNotInstanceOf() 2020-04-24 21:27:52 +01:00
catch 5132c83fac Issue #3082415 by Krzysztof Domański, mondrake, alexpott, longwave, jungle: Replace assert(Not)Same/Identical() on booleans with assert(Not)True/False() in PHPUnit tests 2020-04-17 16:00:07 +01:00
Alex Pott 6bf02d966d
Issue #2822382 by voleger, pfrenssen, erozqba, jungle, RytoEX, borisson_, jofitz, shashikant_chauhan, sidharthap, dawehner, xjm, kiamlaluno, catch, daffie, klausi: Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase 2020-04-13 12:05:00 +01:00
Alex Pott 0dc28534c8
Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch, alexpott, Berdir: Between April 13 and April 17, 2020: Add return typehints to setUp/tearDown methods in concrete test classes 2020-04-13 09:56:30 +01:00
catch c964d76ad9 Issue #2966856 by Gábor Hojtsy, quietone, alexpott, vuil, catch, heddn: Hide and disable Drupal Migrate Multilingual 2020-03-13 17:29:40 +00:00
catch e79723c3ef Issue #3074585 by mikelutz, alexpott, Berdir, Mile23, heddn, effulgentsia, Wim Leers: [Symfony 5] Replace app.root and site.path string services with container parameters 2020-03-05 11:22:39 +00:00
catch a74215876a Issue #3088480 by phenaproxima, mikelutz, quietone: Remove the "cckfield" plugin type from the migration system 2019-11-28 13:04:06 +00:00
Alex Pott 144c05e1ae
Issue #3062757 by voleger, Berdir, andypost: Remove deprecated legacy include files from Drupal 9 2019-11-27 08:33:24 +00:00
catch 19f9474b9b Issue #2742585 by ZeiP, alexpott, mondrake, klausi, tomasnagy, Krzysztof Domański, sokru, kristiaanvandeneynde, dawehner, jeroenbegyn: Deprecate dangerous assertTrue/False() compatibility overrides in PHPUnit Kernel, Functional and FunctionalJavascript tests 2019-11-08 13:53:52 +00:00
Alex Pott efc4dd9796
Issue #3004929 by mikelutz, heddn: Fix 'The Drupal\migrate\Plugin\migrate\process\Migration is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use Drupal\migrate\Plugin\migrate\process\MigrationLookup' 2019-11-02 06:52:57 +01:00