Skip to content

Commit 71deb33

Browse files
Merge pull request #4 from devNoiseConsulting/9.x
9.1.2
2 parents 2111ea1 + 8e5dd7e commit 71deb33

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
push:
55
branches:
66
- master
7+
- 9.x
78
pull_request:
89

910
jobs:
1011
tests:
1112
runs-on: ubuntu-latest
1213
strategy:
13-
fail-fast: false
14+
fail-fast: true
1415
matrix:
1516
php: [8.0, 8.1, 8.2]
1617
laravel: [^9, ^10]
@@ -35,6 +36,10 @@ jobs:
3536

3637
- name: Install dependencies
3738
run: |
39+
composer remove nunomaduro/larastan --dev --no-update
40+
composer remove orchestra/testbench --dev --no-update
41+
composer remove tightenco/duster --dev --no-update
42+
composer remove laravel/pint --dev --no-update
3843
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
3944
composer require "illuminate/database=${{ matrix.laravel }}" --no-update
4045
composer require "illuminate/support=${{ matrix.laravel }}" --no-update

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"authors": [
1919
{
2020
"name": "Michael Flynn",
21-
"email": "flynnmj@devnoise.com.com",
21+
"email": "flynnmj@devnoise.com",
2222
"homepage": "https://github.com/devNoiseConsulting"
2323
},
2424
{
@@ -35,8 +35,12 @@
3535
"laravel/scout": "^9|^10"
3636
},
3737
"require-dev": {
38+
"laravel/pint": "^1.10",
39+
"mockery/mockery": "^1.5",
40+
"nunomaduro/larastan": "^2.6",
41+
"orchestra/testbench": "^8.5",
3842
"phpunit/phpunit": "^9.6",
39-
"mockery/mockery": "^1.5"
43+
"tightenco/duster": "^2.0"
4044
},
4145
"autoload": {
4246
"psr-4": {

phpstan-baseline.neon

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@ parameters:
1414
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:toSearchableArray\\(\\)\\.$#"
1515
count: 1
1616
path: src/PostgresEngine.php
17-
-
18-
message: "#^Access to an undefined property ScoutEngines\\\\Postgres\\\\PostgresEngineServiceProvider\\:\\:\\$callback\\.$#"
19-
count: 1
20-
path: src/PostgresEngineServiceProvider.php
17+

src/PostgresEngineServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ protected function registerBuilderMacro(string $name, string $class): void
5050
{
5151
if (! Builder::hasMacro($name)) {
5252
Builder::macro($name, function () use ($class) {
53+
/** @var Builder $this */
5354
$this->callback = function ($builder, $config) use ($class) {
5455
return new $class($builder->query, $config);
5556
};

0 commit comments

Comments
 (0)