File tree Expand file tree Collapse file tree 15 files changed +193
-165
lines changed Expand file tree Collapse file tree 15 files changed +193
-165
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Bug Report
2
2
description : Report an Issue or Bug with the Package
3
3
title : " [Bug]: "
4
- labels : ["bug"]
4
+ labels : [ "bug" ]
5
5
body :
6
6
- type : markdown
7
7
attributes :
8
- value : |
9
- We're sorry to hear you have a problem. Can you help us solve it by providing the following details.
8
+ value : " |
9
+ We're sorry to hear you have a problem. Can you help us solve it by providing the following details."
10
10
- type : textarea
11
11
id : what-happened
12
12
attributes :
13
13
label : What happened?
14
14
description : What did you expect to happen?
15
- placeholder : I cannot currently do X thing because when I do, it breaks X thing.
15
+ placeholder : " I cannot currently do X thing because when I do, it breaks X thing."
16
16
validations :
17
17
required : true
18
18
- type : input
19
19
id : package-version
20
20
attributes :
21
21
label : Package Version
22
22
description : What version of our Package are you running? Please be as specific as possible
23
- placeholder : 1.0.0
23
+ placeholder : " 12.0"
24
+ value : " 12.0"
24
25
validations :
25
26
required : true
26
27
- type : input
27
28
id : php-version
28
29
attributes :
29
30
label : PHP Version
30
31
description : What version of PHP are you running? Please be as specific as possible
31
- placeholder : 8.3.0
32
+ placeholder : " 8.4.0"
33
+ value : " 8.4.0"
32
34
validations :
33
35
required : true
34
36
- type : input
35
37
id : laravel-version
36
38
attributes :
37
39
label : Laravel Version
38
40
description : What version of Laravel are you running? Please be as specific as possible
39
- placeholder : 11.0.0
41
+ placeholder : " 12.0.0"
42
+ value : " 12.0.0"
40
43
validations :
41
44
required : true
42
45
- type : dropdown
Original file line number Diff line number Diff line change
1
+ # Please see the documentation for all configuration options:
2
+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
3
+
4
+ version : 2
5
+ updates :
6
+
7
+ - package-ecosystem : " github-actions"
8
+ directory : " /"
9
+ schedule :
10
+ interval : " weekly"
11
+ labels :
12
+ - " dependencies"
Original file line number Diff line number Diff line change 13
13
14
14
- name : Dependabot metadata
15
15
id : metadata
16
- uses : dependabot/fetch-metadata@v1.6
16
+ uses : dependabot/fetch-metadata@v2.3.0
17
17
with :
18
- github-token : ${{ secrets.MY_GITHUB_TOKEN }}
18
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
19
19
20
20
- name : Auto-merge Dependabot PRs for semver-minor updates
21
21
if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
Original file line number Diff line number Diff line change
1
+ name : dependabot-auto-merge
2
+ on : pull_request_target
3
+
4
+ permissions :
5
+ pull-requests : write
6
+ contents : write
7
+
8
+ jobs :
9
+ dependabot :
10
+ runs-on : ubuntu-latest
11
+ if : ${{ github.actor == 'dependabot[bot]' }}
12
+ steps :
13
+
14
+ - name : Dependabot metadata
15
+ id : metadata
16
+ uses : dependabot/fetch-metadata@v2.3.0
17
+ with :
18
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
19
+
20
+ - name : Auto-merge Dependabot PRs for semver-minor updates
21
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
22
+ run : gh pr merge --auto --merge "$PR_URL"
23
+ env :
24
+ PR_URL : ${{github.event.pull_request.html_url}}
25
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26
+
27
+ - name : Auto-merge Dependabot PRs for semver-patch updates
28
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
29
+ run : gh pr merge --auto --merge "$PR_URL"
30
+ env :
31
+ PR_URL : ${{github.event.pull_request.html_url}}
32
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change
1
+ name : Fix PHP code style issues
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ php-code-styling :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - name : Checkout code
11
+ uses : actions/checkout@v4
12
+ with :
13
+ ref : ${{ github.head_ref }}
14
+
15
+ - name : Fix PHP code style issues
16
+ uses : aglipanci/laravel-pint-action@2.5
17
+
18
+ - name : Commit changes
19
+ uses : stefanzweifel/git-auto-commit-action@v5
20
+ with :
21
+ commit_message : Fix styling
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,29 +2,25 @@ name: PHPStan
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
6
- pull_request :
7
- branches : [ main ]
5
+ paths :
6
+ - ' **.php '
7
+ - ' phpstan.neon.dist '
8
8
9
9
jobs :
10
10
phpstan :
11
11
name : phpstan
12
12
runs-on : ubuntu-latest
13
-
14
- env :
15
- PHP_VERSION : ' 8.3'
16
-
17
13
steps :
18
14
- uses : actions/checkout@v4
19
15
20
16
- name : Setup PHP
21
17
uses : shivammathur/setup-php@v2
22
18
with :
23
- php-version : ${{ env.PHP_VERSION }}
19
+ php-version : ' 8.4 '
24
20
coverage : none
25
21
26
22
- name : Install composer dependencies
27
23
uses : ramsey/composer-install@v3
28
24
29
25
- name : Run PHPStan
30
- run : ./vendor/bin/phpstan analyse src --error-format=github
26
+ run : ./vendor/bin/phpstan --error-format=github
Original file line number Diff line number Diff line change @@ -10,21 +10,14 @@ jobs:
10
10
release :
11
11
name : Release
12
12
runs-on : ubuntu-latest
13
-
14
- env :
15
- INITIAL_VERSION : 11.0.0
16
- RELEASE_BRANCHES : main
17
- DEFAULT_BUMP : patch
18
-
19
13
steps :
20
14
- uses : actions/checkout@v4
21
15
with :
22
16
fetch-depth : ' 0'
23
17
- name : Bump version and push tag
24
- uses : anothrNick/github-tag-action@v1
18
+ uses : anothrNick/github-tag-action@master
25
19
env :
26
20
GITHUB_TOKEN : ${{ secrets.MY_GITHUB_TOKEN }}
27
21
WITH_V : true
28
- INITIAL_VERSION : ${{ env.INITIAL_VERSION }}
29
- RELEASE_BRANCHES : ${{ env.RELEASE_BRANCHES }}
30
- DEFAULT_BUMP : ${{ env.DEFAULT_BUMP }}
22
+ RELEASE_BRANCHES : main
23
+ DEFAULT_BUMP : minor
Original file line number Diff line number Diff line change 13
13
fail-fast : true
14
14
max-parallel : 1
15
15
matrix :
16
- os : [ ubuntu-latest, windows-latest ]
17
- php : [ 8.2, 8.3 ]
18
- laravel : [ 11 .* ]
16
+ os : [ ubuntu-latest ]
17
+ php : [ 8.2, 8.3, 8.4 ]
18
+ laravel : [ 12 .* ]
19
19
stability : [ prefer-lowest, prefer-stable ]
20
20
21
21
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -41,16 +41,15 @@ jobs:
41
41
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
42
42
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
43
43
44
- - name : Set phpunit.xml
44
+ - name : Execute tests
45
45
run : cp phpunit.xml.dist phpunit.xml
46
46
47
47
- name : Execute tests
48
48
run : vendor/bin/pest
49
49
50
- - name : Store test reports
50
+ - name : Store Log Artifacts
51
+ if : failure()
51
52
uses : actions/upload-artifact@v4
52
53
with :
53
- name : Store report
54
- retention-days : 1
55
- path : |
56
- ./reports
54
+ name : Store report artifacts
55
+ path : ./vendor/orchestra/testbench-core/laravel/storage/logs
Original file line number Diff line number Diff line change 1
1
.idea
2
- .php_cs
3
- .php_cs.cache
4
- .php-cs-fixer.cache
5
2
.phpunit.result.cache
6
- .DS_STORE
7
- build
3
+ .phpunit.cache
8
4
composer.lock
9
5
coverage
10
- docs
11
6
phpunit.xml
12
- psalm.xml
7
+ phpstan.neon
13
8
testbench.yaml
14
9
vendor
15
10
node_modules
16
- phpstan.neon
11
+ .phpactor.json
12
+ build
Original file line number Diff line number Diff line change 1
- <img src =" https://banners.beyondco.de/Laravel%20Zendesk.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-zendesk&pattern=circuitBoard&style=style_2&description=A+Laravel+Zendesk+integration.&md=1&showWatermark=1 &fontSize=150px&images=home&widths=500&heights=500 " >
1
+ <img src =" https://banners.beyondco.de/Laravel%20Zendesk.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-zendesk&pattern=circuitBoard&style=style_2&description=A+Laravel+Zendesk+integration.&md=1&showWatermark=0 &fontSize=150px&images=home&widths=500&heights=500 " >
2
2
3
3
[ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/codebar-ag/laravel-zendesk.svg?style=flat-square )] ( https://packagist.org/packages/codebar-ag/laravel-zendesk )
4
+ [ ![ GitHub-Tests] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/run-tests.yml/badge.svg?branch=main )] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/run-tests.yml )
5
+ [ ![ GitHub Code Style] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main )] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/fix-php-code-style-issues.yml )
4
6
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/codebar-ag/laravel-zendesk.svg?style=flat-square )] ( https://packagist.org/packages/codebar-ag/laravel-zendesk )
5
- [ ![ run-tests] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/run-tests.yml/badge.svg )] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/run-tests.yml )
6
- [ ![ PHPStan] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/phpstan.yml/badge.svg )] ( https://github.com/codebar-ag/laravel-zendesk/actions/workflows/phpstan.yml )
7
7
8
8
This package was developed to give you a quick start to creating tickets via the Zendesk API.
9
9
@@ -14,9 +14,12 @@ knowledge base and online communities.
14
14
15
15
## 🛠 Requirements
16
16
17
- | Package | PHP | Laravel | Zendesk |
18
- | -----------| -------| ----------------| :---------:|
19
- | >v1.0 | >8.2 | > Laravel 10.0 | ✅ |
17
+ | Package | PHP | Laravel | Zendesk |
18
+ | -----------| -------------| -----------| :---------:|
19
+ | v12.0 | ^8.2 - ^8.4 | 12.x | ✅ |
20
+ | v11.0 | ^8.2 - ^8.3 | 11.x | ✅ |
21
+ | v1.0 | ^8.2 | 10.x | ✅ |
22
+
20
23
21
24
## Authentication
22
25
You can’t perform that action at this time.
0 commit comments