Skip to content

Commit c8cc401

Browse files
authored
Align repository with Contributte standards (#52)
1 parent 3821651 commit c8cc401

File tree

12 files changed

+150
-94
lines changed

12 files changed

+150
-94
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
Makefile export-ignore
77
README.md export-ignore
88
phpstan.neon export-ignore
9+
phpstan-baseline.neon export-ignore
910
ruleset.xml export-ignore
1011
tests export-ignore

.github/.kodiak.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/codesniffer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
name: "Codesniffer"
1616
uses: contributte/.github/.github/workflows/codesniffer.yml@master
1717
with:
18-
php: "8.2"
18+
php: "8.3"

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
branches: ["*"]
99

1010
schedule:
11-
- cron: "0 8 * * 1"
11+
- cron: "0 9 * * 1"
1212

1313
jobs:
1414
coverage:
1515
name: "Nette Tester"
1616
uses: contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master
1717
with:
18-
php: "8.2"
18+
php: "8.3"

.github/workflows/phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
branches: ["*"]
99

1010
schedule:
11-
- cron: "0 8 * * 1"
11+
- cron: "0 10 * * 1"
1212

1313
jobs:
1414
phpstan:
1515
name: "Phpstan"
1616
uses: contributte/.github/.github/workflows/phpstan.yml@master
1717
with:
18-
php: "8.2"
18+
php: "8.3"

.github/workflows/tests.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,36 @@ on:
88
branches: [ "*" ]
99

1010
schedule:
11-
- cron: "0 8 * * 1"
11+
- cron: "0 10 * * 1"
1212

1313
jobs:
14-
test83:
14+
test85:
1515
name: "Nette Tester"
1616
uses: contributte/.github/.github/workflows/nette-tester.yml@master
1717
with:
18-
php: "8.3"
18+
php: "8.5"
1919

20-
test82:
20+
test84:
2121
name: "Nette Tester"
2222
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2323
with:
24-
php: "8.2"
24+
php: "8.4"
2525

26-
test81:
26+
test83:
2727
name: "Nette Tester"
2828
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2929
with:
30-
php: "8.1"
30+
php: "8.3"
31+
32+
test82:
33+
name: "Nette Tester"
34+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
35+
with:
36+
php: "8.2"
3137

3238
testlower:
3339
name: "Nette Tester"
3440
uses: contributte/.github/.github/workflows/nette-tester.yml@master
3541
with:
36-
php: "8.1"
42+
php: "8.2"
3743
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

composer.json

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,53 +10,49 @@
1010
"resize",
1111
"upload"
1212
],
13-
"license": [
14-
"MIT"
15-
],
16-
"support": {
17-
"issues": "https://github.com/contributte/image-storage/issues"
18-
},
13+
"license": "MIT",
14+
"homepage": "https://github.com/contributte/image-storage",
1915
"authors": [
2016
{
2117
"name": "Pavel Janda",
2218
"homepage": "https://paveljanda.com"
2319
}
2420
],
2521
"require": {
26-
"php": ">=8.1",
22+
"php": ">=8.2",
23+
"latte/latte": "^3.0.12",
2724
"nette/application": "^3.1.14",
28-
"nette/utils": "^4.0.3",
2925
"nette/di": "^3.1.8",
3026
"nette/http": "^3.2.3",
31-
"latte/latte": "^3.0.12"
27+
"nette/utils": "^4.0.3"
3228
},
3329
"require-dev": {
34-
"contributte/qa": "^0.4",
35-
"contributte/tester": "^0.3",
36-
"contributte/phpstan": "^0.1",
30+
"contributte/phpstan": "^0.2.0",
31+
"contributte/qa": "^0.4.0",
32+
"contributte/tester": "^0.3.0",
3733
"tracy/tracy": "^2.10.5"
3834
},
39-
"autoload": {
40-
"psr-4": {
41-
"Contributte\\ImageStorage\\": "src"
42-
}
43-
},
44-
"autoload-dev": {
45-
"psr-4": {
46-
"Tests\\": "tests"
47-
}
48-
},
49-
"minimum-stability": "dev",
50-
"prefer-stable": true,
51-
"config": {
52-
"sort-packages": true,
53-
"allow-plugins": {
54-
"dealerdirect/phpcodesniffer-composer-installer": true
55-
}
56-
},
57-
"extra": {
58-
"branch-alias": {
59-
"dev-master": "3.1.x-dev"
60-
}
61-
}
35+
"autoload": {
36+
"psr-4": {
37+
"Contributte\\ImageStorage\\": "src"
38+
}
39+
},
40+
"autoload-dev": {
41+
"psr-4": {
42+
"Tests\\": "tests"
43+
}
44+
},
45+
"minimum-stability": "dev",
46+
"prefer-stable": true,
47+
"config": {
48+
"sort-packages": true,
49+
"allow-plugins": {
50+
"dealerdirect/phpcodesniffer-composer-installer": true
51+
}
52+
},
53+
"extra": {
54+
"branch-alias": {
55+
"dev-master": "3.1.x-dev"
56+
}
57+
}
6258
}

0 commit comments

Comments
 (0)