Skip to content

Commit a60d38d

Browse files
Initial commit
0 parents  commit a60d38d

Some content is hidden

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

71 files changed

+8558
-0
lines changed

.github/workflows/ci.yaml

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
testsuite:
7+
name: Unittests
8+
runs-on: ubuntu-20.04
9+
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
php-version: ['8.2', '8.3', '8.4']
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 1
19+
20+
- name: Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: ${{ matrix.php-version }}
24+
extensions: json, fileinfo
25+
tools: pecl
26+
coverage: pcov
27+
28+
- name: Composer install
29+
run: |
30+
if [[ ${{ matrix.prefer-lowest == 'prefer-lowest' }} ]]; then
31+
composer update --prefer-lowest --prefer-stable
32+
else
33+
composer install
34+
fi
35+
36+
- name: Run PHPUnit
37+
run: |
38+
if [[ ${{ matrix.php-version }} == '8.2' ]]; then
39+
bin/phpunit --coverage-clover=coverage.xml
40+
else
41+
bin/phpunit
42+
fi
43+
- name: Code Coverage Report
44+
if: success() && matrix.php-version == '8.2'
45+
uses: codecov/codecov-action@v4
46+
47+
code-analysis:
48+
name: Coding Standard & Static Analysis
49+
runs-on: ubuntu-20.04
50+
51+
steps:
52+
- uses: actions/checkout@v4
53+
with:
54+
fetch-depth: 1
55+
56+
- name: Setup PHP
57+
uses: shivammathur/setup-php@v2
58+
with:
59+
php-version: ${{ matrix.php-version }}
60+
extensions: json, fileinfo
61+
coverage: pcov
62+
tools: pecl
63+
64+
- name: Composer install
65+
run: composer install
66+
67+
- name: Run phpcs
68+
run: composer cscheck
69+
70+
- name: Run phpstan
71+
run: composer analyze
72+
73+
- name: Run phpmd
74+
run: composer phpmd

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/vendor/
2+
/tmp/
3+
/var/
4+
.phpunit.cache

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/PMDPlugin.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/aws.xml

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deployment.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/easycode.ignore

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

+114
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/phpunit.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/problem-details-symfony-bundle.iml

+85
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)