Fix the issues reported by phpcs

Created on 5 January 2023, over 1 year ago
Updated 13 March 2024, 3 months ago
FILE: C:\search_api\modules\search_api_db\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 34 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------


FILE: C:\search_api\modules\search_api_db\src\Plugin\search_api\backend\Database.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------------------------------------------------
 1508 | ERROR | The array declaration extends to column 439 (the limit is 80). The array content should be split up over multiple lines
 1525 | ERROR | The array declaration extends to column 443 (the limit is 80). The array content should be split up over multiple lines
 1779 | ERROR | No key specified for array entry; first entry specifies key
 2004 | ERROR | No key specified for array entry; first entry specifies key
----------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\modules\search_api_db\tests\fixtures\update\search-api-db-base.php
---------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
 52 | WARNING | Unused variable $data.
---------------------------------------------------------------------------------------------------


FILE: C:\search_api\modules\search_api_db\tests\src\FunctionalJavascript\IntegrationTest.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------
 33 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
-------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\modules\search_api_db\tests\src\Kernel\BackendTest.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
---------------------------------------------------------------------------------------------------------------------------------------
  348 | ERROR | No key specified for array entry; first entry specifies key
  351 | ERROR | No key specified for array entry; first entry specifies key
  399 | ERROR | No key specified for array entry; first entry specifies key
  402 | ERROR | No key specified for array entry; first entry specifies key
  470 | ERROR | No key specified for array entry; first entry specifies key
  473 | ERROR | No key specified for array entry; first entry specifies key
  479 | ERROR | No key specified for array entry; first entry specifies key
  488 | ERROR | No key specified for array entry; first entry specifies key
  491 | ERROR | No key specified for array entry; first entry specifies key
  497 | ERROR | No key specified for array entry; first entry specifies key
  983 | ERROR | The array declaration extends to column 91 (the limit is 80). The array content should be split up over multiple lines
 1275 | ERROR | No key specified for array entry; first entry specifies key
 1288 | ERROR | No key specified for array entry; first entry specifies key
 1300 | ERROR | No key specified for array entry; first entry specifies key
 1313 | ERROR | Key specified for array entry; first entry has no key
 1317 | ERROR | Key specified for array entry; first entry has no key
---------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 127 | WARNING | Line exceeds 80 characters; contains 83 characters
----------------------------------------------------------------------


FILE: C:\search_api\search_api.api.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
 342 | WARNING | Unused variable $datasource_id.
 367 | WARNING | Unused variable $datasource_id.
----------------------------------------------------------------------


FILE: C:\search_api\search_api.drush.inc
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------
  86 | ERROR | The array declaration extends to column 167 (the limit is 80). The array content should be split up over multiple lines
  87 | ERROR | The array declaration extends to column 238 (the limit is 80). The array content should be split up over multiple lines
 183 | ERROR | The array declaration extends to column 199 (the limit is 80). The array content should be split up over multiple lines
 184 | ERROR | The array declaration extends to column 189 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\search_api.install
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
 195 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\search_api.post_update.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------
 42 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
-------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\Display\DisplayPluginBase.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 140 | WARNING | The deprecation-version 'Search' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
     |         | project:n.n.n or project:n.n.n-label[n]
 140 | WARNING | The removal-version '5' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or project:n.n.n
     |         | or project:n.n.n-label[n]
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\Entity\Index.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------
  161 | ERROR   | Missing short description in doc comment
  193 | ERROR   | Missing short description in doc comment
  242 | ERROR   | Missing short description in doc comment
 1010 | ERROR   | The array declaration extends to column 117 (the limit is 80). The array content should be split up over multiple lines
 1127 | ERROR   | The array declaration extends to column 108 (the limit is 80). The array content should be split up over multiple lines
 1155 | ERROR   | The array declaration extends to column 123 (the limit is 80). The array content should be split up over multiple lines
 1178 | ERROR   | The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
 1619 | WARNING | There must be no blank line following an inline comment
------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\Entity\Task.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------
 141 | ERROR | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
--------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\ParamConverter\SearchApiConverter.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 59 | WARNING | The deprecation-version 'search_api' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
    |         | project:n.n.n or project:n.n.n-label[n]
 59 | WARNING | The removal-version '2.0.0' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
    |         | project:n.n.n or project:n.n.n-label[n]
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\Plugin\search_api\parse_mode\Phrase.php
----------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------
 24 | ERROR | No key specified for array entry; first entry specifies key
----------------------------------------------------------------------------


FILE: C:\search_api\src\Plugin\search_api\parse_mode\Terms.php
---------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------
 88 | ERROR | No key specified for array entry; first entry specifies key
---------------------------------------------------------------------------


FILE: C:\search_api\src\Plugin\search_api\processor\Stemmer.php
----------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------
 144 | WARNING | Unused variable $i.
----------------------------------------------------------------------------


FILE: C:\search_api\src\Plugin\views\filter\SearchApiFulltext.php
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
 452 | ERROR | No key specified for array entry; first entry specifies key
------------------------------------------------------------------------------


FILE: C:\search_api\src\Plugin\views\query\SearchApiQuery.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 464 | ERROR | The trigger_error message '\Drupal\search_api\Plugin\views\query\SearchApiQuery::getEntityTypes() is deprecated in 8.x-1.x is removed from Search API
     |       | 8.x-1.5. Use \Drupal\search_api\IndexInterface::getEntityTypes() instead. See https://www.drupal.org/node/2899682' does not match the strict standard
     |       | format: %thing% is deprecated in %deprecation-version% and is removed from %removal-version%. %extra-info%. See %cr-link%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\src\Utility\FieldsHelper.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 178 | WARNING | Unused variable $i.
----------------------------------------------------------------------


FILE: C:\search_api\tests\src\Kernel\BackendTestBase.php
---------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
---------------------------------------------------------------------------
 266 | ERROR | No key specified for array entry; first entry specifies key
 269 | ERROR | No key specified for array entry; first entry specifies key
 275 | ERROR | No key specified for array entry; first entry specifies key
 573 | ERROR | No key specified for array entry; first entry specifies key
 590 | ERROR | No key specified for array entry; first entry specifies key
 594 | ERROR | No key specified for array entry; first entry specifies key
 606 | ERROR | No key specified for array entry; first entry specifies key
 611 | ERROR | No key specified for array entry; first entry specifies key
 629 | ERROR | No key specified for array entry; first entry specifies key
 638 | ERROR | No key specified for array entry; first entry specifies key
 646 | ERROR | No key specified for array entry; first entry specifies key
 650 | ERROR | No key specified for array entry; first entry specifies key
---------------------------------------------------------------------------


FILE: C:\search_api\tests\src\Kernel\Processor\LanguageWithFallbackTest.php
----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------------------------
 111 | WARNING | Variable $expected inside unset call is undefined.
 118 | WARNING | Variable $expected inside unset call is undefined.
----------------------------------------------------------------------------------------


FILE: C:\search_api\tests\src\Kernel\Processor\RenderedItemTest.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 355 | WARNING | Unused variable $key.
--------------------------------------------------------------------------------


FILE: C:\search_api\tests\src\Kernel\Views\ViewsQueryTypeUpdateTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------
 21 | ERROR | Do not disable strict config schema checking in tests. Instead ensure your module properly declares its schema for configurations.
-------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\search_api\tests\src\Unit\Processor\HtmlFilterTest.php
----------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------
 283 | WARNING | Variable $config inside unset call is undefined.
----------------------------------------------------------------------------


FILE: C:\search_api\tests\src\Unit\TermsParseModeTest.php
---------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
---------------------------------------------------------------------------
  62 | ERROR | No key specified for array entry; first entry specifies key
  70 | ERROR | No key specified for array entry; first entry specifies key
  77 | ERROR | No key specified for array entry; first entry specifies key
  87 | ERROR | No key specified for array entry; first entry specifies key
  98 | ERROR | No key specified for array entry; first entry specifies key
 106 | ERROR | No key specified for array entry; first entry specifies key
 114 | ERROR | No key specified for array entry; first entry specifies key
 118 | ERROR | No key specified for array entry; first entry specifies key
 124 | ERROR | No key specified for array entry; first entry specifies key
 132 | ERROR | No key specified for array entry; first entry specifies key
---------------------------------------------------------------------------

Steps to reproduce

Run the following command : phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml /modules/contrib/search_api

Proposed resolution

Resolve the PHP coding standard issues and warnings.

๐Ÿ“Œ Task
Status

Closed: won't fix

Version

1.0

Component

General code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia irfan.gul

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.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia spriya2896

    I will test this patch.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia spriya2896

    I will test this patch.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia spriya2896

    I will test this patch.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia spriya2896

    I will test this patch.

  • Issue was unassigned.
  • Status changed to Needs work over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia spriya2896

    This patch got failed on the drupal 8 versions and PHP version 7.4.21.

  • Assigned to Rashmisoni
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Rashmisoni Bangalore
  • Issue was unassigned.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Rashmisoni Bangalore
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น

    The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, report which command has been used, which arguments have been used, and which report that command shown.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sahil.goyal

    addressed #14 as per Updating the issue summery.

  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น
  • Assigned to akshaydalvi212
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia akshaydalvi212

    I will raise the MR which will solve the phpcs issues.

  • Open on Drupal.org โ†’
    Core: 9.5.x + Environment: PHP 8.1 & sqlite-3.27
    last update about 1 year ago
    Not currently mergeable.
  • Issue was unassigned.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia akshaydalvi212

    solved most of the issues, still some are remaining.

  • Assigned to ankitv18
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitv18
  • Shruu_rao โ†’ made their first commit to this issueโ€™s fork.

  • Open on Drupal.org โ†’
    Core: 10.1.4 + Environment: PHP 8.2 & sqlite-3.34
    last update 5 months ago
    Not currently mergeable.
  • Remaining errors

    FILE: C:\search_api\modules\search_api_db\README.md
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------
     34 | WARNING | Line exceeds 80 characters; contains 81 characters
    ----------------------------------------------------------------------
    
    
    FILE: C:\search_api\modules\search_api_db\src\Plugin\search_api\backend\Database.php
    ----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 4 ERRORS AFFECTING 4 LINES
    ----------------------------------------------------------------------------------------------------------------------------------------
     1508 | ERROR | The array declaration extends to column 439 (the limit is 80). The array content should be split up over multiple lines
     1525 | ERROR | The array declaration extends to column 443 (the limit is 80). The array content should be split up over multiple lines
     1779 | ERROR | No key specified for array entry; first entry specifies key
     2004 | ERROR | No key specified for array entry; first entry specifies key
    ----------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\modules\search_api_db\tests\fixtures\update\search-api-db-base.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     52 | WARNING | Unused variable $data.
    ---------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\modules\search_api_db\tests\src\FunctionalJavascript\IntegrationTest.php
    -------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------
     33 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
    -------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\modules\search_api_db\tests\src\Kernel\BackendTest.php
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 16 ERRORS AFFECTING 16 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
      348 | ERROR | No key specified for array entry; first entry specifies key
      351 | ERROR | No key specified for array entry; first entry specifies key
      399 | ERROR | No key specified for array entry; first entry specifies key
      402 | ERROR | No key specified for array entry; first entry specifies key
      470 | ERROR | No key specified for array entry; first entry specifies key
      473 | ERROR | No key specified for array entry; first entry specifies key
      479 | ERROR | No key specified for array entry; first entry specifies key
      488 | ERROR | No key specified for array entry; first entry specifies key
      491 | ERROR | No key specified for array entry; first entry specifies key
      497 | ERROR | No key specified for array entry; first entry specifies key
      983 | ERROR | The array declaration extends to column 91 (the limit is 80). The array content should be split up over multiple lines
     1275 | ERROR | No key specified for array entry; first entry specifies key
     1288 | ERROR | No key specified for array entry; first entry specifies key
     1300 | ERROR | No key specified for array entry; first entry specifies key
     1313 | ERROR | Key specified for array entry; first entry has no key
     1317 | ERROR | Key specified for array entry; first entry has no key
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\README.md
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------
     127 | WARNING | Line exceeds 80 characters; contains 83 characters
    ----------------------------------------------------------------------
    
    
    FILE: C:\search_api\search_api.api.php
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ----------------------------------------------------------------------
     342 | WARNING | Unused variable $datasource_id.
     367 | WARNING | Unused variable $datasource_id.
    ----------------------------------------------------------------------
    
    
    FILE: C:\search_api\search_api.drush.inc
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 4 ERRORS AFFECTING 4 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
      86 | ERROR | The array declaration extends to column 167 (the limit is 80). The array content should be split up over multiple lines
      87 | ERROR | The array declaration extends to column 238 (the limit is 80). The array content should be split up over multiple lines
     183 | ERROR | The array declaration extends to column 199 (the limit is 80). The array content should be split up over multiple lines
     184 | ERROR | The array declaration extends to column 189 (the limit is 80). The array content should be split up over multiple lines
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\search_api.install
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------------------------------
     195 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
    --------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\search_api.post_update.php
    -------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------
     42 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
    -------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Display\DisplayPluginBase.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     140 | WARNING | The deprecation-version 'Search' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
         |         | project:n.n.n or project:n.n.n-label[n]
     140 | WARNING | The removal-version '5' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or project:n.n.n
         |         | or project:n.n.n-label[n]
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Entity\Index.php
    ------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES
    ------------------------------------------------------------------------------------------------------------------------------------------
      161 | ERROR   | Missing short description in doc comment
      193 | ERROR   | Missing short description in doc comment
      242 | ERROR   | Missing short description in doc comment
     1010 | ERROR   | The array declaration extends to column 117 (the limit is 80). The array content should be split up over multiple lines
     1127 | ERROR   | The array declaration extends to column 108 (the limit is 80). The array content should be split up over multiple lines
     1155 | ERROR   | The array declaration extends to column 123 (the limit is 80). The array content should be split up over multiple lines
     1178 | ERROR   | The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
     1619 | WARNING | There must be no blank line following an inline comment
    ------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Entity\Task.php
    --------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------------------------------------
     141 | ERROR | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
    --------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\ParamConverter\SearchApiConverter.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     59 | WARNING | The deprecation-version 'search_api' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
        |         | project:n.n.n or project:n.n.n-label[n]
     59 | WARNING | The removal-version '2.0.0' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-label[n] or
        |         | project:n.n.n or project:n.n.n-label[n]
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Plugin\search_api\parse_mode\Phrase.php
    ----------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------
     24 | ERROR | No key specified for array entry; first entry specifies key
    ----------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Plugin\search_api\parse_mode\Terms.php
    ---------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------
     88 | ERROR | No key specified for array entry; first entry specifies key
    ---------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Plugin\search_api\processor\Stemmer.php
    ----------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------
     144 | WARNING | Unused variable $i.
    ----------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Plugin\views\filter\SearchApiFulltext.php
    ------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------
     452 | ERROR | No key specified for array entry; first entry specifies key
    ------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Plugin\views\query\SearchApiQuery.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     464 | ERROR | The trigger_error message '\Drupal\search_api\Plugin\views\query\SearchApiQuery::getEntityTypes() is deprecated in 8.x-1.x is removed from Search API
         |       | 8.x-1.5. Use \Drupal\search_api\IndexInterface::getEntityTypes() instead. See https://www.drupal.org/node/2899682' does not match the strict standard
         |       | format: %thing% is deprecated in %deprecation-version% and is removed from %removal-version%. %extra-info%. See %cr-link%
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\src\Utility\FieldsHelper.php
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------
     178 | WARNING | Unused variable $i.
    ----------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Kernel\BackendTestBase.php
    ---------------------------------------------------------------------------
    FOUND 12 ERRORS AFFECTING 12 LINES
    ---------------------------------------------------------------------------
     266 | ERROR | No key specified for array entry; first entry specifies key
     269 | ERROR | No key specified for array entry; first entry specifies key
     275 | ERROR | No key specified for array entry; first entry specifies key
     573 | ERROR | No key specified for array entry; first entry specifies key
     590 | ERROR | No key specified for array entry; first entry specifies key
     594 | ERROR | No key specified for array entry; first entry specifies key
     606 | ERROR | No key specified for array entry; first entry specifies key
     611 | ERROR | No key specified for array entry; first entry specifies key
     629 | ERROR | No key specified for array entry; first entry specifies key
     638 | ERROR | No key specified for array entry; first entry specifies key
     646 | ERROR | No key specified for array entry; first entry specifies key
     650 | ERROR | No key specified for array entry; first entry specifies key
    ---------------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Kernel\Processor\LanguageWithFallbackTest.php
    ----------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ----------------------------------------------------------------------------------------
     111 | WARNING | Variable $expected inside unset call is undefined.
     118 | WARNING | Variable $expected inside unset call is undefined.
    ----------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Kernel\Processor\RenderedItemTest.php
    --------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     355 | WARNING | Unused variable $key.
    --------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Kernel\Views\ViewsQueryTypeUpdateTest.php
    -------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------------------
     21 | ERROR | Do not disable strict config schema checking in tests. Instead ensure your module properly declares its schema for configurations.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Unit\Processor\HtmlFilterTest.php
    ----------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------
     283 | WARNING | Variable $config inside unset call is undefined.
    ----------------------------------------------------------------------------
    
    
    FILE: C:\search_api\tests\src\Unit\TermsParseModeTest.php
    ---------------------------------------------------------------------------
    FOUND 10 ERRORS AFFECTING 10 LINES
    ---------------------------------------------------------------------------
      62 | ERROR | No key specified for array entry; first entry specifies key
      70 | ERROR | No key specified for array entry; first entry specifies key
      77 | ERROR | No key specified for array entry; first entry specifies key
      87 | ERROR | No key specified for array entry; first entry specifies key
      98 | ERROR | No key specified for array entry; first entry specifies key
     106 | ERROR | No key specified for array entry; first entry specifies key
     114 | ERROR | No key specified for array entry; first entry specifies key
     118 | ERROR | No key specified for array entry; first entry specifies key
     124 | ERROR | No key specified for array entry; first entry specifies key
     132 | ERROR | No key specified for array entry; first entry specifies key
    ---------------------------------------------------------------------------
    
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น

    apaderno โ†’ changed the visibility of the branch apaderno-3331396-8.1.x to hidden.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia zkhan.aamir

    Issue summary updated.

  • Status changed to Closed: won't fix 3 months ago
  • ๐Ÿ‡ฆ๐Ÿ‡นAustria drunken monkey Vienna, Austria
Production build 0.69.0 2024