Skip to content

Commit 54b3fb3

Browse files
committed
add phpstan, csfixer
1 parent 1d166d9 commit 54b3fb3

File tree

987 files changed

+147834
-93
lines changed

Some content is hidden

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

987 files changed

+147834
-93
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,6 @@ fabric.properties
123123
.idea/**/azureSettings.xml
124124

125125
.idea
126-
# End of https://www.toptal.com/developers/gitignore/api/phpstorm,composer
126+
# End of https://www.toptal.com/developers/gitignore/api/phpstorm,composer
127+
128+
.php-cs-fixer.cache

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
export UID := $(shell id -u)
22
export GID := $(shell id -g)
33

4+
project-init:
5+
echo "Creating hooks"
6+
rm -f .git/hooks/pre-commit
7+
ln -s ../../hooks/pre-commit .git/hooks/pre-commit
8+
49
build:
510
docker compose build
611
up:

composer.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"type": "library",
55
"require": {
66
"guzzlehttp/guzzle": "^7.0",
7-
"phrity/websocket": "^2.0"
7+
"phrity/websocket": "^2.0",
8+
"symfony/serializer": "^7.0",
9+
"symfony/property-access": "^7.0",
10+
"phpdocumentor/reflection-docblock": "^5.3"
811
},
912
"autoload": {
1013
"psr-4": {
@@ -20,6 +23,7 @@
2023
}
2124
],
2225
"require-dev": {
23-
"phpunit/phpunit": "^10"
26+
"phpunit/phpunit": "^10",
27+
"phpstan/phpstan": "^1.10"
2428
}
2529
}

0 commit comments

Comments
 (0)