Skip to content

fix: properly handle static called on type for query #29

fix: properly handle static called on type for query

fix: properly handle static called on type for query #29

Triggered via pull request September 4, 2024 10:28
Status Failure
Total duration 3m 25s
Artifacts 1

e2e-tests.yml

on: pull_request
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
Test with monicahq/monica on PHP 8.2: app/Domains/Contact/ManageContactFeed/Web/Controllers/ContactFeedController.php#L31
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Contact/ManagePhotos/Web/Controllers/ContactPhotoController.php#L31
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Settings/ManageUsers/Services/AcceptInvitation.php#L49
Property App\Domains\Settings\ManageUsers\Services\AcceptInvitation::$user (App\Models\User) does not accept Illuminate\Database\Eloquent\Model.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageFiles/Web/Controllers/VaultFileController.php#L29
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageFiles/Web/Controllers/VaultFileController.php#L46
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageFiles/Web/Controllers/VaultFileController.php#L63
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageFiles/Web/Controllers/VaultFileController.php#L80
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageJournals/Web/ViewHelpers/PostShowViewHelper.php#L172
Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<int,Illuminate\Database\Eloquent\Model>::map() expects callable(Illuminate\Database\Eloquent\Model, int): array{id: int, note: string|null, number_of_hours_slept: int|null, mood_tracking_parameter: array{id: int, label: string}}, Closure(App\Models\MoodTrackingEvent): array{id: int, note: string|null, number_of_hours_slept: int|null, mood_tracking_parameter: array{id: int, label: string}} given.
Test with monicahq/monica on PHP 8.2: app/Domains/Vault/ManageVault/Web/Controllers/VaultFeedController.php#L34
Parameter #1 $paginator of static method App\Helpers\PaginatorHelper::getData() expects Illuminate\Pagination\LengthAwarePaginator, Illuminate\Contracts\Pagination\LengthAwarePaginator given.
Test with monicahq/monica on PHP 8.2
Process completed with exit code 1.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ListRecords)#L78
Method Filament\Resources\Pages\ListRecords::applySortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ListRecords)#L113
Method Filament\Resources\Pages\ListRecords::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ListRecords)#L124
Method Filament\Resources\Pages\ListRecords::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ManageRelatedRecords)#L78
Method Filament\Resources\Pages\ManageRelatedRecords::applySortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ManageRelatedRecords)#L113
Method Filament\Resources\Pages\ManageRelatedRecords::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/Pages/ManageRelatedRecords)#L124
Method Filament\Resources\Pages\ManageRelatedRecords::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/RelationManagers/RelationManager)#L78
Method Filament\Resources\RelationManagers\RelationManager::applySortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/RelationManagers/RelationManager)#L113
Method Filament\Resources\RelationManagers\RelationManager::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Resources/RelationManagers/RelationManager)#L124
Method Filament\Resources\RelationManagers\RelationManager::applyDefaultSortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with filamentphp/filament on PHP 8.2: packages/tables/src/Concerns/CanSortRecords.php (in context of class Filament/Tables/TableComponent)#L78
Method Filament\Tables\TableComponent::applySortingToTableQuery() should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
Test with monicahq/monica on PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test with filamentphp/filament on PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "baselines". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
baselines Expired
14.1 KB