Skip to content

Fix some bugs noticed by PHPStan #6

Fix some bugs noticed by PHPStan

Fix some bugs noticed by PHPStan #6

Triggered via push January 12, 2024 15:38
Status Failure
Total duration 1m 0s
Artifacts 1
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 3 warnings
Static Analysis with PHPStan (8.2, highest, false): src/DependencyInjection/Configuration.php#L35
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L21
Property Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::$languageNameService has unknown class Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService as its type.
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L28
Parameter $languageNameService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::setLanguageNameService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L28
Parameter $languageNameService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::setLanguageNameService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L42
Call to method getLanguageName() on an unknown class Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/ManyToOneRelationAdapter.php#L25
Property Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\ManyToOneRelationAdapter::$nameExtractorService has unknown class Pimcore\Bundle\PortalEngineBundle\Service\Element\NameExtractorService as its type.
Static Analysis with PHPStan (8.2, highest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/ManyToOneRelationAdapter.php#L32
Parameter $nameExtractorService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\ManyToOneRelationAdapter::setNameExtractorService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\Element\NameExtractorService.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The operation was canceled.
Static Analysis with PHPStan (8.1, lowest, false): src/DependencyInjection/Configuration.php#L35
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L21
Property Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::$languageNameService has unknown class Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService as its type.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L28
Parameter $languageNameService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::setLanguageNameService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L28
Parameter $languageNameService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\LanguageMultiSelectAdapter::setLanguageNameService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LanguageMultiSelectAdapter.php#L42
Call to method getLanguageName() on an unknown class Pimcore\Bundle\PortalEngineBundle\Service\DataObject\LanguageNameService.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/ManyToOneRelationAdapter.php#L25
Property Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\ManyToOneRelationAdapter::$nameExtractorService has unknown class Pimcore\Bundle\PortalEngineBundle\Service\Element\NameExtractorService as its type.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/ManyToOneRelationAdapter.php#L32
Parameter $nameExtractorService of method Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\DataObject\FieldDefinitionAdapter\ManyToOneRelationAdapter::setNameExtractorService() has invalid type Pimcore\Bundle\PortalEngineBundle\Service\Element\NameExtractorService.
Static Analysis with PHPStan (8.2, highest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (8.1, lowest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
4.03 KB