FIX FIX_Extrafields_type_Select_list_dependent_other_in_card #30801 #406
Annotations
3 errors
Run PHPStan:
htdocs/asset/class/assetmodel.class.php#L94
Property AssetModel::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int<-2, 5>|string, noteditable?: int<0, 1>, default?: string, ...}>) does not accept default value of type array{rowid: array{type: 'integer', label: 'TechnicalID', enabled: 1, position: 1, notnull: 1, visible: 0, noteditable: 1, index: 1, ...}, ref: array{type: 'varchar(128)', label: 'Ref', enabled: 1, position: 20, notnull: 1, visible: 1, index: 1, searchall: 1, ...}, ref_ext: array{type: 'varchar(255)', label: 'RefExt', enabled: 1, position: 25, notnull: 0, visible: 0}, label: array{type: 'varchar(255)', label: 'Label', enabled: 1, position: 30, notnull: 1, visible: 1, searchall: 1, css: 'minwidth300', ...}, asset_type: array{type: 'smallint', label: 'AssetType', enabled: 1, position: 40, notnull: 1, visible: 1, arrayofkeyval: array{'AssetTypeIntangible', 'AssetTypeTangible', 'AssetTypeInProgress', 'AssetTypeFinancial'}, validate: 1}, note_public: array{type: 'html', label: 'NotePublic', enabled: 1, position: 300, notnull: 0, visible: 0, validate: 1}, note_private: array{type: 'html', label: 'NotePrivate', enabled: 1, position: 301, notnull: 0, visible: 0, validate: 1}, date_creation: array{type: 'datetime', label: 'DateCreation', enabled: 1, position: 500, notnull: 1, visible: -2}, ...}.
|
Run PHPStan:
htdocs/projet/class/task.class.php#L2282
Property Project::$date_start (int) in isset() is not nullable.
|
Run PHPStan
Process completed with exit code 1.
|
Loading