Skip to content

Commit

Permalink
Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tjardoo committed Feb 24, 2024
1 parent 94633b0 commit 66e4710
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 97 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/php-cs-fixer.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: PHPStan
name: Run PHPStan

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

jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -20,7 +20,7 @@ jobs:
coverage: none

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

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
run: ./vendor/bin/phpstan --error-format=github
25 changes: 25 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Pint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
pint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Run Pint
uses: aglipanci/[email protected]

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
39 changes: 0 additions & 39 deletions .php_cs.dist.php

This file was deleted.

19 changes: 0 additions & 19 deletions CHANGELOG.md

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Latest Stable Version](https://poser.pugx.org/label84/laravel-tagmanager/v/stable?style=flat-square)](https://packagist.org/packages/label84/laravel-tagmanager)
[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Quality Score](https://img.shields.io/scrutinizer/g/label84/laravel-tagmanager.svg?style=flat-square)](https://scrutinizer-ci.com/g/label84/laravel-tagmanager)
[![Total Downloads](https://img.shields.io/packagist/dt/label84/laravel-tagmanager.svg?style=flat-square)](https://packagist.org/packages/label84/laravel-tagmanager)

Easier way to add Google Tag Manager to your Laravel application. Including support for User-ID, E-commerce and Server Side Events (Measurement Protocol).
Expand All @@ -25,8 +24,8 @@ Easier way to add Google Tag Manager to your Laravel application. Including supp

| Version | Release |
|---------|---------|
| 11.x | 1.3 |
| 10.x | 1.3 |
| 9.x | 1.3 |

## Installation

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
}
],
"require": {
"illuminate/support": "^9.0|^10.0"
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"nunomaduro/larastan": "^2.0"
"orchestra/testbench": "^8.0|^9.0",
"larastan/larastan": "^2.0"
},
"extra": {
"laravel": {
Expand Down
6 changes: 2 additions & 4 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/larastan/larastan/extension.neon

parameters:

paths:
- src

# The level 8 is the highest level
level: 8

ignoreErrors:

excludes_analyse:

checkMissingIterableValueType: false

checkGenericClassInNonGenericObjectType: false
checkGenericClassInNonGenericObjectType: false

0 comments on commit 66e4710

Please sign in to comment.