Skip to content
Merged
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/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v4

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
2 changes: 1 addition & 1 deletion .github/workflows/pint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Run Pint
uses: aglipanci/laravel-pint-action@2.3.0
uses: aglipanci/laravel-pint-action@latest

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Easier way to add Google Tag Manager to your Laravel application. Including supp

| Version | Release |
|---------|---------|
| 13.x | ^1.5 |
| 12.x | ^1.5 |
| 11.x | ^1.5 |

Expand Down Expand Up @@ -258,6 +259,7 @@ dd(
## Tests

```sh
./vendor/bin/pint
./vendor/bin/phpstan analyze
```

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
}
],
"require": {
"illuminate/support": "^11.0|^12.0"
"illuminate/support": "^11.0|^12.0|^13.0"
},
"require-dev": {
"orchestra/testbench": "^9.0|^10.0",
"orchestra/testbench": "^9.0|^10.0|^11.0",
"larastan/larastan": "^2.0|^3.1",
"laravel/pint": "^1.21"
"laravel/pint": "^1.29"
},
"extra": {
"laravel": {
Expand Down
3 changes: 2 additions & 1 deletion src/MeasurementProtocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Label84\TagManager;

use Illuminate\Foundation\Auth\User;
use Illuminate\Http\Client\Response;
use Illuminate\Support\Facades\Http;

class MeasurementProtocol
Expand Down Expand Up @@ -34,7 +35,7 @@ public function event(string $name, ?array $params = null): array
];
}

/** @var \Illuminate\Http\Client\Response $response */
/** @var Response $response */
$response = Http::withHeaders([
'content-type' => 'application/json',
])
Expand Down
Loading