Skip to content

Update phpstan.neon.dist for branch 20.0 #6

Update phpstan.neon.dist for branch 20.0

Update phpstan.neon.dist for branch 20.0 #6

Triggered via pull request November 13, 2024 12:14
Status Failure
Total duration 12m 50s
Artifacts 3

ci-on-pull_request.yml

on: pull_request
Matrix: phpstan / php-stan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / php-stan (8.2): htdocs/asset/card.php#L191
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: 'integer…', label: 'SupplierInvoice', enabled: '1', noteditable: '1', position: 280, notnull: 0, visible: 1, index: 1, ...}|array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/card.php#L280
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: 'integer:Facture…', enabled: '1', notnull: 1, visible: 1, index: 1, validate: '1'}|array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L88
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, 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, noteditable: 0, index: 1, ...}, label: array{type: 'varchar(255)', label: 'Label', enabled: 1, position: 30, notnull: 1, visible: 1, searchall: 1, css: 'minwidth300', ...}, fk_asset_model: array{type: 'integer:AssetModel…', label: 'AssetModel', enabled: 1, position: 40, notnull: 0, visible: 1, index: 1, validate: 1}, qty: array{type: 'real', label: 'Qty', enabled: 1, position: 50, notnull: 1, visible: 0, default: '1', isameasure: 1, ...}, acquisition_type: array{type: 'smallint', label: 'AssetAcquisitionType', enabled: 1, position: 60, notnull: 1, visible: 1, arrayofkeyval: array{'AssetAcquisitionTyp…', 'AssetAcquisitionTyp…'}, validate: 1}, asset_type: array{type: 'smallint', label: 'AssetType', enabled: 1, position: 70, notnull: 1, visible: 1, arrayofkeyval: array{'AssetTypeIntangible', 'AssetTypeTangible', 'AssetTypeInProgress', 'AssetTypeFinancial'}, validate: 1}, not_depreciated: array{type: 'boolean', label: 'AssetNotDepreciated', enabled: 1, position: 80, notnull: 0, default: '0', visible: 1, validate: 1}, ...}.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L358
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L359
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L360
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L361
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L362
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/asset.class.php#L363
Property Asset::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: '1'|int, default?: string, ...}>.
phpstan / php-stan (8.2): htdocs/asset/class/assetdepreciationoptions.class.php#L182
Property AssetDepreciationOptions::$fields (array<string, array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>) does not accept non-empty-array<string, array{type: 'integer', label: 'TechnicalID', enabled: '1', position: 1, notnull: 1, visible: 0, noteditable: '1', index: 1, ...}|array{type: string, label: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int, noteditable?: int, default?: string, ...}>.

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
199 Bytes
phpstan-srcrt Expired
9.5 KB
precommit-logs Expired
552 Bytes