Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
doganoo committed Sep 21, 2022
1 parent ab88d3c commit 5da6da6
Show file tree
Hide file tree
Showing 22 changed files with 1,078 additions and 316 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
root = true

[*]
ij_php_block_brace_style = end_of_line
ij_php_class_brace_style = end_of_line
ij_php_for_brace_force = always
ij_php_method_brace_style = end_of_line
ij_php_space_after_type_cast = true
ij_php_space_after_colon_in_return_type = true
ij_php_blank_lines_after_imports = 1
ij_php_blank_lines_before_imports = 1
ij_php_align_class_constants = true
ij_php_align_assignments = true
ij_php_align_inline_comments = true
ij_php_align_key_value_pairs = true
ij_php_align_group_field_declarations = true
ij_php_align_multiline_array_initializer_expression = true
ij_php_align_multiline_for = true
ij_php_align_phpdoc_comments = true
ij_php_align_phpdoc_param_names = true
ij_php_import_sorting = alphabetic
ij_php_blank_lines_after_class_header = 1
ij_php_blank_lines_before_class_end = 1
ij_php_else_if_style = as_is
ij_php_else_on_new_line = false
ij_php_special_else_if_treatment = true
ij_php_if_brace_force = if_multiline
21 changes: 18 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,25 @@
"require": {
"doganoo/php-algorithms": "^1.0",
"doganoo/php-util": "~0.3.0",
"ext-json": "*",
"phpstan/phpstan": "^0.12.30"
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "6.5"
"phpunit/phpunit": "6.5",
"ergebnis/composer-normalize": "^2.28",
"phpstan/phpstan": "^1.8",
"squizlabs/php_codesniffer": "^3.7",
"phpcompatibility/php-compatibility": "^9.3"
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
}
},
"scripts": {
"add-php-compatibility": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"php-compatibility": "./vendor/bin/phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 7.4-8.1 --extensions=php --ignore=vendor/",
"phpstan": "./vendor/bin/phpstan analyse -c config/phpstan/phpstan.neon src/ test/ --level 9 --memory-limit=2G",
"phpstan-baseline": "./vendor/bin/phpstan analyse -c config/phpstan/phpstan.neon src/ test/ --level 9 --memory-limit=2G --generate-baseline config/phpstan/baseline.neon",
"test": "./vendor/bin/phpunit --configuration phpunit.xml --verbose"
}
}

0 comments on commit 5da6da6

Please sign in to comment.