- Issue created by @urvashi_vora
- Status changed to Needs work
about 1 year ago 12:02pm 4 September 2023 Hello, @urvashi_vora thanks for the patch, I have applied your patch and ran successfully.
These are the steps I followed:
1. Took clone from git version 1.0.x in drupal 10.1.x
2. Ran this command:
./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig modules/contrib/y_donate/
3. Applied your patch and, again ran phpcs command
found errors
4. I have fixed that error with phpcbf.
Ran this command to fix the errors:
./vendor/bin/phpcbf --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig modules/contrib/y_donate/
Then again checked with phpcs:
./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig modules/contrib/y_donate/
5. Some warnings & errors are still there.
Needs work.
- ๐ฎ๐ณIndia AditiVB
Aditi Saraf โ made their first commit to this issueโs fork.
- Status changed to Needs review
about 1 year ago 10:25am 5 September 2023 - ๐ฎ๐ณIndia aayushDrupal
Hi,
I have fixed all the errors, please review my patch . - Status changed to RTBC
about 1 year ago 11:36am 19 September 2023 - ๐ง๐นBhutan Tshewang Gyaltshen
hi @aayushmankotia,
i have tested your patch: issuefixed-3373804-5.patch and it is fixing all the issues. Thanks for your patch. Moving to RTBC - Status changed to Needs work
about 1 year ago 8:43pm 19 September 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
+For further information, see [Installing Drupal Modules] +(https://www.drupal.org/docs/extending-drupal/installing-drupal-modules).
The markup for links is written on a single line. The correct text is the following.
For further information, see [Installing Drupal Modules](https://www.drupal.org/docs/extending-drupal/installing-drupal-modules).
-3. Select **Add block** on the page, then search or scroll to find **Donation Form Embed Block**. +3. Select **Add block** on the page, then search or scroll to find +**Donation Form Embed Block**.
The last line is not correctly indented.
-Y Layout Builder - Donate: A submodule of this module, this will allow editors to create a call to action block in Layout Builder that directs users to the embedded donation form. +Y Layout Builder - Donate: A submodule of this module, this will
The first line has been split after 65 characters.
+If your embedded form does not work in your non-production environment +you may need to add a domain to the allow-list either on the provider-side +or in your site's Content Security Policy.
The first line has been split after 70 characters. To reach 80 characters, you may could have been placed on the first line.
+**A1:** If your provider is not listed you can add the form by selecting +the **Code** Custom Block and then pasting in your code.
The last line is not correctly indented.
/** * @file - * Contains install and update functions for Y Layout Builder - Donate module. + * Contains install and update functions for Y Layout Builder - Donate module. */
The usual description for a .install file is Install, update, and uninstall functions for the [module name] module. where [module name] is the module name reported in the .info.yml file.
+ * Donation form provider. + * * Lists Form Providers for Donation form. To be overridden if a custom * provider is needed. Array key should be the same name as a twig file that
Since the method returns a list of form providers, it is not a form provider.
- Assigned to nitin_lama
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 12:03pm 20 September 2023 - Status changed to Needs work
about 1 year ago 2:31pm 20 September 2023 - ๐บ๐ฆUkraine podarok Ukraine
Can we have Merge Request created, please?
Patch is 27Kb of size, it is not reviewableWe are in 21st century, Merge Request is a thing
- Assigned to nitin_lama
- @nitin_lama opened merge request.
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 10:57am 21 September 2023 - Status changed to Needs work
10 months ago 5:49pm 19 January 2024 - Status changed to Needs review
10 months ago 6:55am 25 January 2024 - ๐ฎ๐ณIndia mohd sahzad
HI @Nikolay Shapovalov,
I have fixed phpcs isssue in above attached patch 10 , please review this patch
- Status changed to Needs work
10 months ago 7:56am 25 January 2024 - ๐ท๐บRussia zniki.ru
@Mohd Sahzad thanks for your patch.
But changes you provided doesn't make sense.
The name of the module is "Y Layout Builder - Donate", and you can split it into to sentences.
You can try to use module machine name.The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
I would rather use Install, update, and uninstall functions for the Y Layout Builder - Donate module. and ignore the report about the line length.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
See also comment #11, where a project maintainer asked to use issue forks and merge requests for this issue. Comment #18 still uses a patch.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
It is not possible to create an issue fork for the 2.0.x branch, from this issue.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
Can we have Merge Request created, please? ๐ Fix the issues reported by phpcs Needs work
- ๐ฎ๐ณIndia Anjali Mehta
Anjali Mehta โ made their first commit to this issueโs fork.
- Status changed to Needs review
9 months ago 5:13am 6 February 2024 - Status changed to Needs work
9 months ago 1:37pm 6 February 2024 - First commit to issue fork.
- Status changed to Needs review
9 months ago 2:20pm 6 February 2024 - ๐ฎ๐ณIndia sourabhjain
I have removed the CSS file. Please review it now.
- Status changed to Fixed
9 months ago 2:57pm 6 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.