Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #14

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
phpstan:
name: phpstan
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions app/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
if (! function_exists('example')) {
function example(): string
{
// testing...
return 'This is an example function you can use in your project.';
}
}
2 changes: 1 addition & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
foreach ([Field::class, BaseFilter::class, Placeholder::class, Column::class, Entry::class] as $component) {
/* @var Configurable $component */
$component::configureUsing(function (Component $translatable): void {
/** @phpstan-ignore method.notFound */

$translatable->translateLabel();

Check failure on line 33 in app/Providers/AppServiceProvider.php

View workflow job for this annotation

GitHub Actions / PHPStan

Call to an undefined method Filament\Support\Components\Component::translateLabel().
});
}
}
Expand Down
Loading