Skip to content

fix: Store Model namespace (#306) #431

fix: Store Model namespace (#306)

fix: Store Model namespace (#306) #431

Triggered via push November 15, 2024 19:16
Status Failure
Total duration 1m 0s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 4 warnings
PHP 8.3 - L10.* prefer-stable: packages/admin/src/Components/Form/SelectTree.php#L95
Call to an undefined method Traversable<int, Illuminate\Database\Eloquent\Model>::pluck().
PHP 8.3 - L10.* prefer-stable: packages/core/src/Models/Collection.php#L45
Method Shopper\Core\Models\Collection::newFactory() has invalid return type Database\Factories\CollectionFactory.
PHP 8.3 - L10.* prefer-stable: packages/core/src/Models/Collection.php#L47
Call to static method new() on an unknown class Database\Factories\CollectionFactory.
PHP 8.3 - L10.* prefer-stable: packages/core/src/Models/CollectionRule.php#L41
Method Shopper\Core\Models\CollectionRule::newFactory() has invalid return type Database\Factories\CollectionRuleFactory.
PHP 8.3 - L10.* prefer-stable: packages/core/src/Models/CollectionRule.php#L43
Call to static method new() on an unknown class Database\Factories\CollectionRuleFactory.
PHP 8.3 - L10.* prefer-stable
Process completed with exit code 1.
PHP 8.2 - L10.* prefer-stable: packages/admin/src/Components/Form/SelectTree.php#L95
Call to an undefined method Traversable<int, Illuminate\Database\Eloquent\Model>::pluck().
PHP 8.2 - L10.* prefer-stable: packages/core/src/Models/Collection.php#L45
Method Shopper\Core\Models\Collection::newFactory() has invalid return type Database\Factories\CollectionFactory.
PHP 8.2 - L10.* prefer-stable: packages/core/src/Models/Collection.php#L47
Call to static method new() on an unknown class Database\Factories\CollectionFactory.
PHP 8.2 - L10.* prefer-stable: packages/core/src/Models/CollectionRule.php#L41
Method Shopper\Core\Models\CollectionRule::newFactory() has invalid return type Database\Factories\CollectionRuleFactory.
PHP 8.2 - L10.* prefer-stable: packages/core/src/Models/CollectionRule.php#L43
Call to static method new() on an unknown class Database\Factories\CollectionRuleFactory.
PHP 8.2 - L10.* prefer-stable
Process completed with exit code 1.
PHP 8.2 - L11.* prefer-stable: packages/core/src/Models/Collection.php#L45
Method Shopper\Core\Models\Collection::newFactory() has invalid return type Database\Factories\CollectionFactory.
PHP 8.2 - L11.* prefer-stable: packages/core/src/Models/Collection.php#L47
Call to static method new() on an unknown class Database\Factories\CollectionFactory.
PHP 8.2 - L11.* prefer-stable: packages/core/src/Models/CollectionRule.php#L41
Method Shopper\Core\Models\CollectionRule::newFactory() has invalid return type Database\Factories\CollectionRuleFactory.
PHP 8.2 - L11.* prefer-stable: packages/core/src/Models/CollectionRule.php#L43
Call to static method new() on an unknown class Database\Factories\CollectionRuleFactory.
PHP 8.2 - L11.* prefer-stable
Process completed with exit code 1.
PHP 8.3 - L11.* prefer-stable: packages/core/src/Models/Collection.php#L45
Method Shopper\Core\Models\Collection::newFactory() has invalid return type Database\Factories\CollectionFactory.
PHP 8.3 - L11.* prefer-stable: packages/core/src/Models/Collection.php#L47
Call to static method new() on an unknown class Database\Factories\CollectionFactory.
PHP 8.3 - L11.* prefer-stable: packages/core/src/Models/CollectionRule.php#L41
Method Shopper\Core\Models\CollectionRule::newFactory() has invalid return type Database\Factories\CollectionRuleFactory.
PHP 8.3 - L11.* prefer-stable: packages/core/src/Models/CollectionRule.php#L43
Call to static method new() on an unknown class Database\Factories\CollectionRuleFactory.
PHP 8.3 - L11.* prefer-stable
Process completed with exit code 1.
PHP 8.3 - L10.* prefer-stable
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/
PHP 8.2 - L10.* prefer-stable
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/
PHP 8.2 - L11.* prefer-stable
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/
PHP 8.3 - L11.* prefer-stable
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/