Skip to content

Commit a7bb140

Browse files
authored
Merge pull request #1 from lara-zeus/view-namespace
fix views namespace
2 parents 98e726d + f2186ce commit a7bb140

File tree

7 files changed

+6
-21
lines changed

7 files changed

+6
-21
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^8.2",
20+
"filament/filament": "^3.0",
2021
"spatie/laravel-package-tools": "^1.16"
2122
},
2223
"require-dev": {

phpstan.neon.dist

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ parameters:
55
level: 5
66
paths:
77
- src
8-
- config
9-
- database
8+
109
tmpDir: build/phpstan
1110
checkOctaneCompatibility: true
1211
checkModelProperties: true

src/Infolists/Components/CircleProgressEntry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class CircleProgressEntry extends Entry
88
{
99
protected bool $canShow = true;
1010

11-
protected string $view = 'progress::infolists.components.circle-progress-entry';
11+
protected string $view = 'lara-zeus-progress::infolists.components.circle-progress-entry';
1212

1313
public function hideProgressValue($canShow = false): static
1414
{

src/Infolists/Components/ProgressBarEntry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ProgressBarEntry extends Entry
88
{
99
protected bool $canShow = true;
1010

11-
protected string $view = 'progress::infolists.components.progress-bar-entry';
11+
protected string $view = 'lara-zeus-progress::infolists.components.progress-bar-entry';
1212

1313
public function hideProgressValue($canShow = false): static
1414
{

src/Tables/Columns/CircleProgress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class CircleProgress extends Column
88
{
99
protected bool $canShow = true;
1010

11-
protected string $view = 'progress::tables.columns.circle-progress';
11+
protected string $view = 'lara-zeus-progress::tables.columns.circle-progress';
1212

1313
public function hideProgressValue($canShow = false): static
1414
{

src/Tables/Columns/ProgressBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ProgressBar extends Column
88
{
99
protected bool $canShow = true;
1010

11-
protected string $view = 'progress::tables.columns.progress-bar';
11+
protected string $view = 'lara-zeus-progress::tables.columns.progress-bar';
1212

1313
public function hideProgressValue($canShow = false): static
1414
{

tests/TestCase.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22

33
namespace LaraZeus\Progress\Tests;
44

5-
use Illuminate\Database\Eloquent\Factories\Factory;
65
use LaraZeus\Progress\ProgressServiceProvider;
76
use Orchestra\Testbench\TestCase as Orchestra;
87

98
class TestCase extends Orchestra
109
{
11-
protected function setUp(): void
12-
{
13-
parent::setUp();
14-
15-
Factory::guessFactoryNamesUsing(
16-
fn (string $modelName) => 'LaraZeus\\Progress\\Database\\Factories\\'.class_basename($modelName).'Factory'
17-
);
18-
}
19-
2010
protected function getPackageProviders($app)
2111
{
2212
return [
@@ -27,10 +17,5 @@ protected function getPackageProviders($app)
2717
public function getEnvironmentSetUp($app)
2818
{
2919
config()->set('database.default', 'testing');
30-
31-
/*
32-
$migration = include __DIR__.'/../database/migrations/create_progress_table.php.stub';
33-
$migration->up();
34-
*/
3520
}
3621
}

0 commit comments

Comments
 (0)