Skip to content

Commit 1bbbaeb

Browse files
authored
Merge pull request #105 from Setono/upgrade
Upgrade test application, old dependencies and make the code base ready for further improvement
2 parents 778b5be + 0fac0d4 commit 1bbbaeb

File tree

91 files changed

+1040
-1206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1040
-1206
lines changed

.editorconfig

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,25 @@
11
root = true
22

33
[*]
4-
# Change these settings to your own preference
54
indent_style = space
65
indent_size = 4
76

8-
# We recommend you to keep these unchanged
97
end_of_line = lf
108
charset = utf-8
119
trim_trailing_whitespace = true
1210
insert_final_newline = true
1311

1412
[*.feature]
15-
indent_style = space
16-
indent_size = 2
17-
18-
[*.js]
19-
indent_style = space
20-
indent_size = 2
21-
22-
[*.json]
23-
indent_style = space
2413
indent_size = 2
2514

2615
[*.md]
27-
indent_style = space
28-
indent_size = 4
2916
trim_trailing_whitespace = false
3017

31-
[*.neon]
32-
indent_style = tab
33-
indent_size = 4
34-
35-
[*.php]
36-
indent_style = space
37-
indent_size = 4
38-
3918
[*.sh]
4019
indent_style = tab
41-
indent_size = 4
4220

4321
[*.{yaml,yml}]
44-
indent_style = space
45-
indent_size = 4
4622
trim_trailing_whitespace = false
4723

48-
[.babelrc]
49-
indent_style = space
50-
indent_size = 2
51-
52-
[.gitmodules]
53-
indent_style = tab
54-
indent_size = 4
55-
56-
[.php_cs{,.dist}]
57-
indent_style = space
58-
indent_size = 4
59-
60-
[composer.json]
61-
indent_style = space
62-
indent_size = 4
63-
64-
[docker-compose{,.override}.{yaml,yml}]
65-
indent_style = space
24+
[{webpack.config.js,.eslintrc.js}]
6625
indent_size = 2
67-
68-
[Dockerfile]
69-
indent_style = tab
70-
indent_size = 4
71-
72-
[package.json]
73-
indent_style = space
74-
indent_size = 2
75-
76-
[phpspec.yml{,.dist}]
77-
indent_style = space
78-
indent_size = 4
79-
80-
[phpstan.neon]
81-
indent_style = tab
82-
indent_size = 4
83-
84-
[phpunit.xml{,.dist}]
85-
indent_style = space
86-
indent_size = 4

.gitattributes

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
/etc export-ignore
2-
/features export-ignore
3-
/spec export-ignore
4-
/tests export-ignore
5-
/.editorconfig export-ignore
6-
/.gitattributes export-ignore
7-
/.gitignore export-ignore
8-
/.scrutinizer.yml export-ignore
9-
/.travis.yml export-ignore
10-
/behat.yml.dist export-ignore
11-
/easy-coding-standard.yml export-ignore
12-
/phpspec.yml.dist export-ignore
13-
/phpstan.neon export-ignore
14-
/phpunit.xml.dist export-ignore
15-
/README.md export-ignore
1+
/.editorconfig export-ignore
2+
/.gitattributes export-ignore
3+
/.github export-ignore
4+
/.gitignore export-ignore
5+
/CHANGELOG.md export-ignore
6+
/README.md export-ignore
7+
/UPGRADE.md export-ignore
8+
/behat.yml.dist export-ignore
9+
/composer-dependency-analyser.php export-ignore
10+
/docs export-ignore
11+
/docs export-ignore
12+
/ecs.php export-ignore
13+
/etc export-ignore
14+
/infection.json.dist export-ignore
15+
/node_modules export-ignore
16+
/phpunit.xml.dist export-ignore
17+
/psalm-baseline.xml export-ignore
18+
/psalm.xml export-ignore
19+
/rector.php export-ignore
20+
/tests export-ignore
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# See https://github.com/Roave/BackwardCompatibilityCheck
2+
3+
name: "Backwards Compatibility Check"
4+
5+
on:
6+
pull_request: ~
7+
8+
jobs:
9+
backwards-compatibility-check:
10+
name: "Backwards Compatibility Check"
11+
12+
runs-on: "ubuntu-latest"
13+
14+
steps:
15+
- name: "Checkout"
16+
uses: "actions/checkout@v4"
17+
with:
18+
fetch-depth: 0
19+
20+
- name: "Setup PHP, with composer and extensions"
21+
uses: "shivammathur/setup-php@v2"
22+
with:
23+
php-version: "8.1"
24+
coverage: "none"
25+
26+
- name: "Install tool"
27+
run: "composer global require roave/backward-compatibility-check"
28+
29+
- name: "Check for BC breaks"
30+
run: "~/.composer/vendor/bin/roave-backward-compatibility-check --from=origin/${{ github.event.pull_request.base.ref }} --format=github-actions"

0 commit comments

Comments
 (0)