- Issue created by @pefferen
- Assigned to chetan 11
- ๐ณ๐ฑNetherlands pefferen
@chetan 11 can you push your progress, I would like to get this issue moving
- last update
about 1 year ago 4 fail - Status changed to Needs review
about 1 year ago 8:13am 26 October 2023 - ๐ฎ๐ณIndia chetan 11
HI @pefferen,
I have fixed all the phpcs issue in the above module, please check raised MR,
Thanks. - last update
about 1 year ago 4 fail - last update
about 1 year ago 4 fail - Status changed to Needs work
about 1 year ago 11:54am 26 October 2023 - ๐ณ๐ฑNetherlands pefferen
nice work @chetan 11, the test are failing. in one instance because the definition of the constant has changed, the define function can be replaced with const in this case, only not as a class inside a module file. We can also move the constant to
ExternalEntityInterface
and refactor the usage./** * Property indicating if the annotated external entity should not be saved. @@ -37,7 +37,10 @@ use Drupal\Core\Render\Element; * * @internal */ -define('EXTERNAL_ENTITIES_BYPASS_ANNOTATED_EXTERNAL_ENTITY_SAVE_PROPERTY', 'BYPASS_ANNOTATED_EXTERNAL_ENTITY_SAVE'); +class ExternalEntitiesConstants { + const BYPASS_ANNOTATED_EXTERNAL_ENTITY_SAVE_PROPERTY = 'BYPASS_ANNOTATED_EXTERNAL_ENTITY_SAVE'; + +}
- last update
about 1 year ago 4 fail - First commit to issue fork.
- last update
12 months ago 4 fail - Issue was unassigned.
- Status changed to Needs review
12 months ago 7:26am 27 December 2023 - Status changed to Needs work
12 months ago 12:34am 3 January 2024 - ๐ต๐ญPhilippines paraderojether
Hi
I reviewed MR!26, applied against External Entities 8.x-2.x-dev with Drupal core version 10.1.7 and there are still phpcs errors and warnings shown below:
FILE: /Users/jetherparadero/Distributions/drupalorgissues/web/modules/contrib/external_entities/src/ExternalEntityAccessControlHandler.php ------------------------------------------------------------------------------------------------------------------------------------------ FOUND 42 ERRORS AND 1 WARNING AFFECTING 41 LINES ------------------------------------------------------------------------------------------------------------------------------------------ 20 | ERROR | [x] Opening brace should be on the same line as the declaration 37 | ERROR | [x] Opening brace should be on the same line as the declaration 38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 46 | ERROR | [x] Opening brace should be on the same line as the declaration 47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 57 | ERROR | [x] Opening brace should be on the same line as the declaration 58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 60 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 61 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 62 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 63 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 14 66 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 66 | ERROR | [x] Expected newline after closing brace 67 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 14 68 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 77 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 78 | ERROR | [x] Opening brace should be on the same line as the declaration 79 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 81 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 86 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 92 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 93 | ERROR | [x] Opening brace should be on the same line as the declaration 94 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 98 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 101 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 102 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 103 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 14 106 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10 107 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 119 | ERROR | [x] Opening brace should be on the same line as the declaration 120 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 124 | ERROR | [x] Expected 1 blank line after function; 0 found ------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 42 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------
I also found
warning: 1 line adds whitespace errors.
after applying the MR.Kindly check and advise, please.
Thank you. Venkatraman Ganesan โ made their first commit to this issueโs fork.
- last update
12 months ago 4 fail - Assigned to nitin_lama
- last update
12 months ago 4 fail - ๐ฎ๐ณIndia nitin_lama India
Fixed remaining phpcs issues. Please review.
- Issue was unassigned.
- Status changed to Needs review
12 months ago 7:28am 3 January 2024 - last update
12 months ago 4 fail - ๐ฎ๐ณIndia zkhan.aamir
All the error have been fixed.
Please refer the screenshot. - Status changed to RTBC
12 months ago 12:00pm 9 January 2024 - Status changed to Fixed
12 months ago 1:00pm 9 January 2024 - last update
12 months ago Composer error. Unable to continue. - last update
12 months ago 4 fail - last update
12 months ago 4 fail -
pefferen โ
committed dd0c7d9a on 8.x-2.x authored by
chetan 11 โ
Issue #3395565 by chetan 11, pefferen, nitin_lama, Shank115, Venkatraman...
-
pefferen โ
committed dd0c7d9a on 8.x-2.x authored by
chetan 11 โ
- Status changed to Needs work
11 months ago 5:39pm 21 January 2024 - ๐จ๐ฆCanada joseph.olstad
I suspect this latest commit broke the module. See automated test results.
- last update
11 months ago 4 fail - last update
11 months ago Patch Failed to Apply - ๐จ๐ฆCanada joseph.olstad
oops , this is the actual revert patch I was intending on uploading in the previous comment.
- last update
11 months ago 2 pass - last update
11 months ago 1 pass, 2 fail - ๐จ๐ฆCanada joseph.olstad
The revert patch in #22 is definitely fixing the regression.
Compare the no-change results (4 failures) with the revert patch in #22 that has 100% pass no fails. - last update
11 months ago 2 pass - last update
11 months ago 1 pass, 2 fail - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 8last update
11 months ago Waiting for branch to pass - Status changed to RTBC
11 months ago 7:27pm 21 January 2024 - ๐จ๐ฆCanada joseph.olstad
Please merge MR 30 to fix the regressions.
OR, commit patch 25.
Proven that the previous changes broke the module , see test results in the no_change patch #21
Patch #25 passes automated tests as before.
See screenshot:
- Status changed to Needs review
11 months ago 1:08am 22 January 2024 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 8.1 & MySQL 8last update
11 months ago Waiting for branch to pass - ๐ณ๐ฑNetherlands pefferen
Thanks for your work @joseph, was intending to continue to work on the commits but some thing came up, I will check your new work soon
-
pefferen โ
committed 980c5c40 on 8.x-2.x authored by
joseph.olstad โ
Issue #3395565 by pefferen, chetan 11, nitin_lama, Shank115, Venkatraman...
-
pefferen โ
committed 980c5c40 on 8.x-2.x authored by
joseph.olstad โ
- Status changed to Fixed
11 months ago 10:10am 27 January 2024 - Status changed to Fixed
11 months ago 10:11am 27 January 2024