Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/clickbar/laravel-magellan i…
Browse files Browse the repository at this point in the history
…nto build/laravel-11x

# Conflicts:
#	CHANGELOG.md
#	composer.json
#	composer.lock
  • Loading branch information
faytekin committed Mar 15, 2024
2 parents 5959a9e + 841292b commit 26daf64
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 59 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-styling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check styling

on:
push:
branches: [main]
pull_request:
branches: [main]

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: PHPStan

on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Laravel 11.x support

### Improved
- Updated `spatie/invade` to v2, works without reflection now 🥳

## [1.5.0](https://github.com/clickbar/laravel-magellan/tree/1.5.0) - 2024-01-19

### Added
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"illuminate/contracts": "^9.28|^10.0|^11.0",
"illuminate/database": "^9.0|^10.0|^11.0",
"illuminate/support": "^9.0|^10.0|^11.0",
"spatie/invade": "^1.1",
"spatie/invade": "^2.0",
"spatie/laravel-package-tools": "^1.14.0"
},
"require-dev": {
"doctrine/dbal": "^3.5",
"larastan/larastan": "^2.6",
"laravel/pint": "^1.2.1",
"nunomaduro/collision": "^6.0|^v8.1",
"larastan/larastan": "^2.0.1",
"orchestra/testbench": "^7.15|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"pestphp/pest-plugin-laravel": "^1.1|^2.3",
Expand Down
93 changes: 43 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file removed phpstan-baseline.neon
Empty file.
3 changes: 0 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
includes:
- phpstan-baseline.neon

parameters:
level: 4
paths:
Expand Down
1 change: 0 additions & 1 deletion src/Database/Builder/BuilderMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public function stFrom()
// NOTE: the `as` field has to be included in the DB expression instead of using the `from` method with the
// `as` parameter, because the latter will try to use the expression in a string concatenation with `as`.
/** @var Builder $this */
// @phpstan-ignore-next-line Laravel did not type the property correctly
$this->from = $magellanExpression->invoke($this, 'from', $as);

return $this;
Expand Down

0 comments on commit 26daf64

Please sign in to comment.