Skip to content

Commit 3d8fee2

Browse files
authored
Merge pull request #184 from codebar-ag/feature-laravel-12
Laravel 12
2 parents 8b09f59 + f1d4415 commit 3d8fee2

File tree

18 files changed

+176
-162
lines changed

18 files changed

+176
-162
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug Report
22
description: Report an Issue or Bug with the Package
33
title: "[Bug]: "
4-
labels: ["bug"]
4+
labels: [ "bug" ]
55
body:
66
- type: markdown
77
attributes:
@@ -20,26 +20,26 @@ We're sorry to hear you have a problem. Can you help us solve it by providing th
2020
attributes:
2121
label: Package Version
2222
description: What version of our Package are you running? Please be as specific as possible
23-
placeholder: "11.0"
24-
value: "11.0"
23+
placeholder: "12.0"
24+
value: "12.0"
2525
validations:
2626
required: true
2727
- type: input
2828
id: php-version
2929
attributes:
3030
label: PHP Version
3131
description: What version of PHP are you running? Please be as specific as possible
32-
placeholder: "8.3.0"
33-
value: "8.3.0"
32+
placeholder: "8.4.0"
33+
value: "8.4.0"
3434
validations:
3535
required: true
3636
- type: input
3737
id: laravel-version
3838
attributes:
3939
label: Laravel Version
4040
description: What version of Laravel are you running? Please be as specific as possible
41-
placeholder: "11.0.0"
42-
value: "11.0.0"
41+
placeholder: "12.0.0"
42+
value: "12.0.0"
4343
validations:
4444
required: true
4545
- type: dropdown

.github/workflows/dependabot-auto-merge.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
13-
13+
1414
- name: Dependabot metadata
1515
id: metadata
1616
uses: dependabot/[email protected]
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
19-
19+
2020
- name: Auto-merge Dependabot PRs for semver-minor updates
2121
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
2222
run: gh pr merge --auto --merge "$PR_URL"
2323
env:
2424
PR_URL: ${{github.event.pull_request.html_url}}
2525
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
26-
26+
2727
- name: Auto-merge Dependabot PRs for semver-patch updates
2828
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
2929
run: gh pr merge --auto --merge "$PR_URL"

.github/workflows/phpstan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.3'
19+
php-version: '8.4'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/release.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
branches:
8+
- main
9+
jobs:
10+
release:
11+
name: Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: '0'
17+
- name: Bump version and push tag
18+
uses: anothrNick/github-tag-action@master
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
21+
WITH_V: true
22+
RELEASE_BRANCHES: main
23+
DEFAULT_BUMP: minor

.github/workflows/run-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
max-parallel: 1
1515
matrix:
1616
os: [ ubuntu-latest ]
17-
php: [ 8.2, 8.3 ]
18-
laravel: [ 11.* ]
17+
php: [ 8.2, 8.3, 8.4 ]
18+
laravel: [ 12.* ]
1919
stability: [ prefer-lowest, prefer-stable ]
2020

2121
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.idea
22
.phpunit.result.cache
33
.phpunit.cache
4-
build
54
composer.lock
65
coverage
76
phpunit.xml
@@ -10,11 +9,9 @@ testbench.yaml
109
vendor
1110
node_modules
1211
.phpactor.json
13-
14-
12+
build
1513

1614
## Annotations
17-
1815
src/DTO/Documents/AnnotationsStamps/*
1916
src/Requests/Documents/AnnotationsStamps/*
2017
src/Responses/Documents/AnnotationsStamps/*

.phpunit.cache/test-results

+1-1
Large diffs are not rendered by default.

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,15 @@ then optimize the processes that power the core of your business.
147147
<details>
148148
<summary>Version Support</summary>
149149

150-
| Version | PHP Version | Laravel Version | DocuWare Cloud Access |
151-
|-----------------|-------------|-----------------|-----------------------|
152-
| > v11.0 (alpha) | ^8.2 | ^11.* ||
153-
| > v4.0 | ^8.2 | ^11.* ||
154-
| > v3.0 | ^8.2 | ^10.* ||
155-
| > v2.0 | ^8.1 | ^9.* ||
156-
| > v1.2 | ^8.1 | ^9.* ||
157-
| < v1.2 | ^8.0 | ^8.* ||
150+
| Version | PHP Version | Laravel Version | DocuWare Cloud Access |
151+
|---------------|-------------|-----------------|-----------------------|
152+
| v12.0 | ^8.2 - ^8.4 | 12.* ||
153+
| v11.0 (alpha) | ^8.2 | 11.* ||
154+
| > v4.0 | ^8.2 | 11.* ||
155+
| > v3.0 | ^8.2 | 10.* ||
156+
| > v2.0 | ^8.1 | 9.* ||
157+
| > v1.2 | ^8.1 | 9.* ||
158+
| < v1.2 | ^8.0 | 8.* ||
158159

159160
</details>
160161

composer.json

+81-82
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,84 @@
11
{
2-
"name": "codebar-ag/laravel-docuware",
3-
"description": "DocuWare integration with Laravel",
4-
"keywords": [
5-
"laravel",
6-
"docuware",
7-
"codebar-ag",
8-
"laravel-docuware",
9-
"codebar Solutions AG",
10-
"Ricoh Schweiz AG",
11-
"Docu Ware"
12-
],
13-
"homepage": "https://github.com/codebar-ag/laravel-docuware",
14-
"license": "MIT",
15-
"authors": [
16-
{
17-
"name": "Sebastian Bürgin-Fix",
18-
"email": "[email protected]",
19-
"homepage": "https://www.codebar.ch",
20-
"role": "Sofware-Engineer"
2+
"name": "codebar-ag/laravel-docuware",
3+
"description": "DocuWare integration with Laravel",
4+
"keywords": [
5+
"laravel",
6+
"docuware",
7+
"codebar-ag",
8+
"laravel-docuware",
9+
"codebar Solutions AG",
10+
"Ricoh Schweiz AG",
11+
"Docu Ware"
12+
],
13+
"homepage": "https://github.com/codebar-ag/laravel-docuware",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "Sebastian Bürgin-Fix",
18+
"email": "[email protected]",
19+
"homepage": "https://www.codebar.ch",
20+
"role": "Sofware-Engineer"
21+
},
22+
{
23+
"name": "Rhys Lees",
24+
"role": "Software-Engineer"
25+
}
26+
],
27+
"require": {
28+
"php": "8.2.*|8.3.*|8.4.*",
29+
"guzzlehttp/guzzle": "^7.8",
30+
"illuminate/contracts": "^12.0",
31+
"nesbot/carbon": "^3.8",
32+
"saloonphp/cache-plugin": "^3.0",
33+
"saloonphp/laravel-plugin": "^3.5",
34+
"saloonphp/saloon": "^3.10.1",
35+
"spatie/laravel-package-tools": "^1.19"
2136
},
22-
{
23-
"name": "Rhys Lees",
24-
"role": "Software-Engineer"
25-
}
26-
],
27-
"require": {
28-
"php": ">=8.2",
29-
"guzzlehttp/guzzle": "^7.8",
30-
"illuminate/contracts": "^11.0",
31-
"nesbot/carbon": "^2.72",
32-
"saloonphp/cache-plugin": "^3.0",
33-
"saloonphp/laravel-plugin": "^3.5",
34-
"saloonphp/saloon": "^3.7",
35-
"spatie/laravel-package-tools": "^1.16"
36-
},
37-
"require-dev": {
38-
"laravel/pint": "^1.14",
39-
"larastan/larastan": "^2.9",
40-
"orchestra/testbench": "^9.0",
41-
"pestphp/pest": "^2.34",
42-
"phpstan/extension-installer": "^1.3",
43-
"phpstan/phpstan-deprecation-rules": "^1.1",
44-
"phpstan/phpstan-phpunit": "^1.3",
45-
"phpunit/phpunit": "^10.5",
46-
"spatie/laravel-ray": "^1.35"
47-
},
48-
"autoload": {
49-
"psr-4": {
50-
"CodebarAg\\DocuWare\\": "src"
51-
}
52-
},
53-
"autoload-dev": {
54-
"psr-4": {
55-
"CodebarAg\\DocuWare\\Tests\\": "tests"
56-
}
57-
},
58-
"scripts": {
59-
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
60-
"analyse": "vendor/bin/phpstan analyse",
61-
"test": "vendor/bin/pest",
62-
"test-coverage": "vendor/bin/pest --coverage",
63-
"format": "vendor/bin/pint"
64-
},
65-
"config": {
66-
"sort-packages": true,
67-
"allow-plugins": {
68-
"composer/package-versions-deprecated": true,
69-
"phpstan/extension-installer": true,
70-
"pestphp/pest-plugin": true
71-
}
72-
},
73-
"extra": {
74-
"laravel": {
75-
"providers": [
76-
"CodebarAg\\DocuWare\\DocuWareServiceProvider"
77-
],
78-
"aliases": {
79-
"DocuWare": "CodebarAg\\DocuWare\\Facades\\DocuWare"
80-
}
81-
}
82-
},
83-
"minimum-stability": "dev",
84-
"prefer-stable": true
37+
"require-dev": {
38+
"laravel/pint": "^1.21",
39+
"larastan/larastan": "^v3.1",
40+
"orchestra/testbench": "^10.0",
41+
"pestphp/pest": "^3.7",
42+
"phpstan/extension-installer": "^1.4",
43+
"phpstan/phpstan-deprecation-rules": "^2.0",
44+
"phpstan/phpstan-phpunit": "^2.0",
45+
"spatie/laravel-ray": "^1.39"
46+
},
47+
"autoload": {
48+
"psr-4": {
49+
"CodebarAg\\DocuWare\\": "src"
50+
}
51+
},
52+
"autoload-dev": {
53+
"psr-4": {
54+
"CodebarAg\\DocuWare\\Tests\\": "tests"
55+
}
56+
},
57+
"scripts": {
58+
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
59+
"analyse": "vendor/bin/phpstan analyse",
60+
"test": "vendor/bin/pest",
61+
"test-coverage": "vendor/bin/pest --coverage",
62+
"format": "vendor/bin/pint"
63+
},
64+
"config": {
65+
"sort-packages": true,
66+
"allow-plugins": {
67+
"composer/package-versions-deprecated": true,
68+
"phpstan/extension-installer": true,
69+
"pestphp/pest-plugin": true
70+
}
71+
},
72+
"extra": {
73+
"laravel": {
74+
"providers": [
75+
"CodebarAg\\DocuWare\\DocuWareServiceProvider"
76+
],
77+
"aliases": {
78+
"DocuWare": "CodebarAg\\DocuWare\\Facades\\DocuWare"
79+
}
80+
}
81+
},
82+
"minimum-stability": "dev",
83+
"prefer-stable": true
8584
}

phpstan.neon.dist

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ includes:
22
- phpstan-baseline.neon
33

44
parameters:
5-
level: 4
5+
level: 5
66
paths:
77
- src
88
- config
99
tmpDir: build/phpstan
1010
checkOctaneCompatibility: true
1111
checkModelProperties: true
12-
checkMissingIterableValueType: false
13-
12+
noEnvCallsOutsideOfConfig: false

0 commit comments

Comments
 (0)