Skip to content

Minor: Format code

Minor: Format code #28

Triggered via push April 22, 2024 22:46
Status Failure
Total duration 9m 30s
Artifacts

php_analysis.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidParamDefault: src/CoreBundle/ApiResource/CalendarEvent.php#L48
src/CoreBundle/ApiResource/CalendarEvent.php:48:9: InvalidParamDefault: Default value type null for argument 14 of method Chamilo\CoreBundle\ApiResource\CalendarEvent::__construct does not match the given type Doctrine\Common\Collections\Collection<int, Chamilo\CoreBundle\Entity\AgendaReminder> (see https://psalm.dev/062)
UndefinedClass: src/CoreBundle/Entity/Usergroup.php#L45
src/CoreBundle/Entity/Usergroup.php:45:23: UndefinedClass: Class, interface or enum named Chamilo\CoreBundle\DataProvider\UsergroupStateProvider does not exist (see https://psalm.dev/019)
UndefinedClass: src/CoreBundle/Entity/Usergroup.php#L52
src/CoreBundle/Entity/Usergroup.php:52:23: UndefinedClass: Class, interface or enum named Chamilo\CoreBundle\DataProvider\UsergroupStateProvider does not exist (see https://psalm.dev/019)
UndefinedClass: src/CoreBundle/Entity/Usergroup.php#L59
src/CoreBundle/Entity/Usergroup.php:59:23: UndefinedClass: Class, interface or enum named Chamilo\CoreBundle\DataProvider\UsergroupStateProvider does not exist (see https://psalm.dev/019)
UndefinedClass: src/CoreBundle/Entity/Usergroup.php#L66
src/CoreBundle/Entity/Usergroup.php:66:23: UndefinedClass: Class, interface or enum named Chamilo\CoreBundle\DataProvider\UsergroupStateProvider does not exist (see https://psalm.dev/019)
ContainerDependency: src/CoreBundle/EventListener/LegacyListener.php#L41
src/CoreBundle/EventListener/LegacyListener.php:41:9: ContainerDependency: Container must not inject into services as dependency! Use dependency-injection.
MissingTemplateParam: src/CoreBundle/Security/Authorization/Voter/AnonymousVoter.php#L13
src/CoreBundle/Security/Authorization/Voter/AnonymousVoter.php:13:7: MissingTemplateParam: Chamilo\CoreBundle\Security\Authorization\Voter\AnonymousVoter has missing template params when extending Symfony\Component\Security\Core\Authorization\Voter\Voter, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/CoreBundle/Security/Authorization/Voter/CCalendarEventVoter.php#L16
src/CoreBundle/Security/Authorization/Voter/CCalendarEventVoter.php:16:7: MissingTemplateParam: Chamilo\CoreBundle\Security\Authorization\Voter\CCalendarEventVoter has missing template params when extending Symfony\Component\Security\Core\Authorization\Voter\Voter, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/CoreBundle/Security/Authorization/Voter/CourseVoter.php#L19
src/CoreBundle/Security/Authorization/Voter/CourseVoter.php:19:7: MissingTemplateParam: Chamilo\CoreBundle\Security\Authorization\Voter\CourseVoter has missing template params when extending Symfony\Component\Security\Core\Authorization\Voter\Voter, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/CoreBundle/Security/Authorization/Voter/GroupVoter.php#L22
src/CoreBundle/Security/Authorization/Voter/GroupVoter.php:22:7: MissingTemplateParam: Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter has missing template params when extending Symfony\Component\Security\Core\Authorization\Voter\Voter, expecting 2 (see https://psalm.dev/182)