Skip to content

Commit

Permalink
Refactoring to an event based system (#12)
Browse files Browse the repository at this point in the history
* Refactoring to an event based system
* Adding phpmd to the CI process
  • Loading branch information
floriankraemer authored Oct 3, 2024
1 parent b543b54 commit 35fb967
Show file tree
Hide file tree
Showing 21 changed files with 730 additions and 224 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ jobs:

- name: Run phpstan
run: bin/phpstan -V && bin/phpstan --error-format=github

- name: Run phpmd
run: bin/phpmd --version && composer phpmd
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"symfony/console": "^7.1",
"symfony/config": "^7.1",
"symfony/yaml": "^7.1",
"symfony/dependency-injection": "^7.1"
"symfony/dependency-injection": "^7.1",
"symfony/messenger": "^7.1"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -69,14 +70,15 @@
"phpstan analyse src/"
],
"phpmd": [
"bin/phpmd ./src text cleancode,codesize,controversial,design"
"bin/phpmd ./src/ text phpmd.xml"
],
"benchmark": [
"bin/phpbench run tests/Benchmark/ --report=aggregate"
],
"all": [
"@cscheck",
"@analyze",
"@phpmd",
"@test"
],
"build-phar": [
Expand Down
Loading

0 comments on commit 35fb967

Please sign in to comment.