Fix the issues reported by phpcs

Created on 6 January 2023, almost 2 years ago
Updated 20 November 2023, about 1 year ago

Problem/Motivation

Getting following errors and warning

$ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig pagerer/ 

FILE: pagerer/pagerer_example/pagerer_example.routing.yml
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 9 | WARNING | Open page callback found, please add a comment before the line why there is no access restriction
-----------------------------------------------------------------------------------------------------------------


FILE: pagerer/pagerer_example/src/Controller/PagererExampleController.php
-----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------
 20 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 38 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 54 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 71 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 83 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-----------------------------------------------------------------------------------------------


FILE: pagerer/tests/modules/pagerer_test/pagerer_test.module
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------
 18 | WARNING | Unused variable $index.
----------------------------------------------------------------------------------


FILE: pagerer/tests/src/Functional/PagererTest.php
------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------
 570 | WARNING | Unused variable $match_querystring.
------------------------------------------------------------------------


FILE: pagerer/tests/src/FunctionalJavascript/CorePagerReplacePaginationAJAXTest.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------
 36 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 32 WARNINGS AFFECTING 32 LINES
----------------------------------------------------------------------
  38 | WARNING | Line exceeds 80 characters; contains 81 characters
  51 | WARNING | Line exceeds 80 characters; contains 93 characters
  57 | WARNING | Line exceeds 80 characters; contains 83 characters
  58 | WARNING | Line exceeds 80 characters; contains 85 characters
 256 | WARNING | Line exceeds 80 characters; contains 82 characters
 265 | WARNING | Line exceeds 80 characters; contains 81 characters
 281 | WARNING | Line exceeds 80 characters; contains 84 characters
 286 | WARNING | Line exceeds 80 characters; contains 81 characters
 313 | WARNING | Line exceeds 80 characters; contains 82 characters
 320 | WARNING | Line exceeds 80 characters; contains 82 characters
 328 | WARNING | Line exceeds 80 characters; contains 85 characters
 331 | WARNING | Line exceeds 80 characters; contains 83 characters
 340 | WARNING | Line exceeds 80 characters; contains 82 characters
 344 | WARNING | Line exceeds 80 characters; contains 83 characters
 351 | WARNING | Line exceeds 80 characters; contains 83 characters
 354 | WARNING | Line exceeds 80 characters; contains 83 characters
 361 | WARNING | Line exceeds 80 characters; contains 81 characters
 363 | WARNING | Line exceeds 80 characters; contains 81 characters
 365 | WARNING | Line exceeds 80 characters; contains 87 characters
 368 | WARNING | Line exceeds 80 characters; contains 97 characters
 374 | WARNING | Line exceeds 80 characters; contains 87 characters
 379 | WARNING | Line exceeds 80 characters; contains 87 characters
 382 | WARNING | Line exceeds 80 characters; contains 81 characters
 384 | WARNING | Line exceeds 80 characters; contains 81 characters
 391 | WARNING | Line exceeds 80 characters; contains 81 characters
 394 | WARNING | Line exceeds 80 characters; contains 81 characters
 403 | WARNING | Line exceeds 80 characters; contains 82 characters
 405 | WARNING | Line exceeds 80 characters; contains 84 characters
 432 | WARNING | Line exceeds 80 characters; contains 84 characters
 435 | WARNING | Line exceeds 80 characters; contains 81 characters
 444 | WARNING | Line exceeds 80 characters; contains 83 characters
 463 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------


FILE: pagerer/interdiff_21-22.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------
  25 | WARNING | Line exceeds 80 characters; contains 99 characters
  33 | WARNING | Line exceeds 80 characters; contains 81 characters
  58 | WARNING | Line exceeds 80 characters; contains 132 characters
  66 | WARNING | Line exceeds 80 characters; contains 92 characters
  69 | WARNING | Line exceeds 80 characters; contains 172 characters
  84 | WARNING | Line exceeds 80 characters; contains 81 characters
  88 | WARNING | Line exceeds 80 characters; contains 97 characters
 112 | WARNING | Line exceeds 80 characters; contains 116 characters
 120 | WARNING | Line exceeds 80 characters; contains 131 characters
 145 | WARNING | Line exceeds 80 characters; contains 81 characters
 164 | WARNING | Line exceeds 80 characters; contains 85 characters
 175 | WARNING | Line exceeds 80 characters; contains 151 characters
----------------------------------------------------------------------


FILE: pagerer/pagerer.module
---------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------
   1 | ERROR | [x] Missing file doc comment
 103 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 173 | ERROR | [x] Use null coalesce operator instead of ternary operator.
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------


FILE: pagerer/interdiff_19-21.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
  43 | WARNING | Line exceeds 80 characters; contains 81 characters
  56 | WARNING | Line exceeds 80 characters; contains 81 characters
 198 | WARNING | Line exceeds 80 characters; contains 81 characters
 225 | WARNING | Line exceeds 80 characters; contains 81 characters
 234 | WARNING | Line exceeds 80 characters; contains 151 characters
----------------------------------------------------------------------


FILE: pagerer/src/Entity/PagererPreset.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 84 | ERROR | [x] list(...) is forbidden, use [...] instead.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: pagerer/src/PagererManager.php
------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Pager\PagerManager.
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Form/PagererConfigForm.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------
 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Pager\PagerManagerInterface.
----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Form/PagererPresetEditForm.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------
 191 | ERROR | The array declaration extends to column 129 (the limit is 120). The array content should be split up over multiple lines
 196 | ERROR | The array declaration extends to column 130 (the limit is 120). The array content should be split up over multiple lines
----------------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Plugin/pagerer/PagererStyleBase.php
------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------
 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface.
------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Plugin/pagerer/Adaptive.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------
 125 | ERROR | The array declaration extends to column 132 (the limit is 120). The array content should be split up over multiple lines
----------------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Plugin/pagerer/Multipane.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------
  9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\pagerer\Entity\PagererPreset.
 73 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 74 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 75 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 89 | ERROR | [x] Use null coalesce operator instead of ternary operator.
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------


FILE: pagerer/src/Plugin/PagererStyleManager.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 18 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: pagerer/src/PagererPresetListBuilder.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityHandlerInterface.
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------

Steps to reproduce

Run following command:

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig pagerer/ 

Proposed resolution

Run following command:

phpcbf --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml pagerer

and do more changes as per requirement.

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India shivam-kumar

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue was unassigned.
  • Assigned to hardikpandya
  • Issue was unassigned.
  • Status changed to Needs review almost 2 years ago
  • 🇮🇳India Akram Khan Cuttack, Odisha

    Fixed remaining PHPCS error

  • Status changed to Needs work almost 2 years ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • First commit to issue fork.
  • Assigned to vishaljd
  • Issue was unassigned.
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India urvashi_vora Madhya Pradesh, India

    Please review this patch.

    Thanks

  • The last submitted patch, 17: 3331519-17.patch, failed testing. View results →
    - codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    11 pass, 2 fail
  • 🇮🇳India adwivedi008

    Revised patch #18 and fixed remaining issues

    FILE: pagerer/pagerer_example/src/Controller/PagererExampleController.php
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    ------------------------------------------------------------------------------------------------------------
     20 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     38 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     54 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     71 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     83 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
    ------------------------------------------------------------------------------------------------------------
    
    
    FILE: pagerer/pagerer.module
    ---------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    ---------------------------------------------------------------------------
     108 | ERROR | [x] Use null coalesce operator instead of ternary operator.
     178 | ERROR | [x] Use null coalesce operator instead of ternary operator.
    ---------------------------------------------------------------------------
    PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ---------------------------------------------------------------------------
    
    
    FILE: pagerer/src/Form/PagererConfigForm.php
    ----------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------
     10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Pager\PagerManagerInterface.
    ----------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ----------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: pagerer/src/Entity/PagererPreset.php
    -----------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -----------------------------------------------------------------------------
     84 | ERROR | [x] list(...) is forbidden, use [...] instead.
    -----------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -----------------------------------------------------------------------------
    
    
    FILE: pagerer/src/PagererPresetListBuilder.php
    -----------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------------------------------
     7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityHandlerInterface.
    -----------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -----------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: pagerer/src/Plugin/pagerer/PagererStyleBase.php
    ------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------------------
     10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface.
    ------------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: pagerer/src/Plugin/pagerer/Multipane.php
    ------------------------------------------------------------------------------------------------------------------------------
    FOUND 5 ERRORS AFFECTING 5 LINES
    ------------------------------------------------------------------------------------------------------------------------------
      9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\pagerer\Entity\PagererPreset.
     73 | ERROR | [x] Use null coalesce operator instead of ternary operator.
     74 | ERROR | [x] Use null coalesce operator instead of ternary operator.
     75 | ERROR | [x] Use null coalesce operator instead of ternary operator.
     89 | ERROR | [x] Use null coalesce operator instead of ternary operator.
    ------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: pagerer/src/PagererManager.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Pager\PagerManager.
    ------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------------------------------------------------
    
    Time: 473ms; Memory: 18MB
    
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • 🇷🇺Russia zniki.ru

    Thanks @adwivedi008 for you contribution,
    Please double check that you remove trailing whitespaces, there are tons of them in the patch you provided #19.
    I added StringTranslationTrait in test file, but looks like tests are failed, not sure that we need to fix them inside this issue.

    I tried to run tests on localhost, but get error.

    Undefined array key "views"
     /var/www/html/core/modules/views/tests/src/FunctionalJavascript/PaginationAJAXTest.php:80
     /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
     
    
    Undefined array key "views"
     /var/www/html/core/modules/views/tests/src/FunctionalJavascript/PaginationAJAXTest.php:164
     /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
    
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update about 1 year ago
    13 pass
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • 🇷🇺Russia zniki.ru

    Made review of patch from #21.
    Here is updated patch.

  • Merge request !19Issue #3331519: fix phpcs → (Merged) created by zniki.ru
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • 🇷🇺Russia zniki.ru

    Create MR to use gitlab ci.
    Hide all patch files.

  • 🇷🇺Russia zniki.ru

    Update Issue summary, update phpcs violations.

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • Merge request !20Draft: Test phpunit fall #3331519 → (Closed) created by zniki.ru
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update about 1 year ago
    13 pass
  • Merge request !1Draft: Test phpunit #3331519 → (Closed) created by zniki.ru
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.11 + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    12 pass
  • Merge request !2Issue #3331519: Fix phpstan and lints → (Closed) created by zniki.ru
  • 🇷🇺Russia zniki.ru

    I create separate MR to test fixes for eslint, phpstan, stylelint.
    https://git.drupalcode.org/issue/pagerer-3331519/-/merge_requests/2

    Not all phpstan issues is fixed so far:

    php vendor/bin/phpstan analyze modules/contrib/pagerer --configuration=modules/contrib/pagerer/phpstan.neon --generate-baseline
    

    Result:

     ------ ------------------------------------------------------------------------------------------------ 
      Line   src/Plugin/pagerer/PagererStyleBase.php                                                         
     ------ ------------------------------------------------------------------------------------------------ 
      430    Call to an undefined method Drupal\pagerer\Plugin\pagerer\PagererStyleBase::buildPagerItems().  
     ------ ------------------------------------------------------------------------------------------------ 
    
     ------ ----------------------------------------------- 
      Line   tests/src/Functional/CorePagerReplaceTest.php  
     ------ ----------------------------------------------- 
      36     Missing call to parent::setUp() method.        
     ------ ----------------------------------------------- 
    

    Not sure how to fix it.

  • Status changed to Needs work about 1 year ago
  • 🇮🇹Italy mondrake 🇮🇹

    Thanks for working on this. I agree, let's only do PHPCS fixes in this issue.

    I just added more configuration for GitlabCI testing - phpstan.neon and phpcs.xml.dist. PHPCS is now configured to skip README.md, so I would not touch that here.

    Also, I dropped all DrupalCI configration and testing.

  • Status changed to Needs review about 1 year ago
  • 🇷🇺Russia zniki.ru

    Thanks for the feedback I create separate issue #3402666 📌 Fix PHPStan, eslint, stylelint violations Fixed to work on PHPStan, eslint, stylelint.

    @mondrake do you want to remove changes in README.md file.
    We already made some changes in this file and I think we can keep it even if it will be excluded from phpcs check in the future.
    What do you think?

    I don't see other things that needs to be done for this issue, there is no phpcs violations left. Please let me know if I miss something?

  • Status changed to Needs work about 1 year ago
  • 🇮🇹Italy mondrake 🇮🇹

    Thanks! I made some comments inline the MR, that need work. For README.md, OK, but please let's make sure that if we make changes because og the 80 chars limit per line, each changed line gets as close as possible to 80 chars.

  • Assigned to zniki.ru
  • 🇷🇺Russia zniki.ru

    Thanks for feedback.

  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇷🇺Russia zniki.ru

    I changed my mind about README.md, I think we can keep it without changes.
    I updated MR, and removed changes for README.md file, and left only fix.

  • Status changed to Needs work about 1 year ago
  • 🇮🇹Italy mondrake 🇮🇹

    Very close! Thanks for your work.

  • Status changed to Needs review about 1 year ago
  • 🇷🇺Russia zniki.ru

    Thanks for a review. I made suggested changes. MR is ready for review.

  • 🇮🇹Italy mondrake 🇮🇹

    This is first time I see this readonly property, I will not argue, fixed.

    Drupal core is slowly introducing this. See for example #1014086-368: Stampedes and cold cache performance issues with css/js aggregation → .

  • 🇮🇹Italy mondrake 🇮🇹

    Credit.

  • 🇮🇹Italy mondrake 🇮🇹

    Merged. Thank you!!

  • Status changed to Fixed about 1 year ago
  • 🇮🇹Italy mondrake 🇮🇹
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024