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

Remove final keyword on model #232

Closed
wants to merge 7 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/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# These are supported funding model platforms
github: mckenziearts
github: [mckenziearts, shopperlabs]
10 changes: 3 additions & 7 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
php: [8.2, 8.1]
laravel: [10.*, 9.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v3
Expand All @@ -30,11 +25,12 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, pdo, pdo_sqlite
tools: "composer:v2"
extensions: mbstring, curl, pdo, pdo_sqlite
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse
20 changes: 8 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Node.js
/node_modules
npm-debug.log
yarn-error.log

# Composer
/vendor
composer.phar

# IDE
/.idea
/.vscode

# Laravel
/**/node_modules
/node_modules.nosync
yarn-error.log
/**/vendor
/**/composer.lock
/vendor.nosync
composer.phar
phpunit.xml
.phpunit.result.cache
.php-cs-fixer.cache
build
Thumbs.db

217 changes: 127 additions & 90 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,93 +1,130 @@
{
"name": "shopper/framework",
"description": "An e-commerce administration built with Laravel for create and manage online shop.",
"license": "MIT",
"keywords": [
"e-commerce",
"Tallstack",
"Store"
],
"authors": [
{
"name": "Arthur Monney",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"ext-intl": "*",
"composer-runtime-api": "^2.1"
},
"require-dev": {
"blade-ui-kit/blade-heroicons": "^1.2",
"danharrin/livewire-rate-limiting": "^0.3|^1.0",
"doctrine/dbal": "^3.6",
"larastan/larastan": "^2.0",
"laravel/pint": "^1.1",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^5.11|^6.1",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.0",
"pestphp/pest-plugin-livewire": "^1.0",
"pestphp/pest-plugin-parallel": "^0.3",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^8.4|^9.0",
"reecem/mocker": "^1.2",
"spatie/laravel-package-tools": "^1.15",
"symplify/monorepo-builder": "^10.0"
},
"autoload": {
"files": [
"packages/admin/src/helpers.php",
"packages/core/src/helpers.php"
"name": "shopper/framework",
"description": "An e-commerce administration built with Laravel for create and manage online shop.",
"license": "MIT",
"keywords": [
"e-commerce",
"Tallstack",
"Store"
],
"psr-4": {
"Database\\Factories\\": "packages/core/database/factories",
"Database\\Seeders\\": "packages/core/database/seeders",
"Shopper\\": [
"packages/admin/src",
"packages/core/src",
"packages/sidebar/src"
],
"Shopper\\Core\\": "packages/core/src",
"Shopper\\Sidebar\\": "packages/sidebar/src"
}
},
"autoload-dev": {
"psr-4": {
"Shopper\\Tests\\": "tests/src",
"Shopper\\Tests\\Database\\Factories\\": "tests/database/factories"
}
},
"extra": {
"laravel": {
"providers": [
"Shopper\\ShopperServiceProvider",
"Shopper\\Core\\CoreServiceProvider",
"Shopper\\Sidebar\\SidebarServiceProvider"
]
}
},
"scripts": {
"baseline": "./vendor/bin/phpstan analyse --generate-baseline",
"pint": "./vendor/bin/pint",
"pest": "./vendor/bin/pest",
"stan": "./vendor/bin/phpstan analyse --memory-limit=1G"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
},
"replace": {
"shopper/core": "self.version",
"shopper/framework": "self.version",
"shopper/sidebar": "self.version"
},
"minimum-stability": "dev",
"prefer-stable": true
"authors": [
{
"name": "Arthur Monney",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"ext-intl": "*",
"composer-runtime-api": "^2.1",
"bacon/bacon-qr-code": "^2.0",
"danharrin/livewire-rate-limiting": "^0.3|^1.0",
"filament/notifications": "^2.17",
"illuminate/cache": "^9.0|^10.0",
"illuminate/console": "^9.0|^10.0",
"illuminate/container": "^9.0|^10.0",
"illuminate/contracts": "^9.0|^10.0",
"illuminate/cookie": "^9.0|^10.0",
"illuminate/database": "^9.0|^10.0",
"illuminate/http": "^9.0|^10.0",
"illuminate/routing": "^9.0|^10.0",
"illuminate/session": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"illuminate/view": "^9.0|^10.0",
"jenssegers/agent": "^2.6",
"laravel/helpers": "^1.4.1",
"laravel/prompts": "^0.1.15",
"livewire/livewire": "^2.10",
"maatwebsite/excel": "^3.1",
"mckenziearts/blade-untitledui-icons": "^1.2",
"milon/barcode": "^9.0|^10.0",
"moneyphp/money": "^3.3",
"pragmarx/google2fa": "^8.0",
"psr/simple-cache": "^3.0",
"rappasoft/laravel-livewire-tables": "^2.12",
"spatie/laravel-medialibrary": "^10.4.1",
"spatie/laravel-package-tools": "^1.15",
"spatie/laravel-permission": "^5.5.2",
"staudenmeir/laravel-adjacency-list": "^1.0",
"stevebauman/location": "^6.3.1",
"wire-elements/modal": "^1.0.0",
"wireui/wireui": "^1.17.9"
},
"require-dev": {
"blade-ui-kit/blade-heroicons": "^1.2",
"doctrine/dbal": "^3.6",
"larastan/larastan": "^2.0",
"laravel/pint": "^1.1",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^5.11|^6.1",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.0",
"pestphp/pest-plugin-livewire": "^1.0",
"pestphp/pest-plugin-parallel": "^0.3",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^8.4|^9.0",
"reecem/mocker": "^1.2",
"symplify/monorepo-builder": "^11.0"
},
"autoload": {
"files": [
"packages/admin/src/helpers.php",
"packages/core/src/helpers.php"
],
"psr-4": {
"Database\\Factories\\": "packages/core/database/factories",
"Database\\Seeders\\": "packages/core/database/seeders",
"Shopper\\": [
"packages/admin/src",
"packages/admin/src/",
"packages/core/src",
"packages/sidebar/src"
],
"Shopper\\Core\\": [
"packages/core/src",
"packages/core/src/"
],
"Shopper\\Sidebar\\": [
"packages/sidebar/src",
"packages/sidebar/src/"
]
}
},
"autoload-dev": {
"psr-4": {
"Shopper\\Tests\\": "tests/src",
"Shopper\\Tests\\Database\\Factories\\": "tests/database/factories"
}
},
"extra": {
"laravel": {
"providers": [
"Shopper\\Core\\CoreServiceProvider",
"Shopper\\ShopperServiceProvider",
"Shopper\\Sidebar\\SidebarServiceProvider"
]
}
},
"scripts": {
"baseline": "./vendor/bin/phpstan analyse --generate-baseline",
"pint": "./vendor/bin/pint",
"pest": "./vendor/bin/pest",
"stan": "./vendor/bin/phpstan analyse --memory-limit=1G"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
},
"replace": {
"shopper/core": "2.0.8",
"shopper/framework": "2.0.8",
"shopper/sidebar": "2.0.8"
},
"minimum-stability": "dev",
"prefer-stable": true
}
Loading
Loading