Problem/Motivation

  • Typehinting will be required before drupal:10.0.0.

Issue fork cloud-3191584

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yas created an issue. See original summary.

yas’s picture

iuana made their first commit to this issue’s fork.

yas’s picture

Assigned: Unassigned » iuana

iuana’s picture

StatusFileSize
new71.17 KB

I've added the patch.

iuana’s picture

Status: Active » Needs review
StatusFileSize
new73.74 KB
dii’s picture

Status: Needs review » Needs work

@iuana

Thank you for the refactoring. The patch file needs to have CR/LF at the end of the file. Please upload the patch file again. Thanks

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new73.74 KB

Yes, indeed. Thank you!

Status: Needs review » Needs work

The last submitted patch, 12: 3191584-11.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new80.96 KB
iuana’s picture

yas’s picture

Status: Needs review » Needs work

@iuana

Thank you for the update.

  1. Please add use Symfony\Component\HttpFoundation\RedirectResponse; into its interface / class if the method has the RedirectResponse return type hint.
  2. Please fix the following error:
    $ drush cr
    
    Fatal error: Declaration of Drupal\aws_cloud\Form\Ec2\SecurityGroupDeleteMultipleForm::processCloudResource(Drupal\cloud\Entity\CloudContentEntityBase $entity) must be compatible with Drupal\cloud\Form\CloudProcessMultipleForm::processCloudResource(Drupal\cloud\Entity\CloudContentEntityBase $entity): bool in /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/aws_cloud/src/Form/Ec2/SecurityGroupDeleteMultipleForm.php on line 15
     [warning] Drush command terminated abnormally.
    

Thanks

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new120.9 KB

Hello @yas
I fixed what you've mentioned and also I've added the rest of return type declaration of the Terraform module.
Thank you!

iuana’s picture

StatusFileSize
new120.78 KB

Update: This is the correct patch added.

Status: Needs review » Needs work

The last submitted patch, 18: 3191584-18.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new122.99 KB

Status: Needs review » Needs work

The last submitted patch, 20: 3191584-20.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new124.45 KB

Status: Needs review » Needs work

The last submitted patch, 22: 3191584-22.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new149.77 KB
iuana’s picture

StatusFileSize
new151.48 KB
iuana’s picture

StatusFileSize
new143.13 KB

Status: Needs review » Needs work

The last submitted patch, 26: 3191584-26.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new134.92 KB

Status: Needs review » Needs work

The last submitted patch, 28: 3191584-28.patch, failed testing. View results

yas’s picture

@iuana

Thank you for refactoring. I reviewed the patch. Please see my above comments. Thanks.

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new118.46 KB

Thank you for reviewing my work. I've resolved the threads.

Status: Needs review » Needs work

The last submitted patch, 31: 3191584-31.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new118.72 KB

Status: Needs review » Needs work

The last submitted patch, 33: 3191584-33.patch, failed testing. View results

iuana’s picture

Status: Needs work » Needs review
StatusFileSize
new116.79 KB
xiaohua guan’s picture

Status: Needs review » Reviewed & tested by the community

@yas @iuana

My comments were resolved. So I changed the status RTBC.

yas’s picture

Status: Reviewed & tested by the community » Needs work

@iuana @xiaohua-guan

I found the other three occurrences to change to the alphabetical order. I switched back the status to Needs work. Please check those.

yas’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new116.94 KB

@iuana

Thank you for the update. It looks good now. I'll merge the patch to 3.x and close this issue as Fixed.

  • yas committed f587af9 on 3.x
    Issue #3191584 by iuana, yas, Xiaohua Guan: Add function's return type...

yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.