Skip to content

fixes

fixes #38

Triggered via push September 5, 2024 14:43
Status Failure
Total duration 46s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: database/factories/IxClientFactory.php#L20
Method Squarebit\InvoiceXpress\Database\Factories\IxClientFactory::definition() should return array<model property of Squarebit\InvoiceXpress\Models\IxClient, mixed> but returns array<string, mixed>.
phpstan: database/factories/IxItemFactory.php#L17
Method Squarebit\InvoiceXpress\Database\Factories\IxItemFactory::definition() should return array<model property of Squarebit\InvoiceXpress\Models\IxItem, mixed> but returns array<string, array|float|string>.
phpstan: database/factories/IxTaxFactory.php#L19
Method Squarebit\InvoiceXpress\Database\Factories\IxTaxFactory::definition() should return array<model property of Squarebit\InvoiceXpress\Models\IxTax, mixed> but returns array<string, mixed>.
phpstan: src/API/Endpoints/ClientsEndpoint.php#L70
No error to ignore is reported on line 70.
phpstan: src/API/Endpoints/ClientsEndpoint.php#L83
No error to ignore is reported on line 83.
phpstan: src/API/Endpoints/ItemsEndpoint.php#L52
No error to ignore is reported on line 52.
phpstan: src/API/Endpoints/ItemsEndpoint.php#L59
No error to ignore is reported on line 59.
phpstan: src/API/Endpoints/TaxesEndpoint.php#L52
No error to ignore is reported on line 52.
phpstan: src/API/Endpoints/TaxesEndpoint.php#L59
No error to ignore is reported on line 59.
phpstan: src/Models/IxModel.php#L26
Class Squarebit\InvoiceXpress\Models\IxModel uses generic trait Spatie\LaravelData\WithData but does not specify its types: T
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/