Skip to content

Commit 02eb686

Browse files
authored
Merge pull request #383 from wayofdev/develop
2 parents cef4487 + 70de737 commit 02eb686

37 files changed

+995
-1766
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ LOG_DEPRECATIONS_CHANNEL=null
3232
LOG_LEVEL=debug
3333

3434
DB_CONNECTION=pgsql
35-
DB_HOST=127.0.0.1
35+
DB_HOST=database
3636
DB_PORT=5432
3737
DB_DATABASE=wod
3838
DB_USERNAME=wod
3939
DB_PASSWORD=password
4040
DB_FORWARD_PORT=5444
4141

42-
CACHE_DRIVER=file
42+
CACHE_STORE=file
4343
FILESYSTEM_DISK=local
4444
QUEUE_CONNECTION=sync
4545
SESSION_DRIVER=file

.github/workflows/deploy-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ on: # yamllint disable-line rule:truthy
77

88
name: 🚀 Deploy to production
99

10+
concurrency: production
11+
1012
jobs:
1113
deployment:
12-
runs-on: "ubuntu-22.04"
14+
runs-on: ${{ matrix.os }}
1315
strategy:
1416
fail-fast: true
1517
matrix:

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on: # yamllint disable-line rule:truthy
77

88
name: 🚀 Deploy to staging
99

10+
concurrency: staging
11+
1012
jobs:
1113
deployment:
1214
runs-on: ${{ matrix.os }}

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,23 @@ lint-yaml: ## Lints yaml files inside project
167167
.PHONY: lint-yaml
168168

169169
lint-php: ## Lints php files inside project using php-cs-fixer
170-
$(APP_COMPOSER) run-script cs:fix
170+
$(APP_COMPOSER) cs:fix
171171
.PHONY: lint-php
172172

173173
lint-diff: ## Shows diff of php-cs-fixer
174-
$(APP_COMPOSER) run-script cs:diff
174+
$(APP_COMPOSER) cs:diff
175175
.PHONY: lint-diff
176176

177177
lint-stan:
178-
$(APP_COMPOSER) run-script stan
178+
$(APP_COMPOSER) stan
179179
.PHONY: lint-stan
180180

181+
lint-stan-baseline: ## Runs phpstan to update its baseline
182+
$(APP_COMPOSER) stan:baseline
183+
.PHONY: lint-stan-baseline
184+
181185
lint-deps:
182-
$(APP_COMPOSER) run-script deptrac
186+
$(APP_COMPOSER) deptrac
183187
.PHONY: lint-deps
184188

185189
test: ## Run project php-unit and pest tests

app/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,24 @@
99
"ext-pdo": "*",
1010
"deployer/deployer": "^7.4",
1111
"guzzlehttp/guzzle": "^7.8",
12-
"laravel/framework": "^10.48",
12+
"laravel/framework": "^v11.8",
1313
"laravel/tinker": "^2.9",
1414
"sentry/sentry-laravel": "^4.5",
1515
"spatie/laravel-fractal": "^6.2",
1616
"spatie/laravel-query-builder": "^5.8",
1717
"spatie/laravel-route-attributes": "^1.22",
18-
"wayofdev/laravel-open-docs": "^2.0"
18+
"wayofdev/laravel-open-docs": "^2.1"
1919
},
2020
"require-dev": {
2121
"ergebnis/composer-normalize": "^2.42",
2222
"fakerphp/faker": "^1.23",
2323
"mockery/mockery": "^1.6",
24-
"nunomaduro/collision": "^7.10",
24+
"nunomaduro/collision": "^v8.1",
2525
"larastan/larastan": "^2.9",
2626
"pestphp/pest-plugin-laravel": "^2.4",
2727
"phpstan/extension-installer": "^1.3",
2828
"phpstan/phpstan-deprecation-rules": "^1.2",
2929
"phpunit/phpunit": "^10.5",
30-
"roave/security-advisories": "dev-latest",
3130
"spatie/laravel-ignition": "^2.7",
3231
"wayofdev/cs-fixer-config": "^1.4"
3332
},
@@ -64,6 +63,7 @@
6463
"test": "php vendor/bin/pest",
6564
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage-clover coverage.xml",
6665
"stan": "php vendor/bin/phpstan analyse --memory-limit=2G",
66+
"stan:baseline": "php vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline",
6767
"deptrac": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache",
6868
"deptrac:ci": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter github-actions",
6969
"deptrac:gv": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter graphviz-image --output ../assets/deptrac.svg"

0 commit comments

Comments
 (0)