- Issue created by @amym-li
------ ---------------------------------------------------------------------
Line src/CitationFieldFormatterBase.php
------ ---------------------------------------------------------------------
:134 Caught class Drupal\citation_select\Exception not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line src/CitationProcessorService.php
------ ---------------------------------------------------------------------------------
:17 Property
Drupal\citation_select\CitationProcessorService::$citationFieldFormatterManager
has unknown class
Drupal\citation_select\Drupal\citation_select\CitationFieldFormatterInterface
as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:24 Property
Drupal\citation_select\CitationProcessorService::$configFactory has
unknown class
Drupal\citation_select\Drupal\Core\Config\ConfigFactoryInterface as
its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:31 Property
Drupal\citation_select\CitationProcessorService::$dateFormatter has
unknown class
Drupal\citation_select\Drupal\Core\Datetime\DateFormatterInterface as
its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:38 Property
Drupal\citation_select\CitationProcessorService::$entityTypeManager
has unknown class
Drupal\citation_select\Drupal\Core\Entity\EntityTypeManagerInterface
as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:57 Call to method get() on an unknown class
Drupal\citation_select\Drupal\Core\Config\ConfigFactoryInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:67 Call to method getStorage() on an unknown class
Drupal\citation_select\Drupal\Core\Entity\EntityTypeManagerInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:76 Call to method getDefinitions() on an unknown class
Drupal\citation_select\Drupal\citation_select\CitationFieldFormatterInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:91 Call to method createInstance() on an unknown class
Drupal\citation_select\Drupal\citation_select\CitationFieldFormatterInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:94 Call to method createInstance() on an unknown class
Drupal\citation_select\Drupal\citation_select\CitationFieldFormatterInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:235 Call to method get() on an unknown class
Drupal\citation_select\Drupal\Core\Config\ConfigFactoryInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:259 Call to method format() on an unknown class
Drupal\citation_select\Drupal\Core\Datetime\DateFormatterInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/CslMapForm.php
------ ----------------------------------------------------------------------
:22 Property Drupal\citation_select\Form\CslMapForm::$entityFieldManager
has unknown class
Drupal\citation_select\Form\Drupal\Core\Entity\EntityFieldManager as
its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:273 Call to method getFieldStorageDefinitions() on an unknown class
Drupal\citation_select\Form\Drupal\Core\Entity\EntityFieldManager.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ----------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Form/SelectCitationForm.php
------ ------------------------------------------------------------------------------
:37 Property
Drupal\citation_select\Form\SelectCitationForm::$citationProcessor
has unknown class
Drupal\citation_select\Form\Drupal\citation_select\CitationProcessorService
as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:71 Variable $styler in PHPDoc tag @var does not match assigned variable
$citation_styler.
:160 Call to method getCitationArray() on an unknown class
Drupal\citation_select\Form\Drupal\citation_select\CitationProcessorService.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ------------------------------------------------------------------------------
------ ---------------------------------------------------------
Line src/Plugin/CitationFieldFormatter/EdtfDateFormatter.php
------ ---------------------------------------------------------
:25 Call to an undefined method EDTF\EdtfValue::getYear().
:26 Call to an undefined method EDTF\EdtfValue::getMonth().
:27 Call to an undefined method EDTF\EdtfValue::getDay().
------ ---------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line src/Plugin/CitationFieldFormatter/TypedRelationFormatter.php
------ -------------------------------------------------------------------------------------------------
:25 Property
Drupal\citation_select\Plugin\CitationFieldFormatter\TypedRelationFormatter::$configFactory
has unknown class
Drupal\citation_select\Plugin\CitationFieldFormatter\Drupal\Core\Config\ConfigFactoryInterface
as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:33 PHPDoc tag @param references unknown parameter: $account
:59 Call to an undefined method
Drupal\Core\Field\FieldItemListInterface<Drupal\Core\Field\FieldItemInterface>::getIterator().
:104 Call to method get() on an unknown class
Drupal\citation_select\Plugin\CitationFieldFormatter\Drupal\Core\Config\ConfigFactoryInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ -------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line tests/src/Kernel/CitationPluginTests.php
------ -------------------------------------------------------------------------------
:106 Access to an undefined property
Drupal\Tests\citation_select\Kernel\CitationPluginTests::$citation_processor.
:124 Access to an undefined property
Drupal\Tests\citation_select\Kernel\CitationPluginTests::$entity_formatter.
:142 Access to an undefined property
Drupal\Tests\citation_select\Kernel\CitationPluginTests::$entity_formatter.
:157 Access to an undefined property
Drupal\Tests\citation_select\Kernel\CitationPluginTests::$entity_formatter.
------ -------------------------------------------------------------------------------
[ERROR] Found 28 errors
Active
1.0
Code