Problem/Motivation
Before 3.0.0, try to fix any further phpstan issues from latest pipeline run. These aren't all the issues when running locally, but it will help with green colors.
https://git.drupalcode.org/project/agreement/-/pipelines/144168/codequal...
Ignore the drupal 12.0.0 compatibility warning.
Proposed resolution
Fixes code quality issues without breaking compatibility.
Remaining tasks
Ensure automated tests pass after creating merge request with fixes
Issue fork agreement-3440317
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:
- 3440317-phpstan-fixes
changes, plain diff MR !19
- 3440317-fixes-for-remaining
changes, plain diff MR !16
Comments
Comment #3
mradcliffeComment #5
mitthukumawat commentedFixed some of the coding standard issues occurred when running phpcs with Drupal and DrupalPractice.
Comment #6
mradcliffeComment #8
silvi.addweb commentedHi,
I have fixed below phpcs issue, Please review.
Comment #9
mradcliffeThank you for continuing work on this issue.
I would prefer not to change the README.md file from what it is in this issue.
The tests are still failing due to the is merge request so I am putting this back in Needs work.
Comment #13
ankitv18 commentedMR!19 is ready for a review.
Comment #15
mradcliffeThank you for all the effort. Following up with any 11 issues in the next project update bot run in #3428802: Automated Drupal 11 compatibility fixes for agreement.