Account created on 28 December 2021, over 2 years ago
#

Merge Requests

More

Recent comments

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.
Added patch for Drupal core 10.2.6

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Sorry, It's related to my custom patch and doesn't reproduce in 1.6 version.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

We have applied patch #9, but sometimes we have this error when go to Content dashboard

Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.block_content.page_1" does not exist." at /mnt/www/html/docroot/core/lib/Drupal/Core/Routing/RouteProvider.php line 206

Seems patch #9 doesn't fix the issue as well(
Workaround, clearing Drupal caches...

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

I have the same issue on my current Drupal core 10.1,5. Module enabled as expected but after clearing cache I have this issue and it blocked my site.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.
+1 RTBC for patch #14 and MR !56 on Drupal 10.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

+1 RTBC for MR6.
It works as expected on Drupal 10.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.
+1 RTBC for patch #4

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello @sakthi_dev

We have pipeline with phpcs in this module)))) FYI: https://git.drupalcode.org/issue/ultimate_cron-3421334/-/jobs/815693

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Please review MR !401

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ changed the visibility of the branch 3421103-drupal-coding-standarts to hidden.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

I have used on local rules: Drupal, DrupalPractice for extensions: twig,css,inc,install,module,php,profile,test,theme,module/php,install/php,js
Ok, I will create separate branch to fix only Drupal coding standards that proposed in pipeline from .gitlab-ci.yml

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

@abramm TY

Please, review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ created an issue.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

MR !82 is ready for review. We have fixed Drupal coding standards.

https://git.drupalcode.org/issue/redirect-3376530/-/jobs/802404

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ changed the visibility of the branch 8.x-1.x to hidden.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ changed the visibility of the branch 3376530-code-standards-fixes to active.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Fixed and created MR.

Need review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.
The module was prepared to review. Drupal coding standards were fixed as for Drupal 7 version of module https://git.drupalcode.org/project/file_compressor_field/-/pipelines/86778

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.
The module was prepared to review. Drupal coding standards were fixed as for Drupal 9/10 as for Drupal 7 version of module.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

ankondrat4 ā†’ made their first commit to this issueā€™s fork.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Please, create MR for this.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

As I see, it was fixed in 2.0.0 version.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

As I see, it was fixed in 2.0.0 version.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Need to fix phpstan errors:

$ php vendor/bin/phpstan analyze $_WEB_ROOT/modules/custom/$CI_PROJECT_NAME $PHPSTAN_CONFIGURATION --no-progress || EXIT_CODE=$?
 ------ ------------------------------------------------------------------------------ 
  Line   src/Form/FileCompressorRebuildForm.php                                        
 ------ ------------------------------------------------------------------------------ 
  61     Unsafe usage of new static().                                                 
         šŸ’” See:                                                                       
            https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static  
  137    \Drupal calls should be avoided in classes, use dependency injection          
         instead                                                                       
  141    Relying on entity queries to check access by default is deprecated in         
         drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call             
         \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or          
         FALSE to specify whether access should be checked.                            
         šŸ’” See https://www.drupal.org/node/3201242                                    
 ------ ------------------------------------------------------------------------------ 
 ------ ---------------------------------------------------------------------- 
  Line   src/Plugin/FileCompressor/FileCompressorGZip.php                      
 ------ ---------------------------------------------------------------------- 
  29     \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
  33     \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
 ------ ---------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------- 
  Line   src/Plugin/FileCompressor/FileCompressorZip.php                       
 ------ ---------------------------------------------------------------------- 
  28     \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
  30     \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
 ------ ---------------------------------------------------------------------- 
 [ERROR] Found 7 errors   

Drupal coding standarts:

$ vendor/bin/phpcs -s $_WEB_ROOT/modules/custom --report-junit=junit.xml --report-full --report-summary --report-source
FILE: .../custom/file_compressor_field/src/Plugin/FileCompressorPluginInterface.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 47 | ERROR | [ ] Missing parameter type
    |       |     (Drupal.Commenting.FunctionComment.MissingParamType)
 56 | ERROR | [x] Whitespace found at end of line
    |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: .../modules/custom/file_compressor_field/src/Plugin/FileCompressorManager.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 21 | ERROR | [ ] Doc comment short description must be on a single line,
    |       |     further text should be a separate paragraph
    |       |     (Drupal.Commenting.DocComment.ShortSingleLine)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...web/modules/custom/file_compressor_field/src/Plugin/FileCompressorBase.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 14 | ERROR | [ ] Doc comment short description must be on a single line,
    |       |     further text should be a separate paragraph
    |       |     (Drupal.Commenting.DocComment.ShortSingleLine)
 41 | ERROR | [ ] Missing short description in doc comment
    |       |     (Drupal.Commenting.DocComment.MissingShort)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...stom/file_compressor_field/src/Plugin/FileCompressor/FileCompressorZip.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 23 | ERROR | [ ] Missing short description in doc comment
    |       |     (Drupal.Commenting.DocComment.MissingShort)
 41 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 45 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 49 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...tom/file_compressor_field/src/Plugin/FileCompressor/FileCompressorGZip.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 24 | ERROR | [ ] Missing short description in doc comment
    |       |     (Drupal.Commenting.DocComment.MissingShort)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...om/file_compressor_field/src/Plugin/Field/FieldType/FileCompressorItem.php
--------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 14 LINES
--------------------------------------------------------------------------------
   3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
     |       |     with a file doc comment
     |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
  30 | ERROR | [x] Missing function doc comment
     |       |     (Drupal.Commenting.FunctionComment.Missing)
  31 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  40 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  41 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  61 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  70 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
     |       |     (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction)
  70 | ERROR | [x] Expected 1 space before opening brace; found 0
     |       |     (Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace)
  70 | ERROR | [x] Expected 1 space before opening brace; found 0
     |       |     (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeBrace)
  74 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
     |       |     (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
  92 | ERROR | [x] There should be no white space after an opening "("
     |       |     (Drupal.WhiteSpace.OpenBracketSpacing.OpeningWhitespace)
  92 | ERROR | [x] There should be no white space before a closing ")"
     |       |     (Drupal.WhiteSpace.CloseBracketSpacing.ClosingWhitespace)
 104 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 106 | ERROR | [x] Expected 1 space after "=>"; 0 found
     |       |     (Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterArrow)
 106 | ERROR | [x] Expected 1 space after "=>"; 0 found
     |       |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfter)
 107 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 107 | ERROR | [ ] The array declaration extends to column 124 (the limit is
     |       |     120). The array content should be split up over multiple
     |       |     lines (Drupal.Arrays.Array.LongLineDeclaration)
 112 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ..._field/src/Plugin/Field/FieldType/FileCompressorFieldItemListInterface.php
--------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
  1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
    |       |     (Drupal.WhiteSpace.OpenTagNewline.BlankLine)
  2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
    |       |     with a file doc comment
    |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
 18 | ERROR | [ ] Missing parameter type
    |       |     (Drupal.Commenting.FunctionComment.MissingParamType)
 21 | ERROR | [ ] Return type missing for @return tag in function comment
    |       |     (Drupal.Commenting.FunctionComment.MissingReturnType)
 26 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 27 | ERROR | [x] Expected 1 newline at end of file; 0 found
    |       |     (Drupal.Files.EndFileNewline.NoneFound)
 27 | ERROR | [x] The closing brace for the interface must have an empty line
    |       |     before it
    |       |     (Drupal.Classes.ClassDeclaration.CloseBraceAfterBody)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ompressor_field/src/Plugin/Field/FieldType/FileCompressorFieldItemList.php
--------------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 13 LINES
--------------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not begin
     |         |     with a file doc comment
     |         |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
  14 | WARNING | [x] Unused use statement
     |         |     (Drupal.Classes.UnusedUseStatement.UnusedUse)
  25 | ERROR   | [x] Short array syntax must be used to define arrays
     |         |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  29 | ERROR   | [x] Expected 1 space after closing parenthesis; found 0
     |         |     (Drupal.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
  44 | ERROR   | [x] There should be no white space before a closing ")"
     |         |     (Drupal.WhiteSpace.CloseBracketSpacing.ClosingWhitespace)
  45 | ERROR   | [x] Short array syntax must be used to define arrays
     |         |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  54 | ERROR   | [ ] Doc comment short description must end with a full stop
     |         |     (Drupal.Commenting.DocComment.ShortFullStop)
  57 | ERROR   | [x] Parameter comment must end with a full stop
     |         |     (Drupal.Commenting.FunctionComment.ParamCommentFullStop)
  64 | ERROR   | [x] Data types in @var tags need to be fully namespaced
     |         |     (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)
  64 | ERROR   | [x] Data types in @var tags need to be fully namespaced
     |         |     (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)
 102 | ERROR   | [x] Short array syntax must be used to define arrays
     |         |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 111 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     |         |     (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
 117 | ERROR   | [x] Short array syntax must be used to define arrays
     |         |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 141 | ERROR   | [x] Data types in @var tags need to be fully namespaced
     |         |     (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)
 141 | ERROR   | [x] Data types in @var tags need to be fully namespaced
     |         |     (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...odules/custom/file_compressor_field/src/Form/FileCompressorRebuildForm.php
--------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------
   3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
     |       |     with a file doc comment
     |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
  81 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  88 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  90 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
  90 | ERROR | [ ] The array declaration extends to column 145 (the limit is
     |       |     120). The array content should be split up over multiple
     |       |     lines (Drupal.Arrays.Array.LongLineDeclaration)
  99 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 101 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 109 | ERROR | [x] Short array syntax must be used to define arrays
     |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...web/modules/custom/file_compressor_field/src/Annotation/FileCompressor.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 3 | ERROR | [x] Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
   |       |     (Drupal.Commenting.FileComment.NamespaceNoFileDoc)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ield/web/modules/custom/file_compressor_field/file_compressor_field.module
--------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
  8 | ERROR | [x] When importing a class with "use", do not include a leading \
    |       |     (Drupal.Classes.UseLeadingBackslash.SeparatorStart)
 29 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 29 | ERROR | [x] Expected 1 space between double arrow and
    |       |     "'http://php.net/manual/es/book.zip.php'"; 0 found
    |       |     (Squiz.Arrays.ArrayDeclaration.NoSpaceAfterDoubleArrow)
 29 | ERROR | [x] Expected 1 space after "=>"; 0 found
    |       |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfter)
 30 | ERROR | [x] Short array syntax must be used to define arrays
    |       |     (Drupal.Arrays.DisallowLongArraySyntax.Found)
 30 | ERROR | [x] Expected 1 space between double arrow and
    |       |     "'http://pear.php.net/package/Archive_Tar'"; 0 found
    |       |     (Squiz.Arrays.ArrayDeclaration.NoSpaceAfterDoubleArrow)
 30 | ERROR | [x] Expected 1 space after "=>"; 0 found
    |       |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfter)
 32 | ERROR | [x] Case breaking statements must be followed by a single blank
    |       |     line
    |       |     (Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak)
 62 | ERROR | [x] Expected 1 newline at end of file; 0 found
    |       |     (Drupal.Files.EndFileNewline.NoneFound)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 161ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
--------------------------------------------------------------------------------
FILE                                                            ERRORS  WARNINGS
--------------------------------------------------------------------------------
...s/custom/file_compressor_field/file_compressor_field.module  9       0
...tom/file_compressor_field/src/Annotation/FileCompressor.php  1       0
...ile_compressor_field/src/Form/FileCompressorRebuildForm.php  8       0
...tom/file_compressor_field/src/Plugin/FileCompressorBase.php  3       0
.../file_compressor_field/src/Plugin/FileCompressorManager.php  2       0
...mpressor_field/src/Plugin/FileCompressorPluginInterface.php  3       0
.../src/Plugin/Field/FieldType/FileCompressorFieldItemList.php  14      1
...in/Field/FieldType/FileCompressorFieldItemListInterface.php  7       0
...sor_field/src/Plugin/Field/FieldType/FileCompressorItem.php  19      0
...ssor_field/src/Plugin/FileCompressor/FileCompressorGZip.php  2       0
...essor_field/src/Plugin/FileCompressor/FileCompressorZip.php  5       0
--------------------------------------------------------------------------------
A TOTAL OF 73 ERRORS AND 1 WARNING WERE FOUND IN 11 FILES
--------------------------------------------------------------------------------
PHPCBF CAN FIX 63 OF THESE SNIFF VIOLATIONS AUTOMATICALLY

ESLINT

$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/eslint --no-error-on-unmatched-pattern --ignore-pattern="*.es6.js" --resolve-plugins-relative-to=$CI_PROJECT_DIR/$_WEB_ROOT/core --ext=.js,.yml . || true
/builds/project/file_compressor_field/web/modules/custom/file_compressor_field/file_compressor_field.services.yml
  3:1  error  Expected indentation of 4 spaces but found 6 spaces  yml/indent
  4:1  error  Expected indentation of 4 spaces but found 6 spaces  yml/indent
āœ– 2 problems (2 errors, 0 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

https://git.drupalcode.org/project/file_compressor_field/-/pipelines/85323

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Module was adapted to Drupal 10.

Please, review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Created a new MR with gitlab ci.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

RTBC +1 for MR !3

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Fixed phpstan.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

All issues described issues were fixed gere https://www.drupal.org/project/activity/issues/3417212 šŸ› Coding standards Needs review

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Fixed.
Please, review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Fixed, please review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Fixed coding standard and deprecated code.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

I have fixed coding standards for this module. Scanned by phpstan and phpcs.

$ vendor/bin/phpstan analyze web/modules/contrib/phone_link-3417237
 2/2 [ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“] 100%


                                                                                                                        
 [OK] No errors                                                                                                         
                                                                                                                        

šŸ’” Tip of the Day:
PHPStan is performing only the most basic checks.
You can pass a higher rule level through the --level option
(the default and current level is 0) to analyse code more thoroughly.

$ vendor/bin/phpcs web/modules/contrib/phone_link-3417237

Please review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Added Drupal 9 and 10 compatibility.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

I have done compatibility with Drupal 10.

Please, review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

I have fixed phpcs issues

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Compatible with Drupal 10 was applied.
When we tried to use DI of service @domain.negotiator, we got Fatal error as described in description of task. Maybe someone has solution, you are welcome to change this)

Please, review.

šŸ‡ŗšŸ‡¦Ukraine ankondrat4

Hello.

Nice feature. I propose to add this as a function of the module.

@freelock what do you think about it?

Production build 0.69.0 2024