Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# root of project EditorConfig file
root = true

# All Files
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = tab
tab_width = 4
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Use LF line endings only for all text (non-binary) files
* text=auto eol=lf
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/node_modules/
/vendor/
composer.lock
package-lock.json
/.phpunit.cache/
/.phpunit.result.cache
15 changes: 15 additions & 0 deletions .prettierrc.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"printWidth": 120,
"trailingComma": "all",
"plugins": ["@prettier/plugin-php", "prettier-plugin-organize-imports"],
"organizeImportsSkipDestructiveCodeActions": false,
"overrides": [
{
"files": "**/*.php",
"options": {
"phpVersion": "8.3",
"singleQuote": true,
},
},
],
}
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
}
],
"require": {
"php": "^7.2 || ^8.0",
"clue/socket-raw": "^1.2",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/process": "^3.3 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
"php": "^8.2",
"clue/socket-raw": "^1.6",
"psr/log": "^2.0 || ^3.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"monolog/monolog": "^1.0 || ^2.0 || ^3.0",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10"
"monolog/monolog": "^2.4 || ^3.0",
"phpunit/phpunit": "^10 || ^11"
},
"suggest": {
"ext-weakref": "Required to run all the tests"
Expand Down
Loading