diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 8b025d8..75f5182 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: php: [ '8.2', '8.3' ] - uses: tastyigniter/workflows/.github/workflows/php-tests.yml@main + uses: tastyigniter/workflows/.github/workflows/php-tests-lite.yml@main with: php-version: ${{ matrix.target }} composer: update --no-interaction --no-progress diff --git a/composer.json b/composer.json index df7dd43..4f347bb 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "laravel/pint": "^1.2", "larastan/larastan": "^2.4.0", "sampoyigi/testbench": "dev-main as 1.0", - "pestphp/pest-plugin-laravel": "^2.0" + "pestphp/pest-plugin-laravel": "^3.0" }, "autoload": { "psr-4": { @@ -41,7 +41,7 @@ } }, "scripts": { - "test": "vendor/bin/pest", + "test": "vendor/bin/pest --coverage --exactly=100", "test-coverage": "vendor/bin/pest --coverage", "format": "vendor/bin/pint", "static": "vendor/bin/phpstan analyse --ansi --memory-limit 1056M" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6eaba4a..f0a455f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -12,9 +12,7 @@ - - - + diff --git a/src/Models/Attribute.php b/src/Models/Attribute.php index f32dd44..5a200a5 100644 --- a/src/Models/Attribute.php +++ b/src/Models/Attribute.php @@ -6,6 +6,13 @@ /** * Attribute Model + * + * @property int $id + * @property string $locale + * @property string|null $translatable_id + * @property string|null $translatable_type + * @property string|null $attribute + * @mixin \Igniter\Flame\Database\Model */ class Attribute extends Model {