Skip to content

πŸ›‘οΈ 🐘 Psalm PHP Security Scan #86

πŸ›‘οΈ 🐘 Psalm PHP Security Scan

πŸ›‘οΈ 🐘 Psalm PHP Security Scan #86

Manually triggered June 7, 2026 18:22
Status Failure
Total duration 2m 54s
Artifacts

psalm.yml

on: workflow_dispatch
psalm-dead-code
2m 48s
psalm-dead-code
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

81 errors
psalm (zmscalldisplay)
Process completed with exit code 1.
psalm (zmscalldisplay)
Process completed with exit code 2.
UndefinedConstant: config.example.php#L14
config.example.php:14:22: UndefinedConstant: Const APP_PATH is not defined, consider enabling the allConstantsGlobal config option if scanning legacy codebases (see https://psalm.dev/020)
psalm (zmsmessaging)
Process completed with exit code 1.
psalm (zmsmessaging)
Process completed with exit code 2.
UndefinedConstant: config.example.php#L27
config.example.php:27:22: UndefinedConstant: Const APP_PATH is not defined, consider enabling the allConstantsGlobal config option if scanning legacy codebases (see https://psalm.dev/020)
psalm (zmsdb)
Process completed with exit code 1.
psalm (zmsdb)
Process completed with exit code 2.
UnsupportedPropertyReferenceUsage: src/Zmsdb/Query/Base.php#L116
src/Zmsdb/Query/Base.php:116:13: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
InvalidParamDefault: src/Zmsdb/Query/Base.php#L88
src/Zmsdb/Query/Base.php:88:15: InvalidParamDefault: Default value type false for argument 3 of method BO\Zmsdb\Query\Base::__construct does not match the given type string (see https://psalm.dev/062)
UnsupportedPropertyReferenceUsage: src/Zmsdb/Cli/Db.php#L98
src/Zmsdb/Cli/Db.php:98:9: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UnsupportedPropertyReferenceUsage: src/Zmsdb/Cli/Db.php#L81
src/Zmsdb/Cli/Db.php:81:13: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UndefinedClass: src/Zmsdb/Availability.php#L239
src/Zmsdb/Availability.php:239:23: UndefinedClass: Class, interface or enum named BO\Zmsdb\Exception\Availability\AvailabilityCreateFailed does not exist (see https://psalm.dev/019)
psalm (zmsclient)
Process completed with exit code 1.
psalm (zmsclient)
Process completed with exit code 2.
UndefinedClass: src/Zmsclient/PhpUnit/Base.php#L131
src/Zmsclient/PhpUnit/Base.php:131:9: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/PhpUnit/Base.php#L33
src/Zmsclient/PhpUnit/Base.php:33:9: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/OidcHandler.php#L91
src/Zmsclient/OidcHandler.php:91:13: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/OidcHandler.php#L51
src/Zmsclient/OidcHandler.php:51:9: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/ModuleAccess.php#L43
src/Zmsclient/ModuleAccess.php:43:17: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/Auth.php#L61
src/Zmsclient/Auth.php:61:17: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Zmsclient/Auth.php#L25
src/Zmsclient/Auth.php:25:17: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
psalm (zmsticketprinter)
Process completed with exit code 1.
psalm (zmsticketprinter)
Process completed with exit code 2.
InvalidStaticInvocation: src/Zmsticketprinter/Status.php#L29
src/Zmsticketprinter/Status.php:29:30: InvalidStaticInvocation: Method BO\Zmsticketprinter\Home::getHomeUrl is not static, but is called statically (see https://psalm.dev/014)
UndefinedConstant: config.example.php#L14
config.example.php:14:22: UndefinedConstant: Const APP_PATH is not defined, consider enabling the allConstantsGlobal config option if scanning legacy codebases (see https://psalm.dev/020)
psalm (mellon)
Process completed with exit code 1.
psalm (mellon)
Process completed with exit code 2.
MissingTemplateParam: src/Mellon/Failure/MessageList.php#L16
src/Mellon/Failure/MessageList.php:16:7: MissingTemplateParam: BO\Mellon\Failure\MessageList has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
psalm (zmsentities)
Process completed with exit code 1.
psalm (zmsentities)
Process completed with exit code 2.
MissingTemplateParam: src/Zmsentities/Schema/Schema.php#L5
src/Zmsentities/Schema/Schema.php:5:7: MissingTemplateParam: BO\Zmsentities\Schema\Schema has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Zmsentities/Schema/Entity.php#L12
src/Zmsentities/Schema/Entity.php:12:7: MissingTemplateParam: BO\Zmsentities\Schema\Entity has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Zmsentities/Helper/Property.php#L8
src/Zmsentities/Helper/Property.php:8:27: MissingTemplateParam: BO\Zmsentities\Helper\Property has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
UndefinedClass: src/Zmsentities/Collection/QueueList.php#L403
src/Zmsentities/Collection/QueueList.php:403:23: UndefinedClass: Class, interface or enum named BO\Zmsentities\Collection\InvalidArgumentException does not exist (see https://psalm.dev/019)
MissingTemplateParam: src/Zmsentities/Collection/Base.php#L19
src/Zmsentities/Collection/Base.php:19:7: MissingTemplateParam: BO\Zmsentities\Collection\Base has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
InvalidParamDefault: src/Zmsentities/Availability.php#L174
src/Zmsentities/Availability.php:174:15: InvalidParamDefault: Default value type false for argument 2 of method BO\Zmsentities\Availability::isOpened does not match the given type string (see https://psalm.dev/062)
InvalidParamDefault: src/Zmsentities/Availability.php#L126
src/Zmsentities/Availability.php:126:15: InvalidParamDefault: Default value type false for argument 2 of method BO\Zmsentities\Availability::isOpenedOnDate does not match the given type string (see https://psalm.dev/062)
psalm (zmsdldb)
Process completed with exit code 1.
UndefinedConstant: src/Zmsdldb/TwigExtension.php#L107
src/Zmsdldb/TwigExtension.php:107:78: UndefinedConstant: Constant APP::D115_DEFAULT_OPENINGTIME is not defined (see https://psalm.dev/020)
DuplicateArrayKey: src/Zmsdldb/Importer/MySQL/Entity/Location.php#L135
src/Zmsdldb/Importer/MySQL/Entity/Location.php:135:13: DuplicateArrayKey: Key 'name' already exists on array (see https://psalm.dev/151)
MethodSignatureMustProvideReturnType: src/Zmsdldb/Importer/MySQL/Entity/Collection.php#L19
src/Zmsdldb/Importer/MySQL/Entity/Collection.php:19:27: MethodSignatureMustProvideReturnType: Method BO\Zmsdldb\Importer\MySQL\Entity\Collection::offsetGet must have a return type signature (see https://psalm.dev/282)
UnsupportedPropertyReferenceUsage: src/Zmsdldb/Importer/MySQL/Entity/Base.php#L357
src/Zmsdldb/Importer/MySQL/Entity/Base.php:357:13: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
MethodSignatureMustProvideReturnType: src/Zmsdldb/Importer/MySQL/Entity/Base.php#L301
src/Zmsdldb/Importer/MySQL/Entity/Base.php:301:27: MethodSignatureMustProvideReturnType: Method BO\Zmsdldb\Importer\MySQL\Entity\Base::offsetGet must have a return type signature (see https://psalm.dev/282)
MissingTemplateParam: src/Zmsdldb/Importer/MySQL/Entity/Base.php#L19
src/Zmsdldb/Importer/MySQL/Entity/Base.php:19:44: MissingTemplateParam: BO\Zmsdldb\Importer\MySQL\Entity\Base has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Zmsdldb/Entity/Base.php#L10
src/Zmsdldb/Entity/Base.php:10:7: MissingTemplateParam: BO\Zmsdldb\Entity\Base has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
DuplicateClass: src/Zmsdldb/Elastic/Helper.php#L5
src/Zmsdldb/Elastic/Helper.php:5:7: DuplicateClass: Class BO\Zmsdldb\Elastic\Helper has already been defined in /home/runner/work/eappointment/eappointment/zmsdldb/src/Zmsdldb/MySQL/Helper.php (see https://psalm.dev/071)
MissingTemplateParam: src/Zmsdldb/Collection/Base.php#L12
src/Zmsdldb/Collection/Base.php:12:7: MissingTemplateParam: BO\Zmsdldb\Collection\Base has missing template params when extending ArrayObject, expecting 2 (see https://psalm.dev/182)
UndefinedConstant: config.example.php#L53
config.example.php:53:22: UndefinedConstant: Const APP_PATH is not defined, consider enabling the allConstantsGlobal config option if scanning legacy codebases (see https://psalm.dev/020)
psalm (zmsadmin)
Process completed with exit code 1.
psalm (zmsadmin)
Process completed with exit code 2.
UndefinedClass: src/Zmsadmin/SourceEdit.php#L48
src/Zmsadmin/SourceEdit.php:48:13: UndefinedClass: Class, interface or enum named BO\Log does not exist (see https://psalm.dev/019)
DuplicateArrayKey: src/Zmsadmin/Owner.php#L55
src/Zmsadmin/Owner.php:55:17: DuplicateArrayKey: Key 'workstation' already exists on array (see https://psalm.dev/151)
psalm (zmsslim)
Process completed with exit code 1.
UndefinedClass: src/Slim/Bootstrap.php#L102
src/Slim/Bootstrap.php:102:21: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L101
src/Slim/Bootstrap.php:101:20: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L96
src/Slim/Bootstrap.php:96:13: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L63
src/Slim/Bootstrap.php:63:13: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L50
src/Slim/Bootstrap.php:50:50: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L49
src/Slim/Bootstrap.php:49:48: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L47
src/Slim/Bootstrap.php:47:54: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L46
src/Slim/Bootstrap.php:46:49: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L33
src/Slim/Bootstrap.php:33:54: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
UndefinedClass: src/Slim/Bootstrap.php#L33
src/Slim/Bootstrap.php:33:37: UndefinedClass: Class, interface or enum named App does not exist (see https://psalm.dev/019)
psalm (zmsapi)
Process completed with exit code 1.
psalm (zmsapi)
Process completed with exit code 2.
UndefinedConstant: config.example.php#L55
config.example.php:55:22: UndefinedConstant: Const APP_PATH is not defined, consider enabling the allConstantsGlobal config option if scanning legacy codebases (see https://psalm.dev/020)
psalm (zmscitizenapi)
Process completed with exit code 1.
psalm (zmscitizenapi)
Process completed with exit code 2.
NoValue: src/Zmscitizenapi/Services/Core/ZmsApiClientService.php#L481
src/Zmscitizenapi/Services/Core/ZmsApiClientService.php:481:68: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
psalm-dead-code
Process completed with exit code 1.
PossiblyUnusedProperty: mellon/src/Mellon/Failure/Exception.php#L22
mellon/src/Mellon/Failure/Exception.php:22:15: PossiblyUnusedProperty: Cannot find any references to property BO\Mellon\Failure\Exception::$validator (see https://psalm.dev/149)
MissingReturnType: mellon/src/Mellon/Condition.php#L20
mellon/src/Mellon/Condition.php:20:21: MissingReturnType: Method BO\Mellon\Condition::addValid does not have a return type, expecting BO\Mellon\Condition&static (see https://psalm.dev/050)
MissingPropertyType: mellon/src/Mellon/Condition.php#L10
mellon/src/Mellon/Condition.php:10:15: MissingPropertyType: Property BO\Mellon\Condition::$collection does not have a declared type - consider BO\Mellon\Collection|array (see https://psalm.dev/045)
MissingParamType: mellon/src/Mellon/Collection.php#L96
mellon/src/Mellon/Collection.php:96:30: MissingParamType: Parameter $parameterName has no provided type (see https://psalm.dev/154)
PossiblyUnusedMethod: mellon/src/Mellon/Collection.php#L96
mellon/src/Mellon/Collection.php:96:21: PossiblyUnusedMethod: Cannot find any calls to method BO\Mellon\Collection::getValid (see https://psalm.dev/087)
MissingReturnType: mellon/src/Mellon/Collection.php#L89
mellon/src/Mellon/Collection.php:89:21: MissingReturnType: Method BO\Mellon\Collection::addValid does not have a return type, expecting void (see https://psalm.dev/050)
PossiblyUnusedMethod: mellon/src/Mellon/Collection.php#L83
mellon/src/Mellon/Collection.php:83:21: PossiblyUnusedMethod: Cannot find explicit calls to method BO\Mellon\Collection::getValues (but did find some potential callers) (see https://psalm.dev/087)
MissingParamType: mellon/src/Mellon/Collection.php#L64
mellon/src/Mellon/Collection.php:64:44: MissingParamType: Parameter $getUnvalidated has no provided type (see https://psalm.dev/154)
MissingParamType: mellon/src/Mellon/Collection.php#L64
mellon/src/Mellon/Collection.php:64:31: MissingParamType: Parameter $sub has no provided type (see https://psalm.dev/154)
MissingParamType: mellon/src/Mellon/Collection.php#L23
mellon/src/Mellon/Collection.php:23:33: MissingParamType: Parameter $validatorList has no provided type (see https://psalm.dev/154)