- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
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.
Also, the report should not be a screenshot.
- ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
Latest patch doesn't apply to dev branch.
Needs work. - ๐ช๐ธSpain aleix
I am planning to contribute on this, but i am focussing on drupal 10, is it possible to create a dev branch to be able to apply coding standards there?
- ๐บ๐ธUnited States Todd Zebert Los Angeles, CA
I didn't see this fix in the last patch, but the error is in the phpcs output in the original post. The same error arrises from what's we're running (to confirm PHP8.1 compatibility)
phpcs --runtime-set testVersion 8.1- --standard=PHPCompatibility
.-----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------------
88 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: '0x0'
----------------------------------------------------------------------------------------------------------------------------------------------- - Status changed to Needs review
12 months ago 8:08am 1 December 2023 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
Switching to 2.0.x branch as 8.x is deprecated.
- ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
VladimirAus โ changed the visibility of the branch 2.0.x to hidden.
- Status changed to Needs work
11 months ago 6:58am 9 January 2024 - ๐บ๐ธUnited States apotek
There are two issues in this issue: coding standards and adding gitlab.ci. Most of the friction here is coming from the coding standards. Should we create a separate issue just for the gitlab work (which is complete) and at least be able to get that ported into any active branches? That will _really_ help any new merge requests in gitlab while the code style issues get hashed out. I understand that this will lead to failing tests until the phpcs issues are fixed, but we can set those failing tests to ignore in the meantime. Happy to lead on this if desired.
- ๐ท๐บRussia zniki.ru
Should we create a separate issue just for the gitlab work (which is complete) and at least be able to get that ported into any active branches?
Yes, this is good idea to create separate issue.
And separate issue to fix phpunit tests can be created as well.I hide patch files, because MR workflow is used.
- ๐บ๐ธUnited States apotek
Should we create a separate issue just for the gitlab work (which is complete) and at least be able to get that ported into any active branches?
Yes, this is good idea to create separate issue.
And separate issue to fix phpunit tests can be created as well.@nikolay-shapovalov I have created a separate issue ๐ Add gitlab.ci Needs work just for the gitlab-ci.yml starter file, so we can get that in and start getting feedback on merge requests, even if tests are allowed to fail.
https://www.drupal.org/project/dfp/issues/3416546 ๐ Add gitlab.ci Needs work
And as you said, moving the test fixes into a separate issue would also be good to do... Thank you.
- ๐บ๐ธUnited States apotek
Updated title to reflect focus on this issue being the coding standards and letting the initial addition of gitlab-ci work be addressed separately https://www.drupal.org/project/dfp/issues/3416546 ๐ Add gitlab.ci Needs work
- First commit to issue fork.
- Status changed to Needs review
8 months ago 11:29am 19 March 2024 - ๐ฎ๐ณIndia Yashaswi18
Hello, checked out to the branch '2833962-fix-the-issues-d10' and ran the command
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js
, found no errors or warnings remaining. - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
VladimirAus โ changed the visibility of the branch 2833962-fix-the-issues to hidden.
- Status changed to RTBC
6 months ago 5:14am 24 May 2024 - ๐ฆ๐บAustralia jannakha Brisbane!
outstanding failed CI items are created as separate tasks
-
VladimirAus โ
committed 72ef5c64 on 2.0.x
Issue #2833962 by VladimirAus, renatog, jyoti.singh, Suresh Prabhu...
-
VladimirAus โ
committed 72ef5c64 on 2.0.x
- Status changed to Fixed
6 months ago 12:08pm 24 May 2024 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
Thank you! Committed! ๐ฅ
Automatically closed - issue fixed for 2 weeks with no activity.