1
0
mirror of https://github.com/themsaid/ibis.git synced 2025-01-16 21:18:35 +01:00

Upgrading packages

This commit is contained in:
Roberto Butti 2022-11-27 19:00:24 +01:00
parent 488647345a
commit f6b3ca3752
4 changed files with 597 additions and 1482 deletions

49
.php_cs
View File

@ -1,49 +0,0 @@
<?php
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_unsets' => true,
'method_separation' => true,
'no_multiline_whitespace_before_semicolons' => true,
'single_quote' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
],
'blank_line_after_opening_tag' => true,
'braces' => [
'allow_single_line_closure' => true,
],
'concat_space' => ['spacing' => 'none'],
'declare_equal_normalize' => true,
'function_typehint_space' => true,
'hash_to_slash_comment' => true,
'include' => true,
'lowercase_cast' => true,
'no_extra_consecutive_blank_lines' => [
'curly_brace_block',
'extra',
'parenthesis_brace_block',
'square_brace_block',
'throw',
'use',
],
'ordered_imports' => [
'sort_algorithm' => 'length'
],
'no_multiline_whitespace_around_double_arrow' => true,
'no_spaces_around_offset' => true,
'no_unused_imports' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'object_operator_without_whitespace' => true,
'single_blank_line_before_namespace' => true,
'ternary_operator_spaces' => true,
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'whitespace_after_comma_in_array' => true,
'not_operator_with_successor_space' => true,
])
->setLineEnding("\n");

View File

@ -20,14 +20,14 @@
],
"require": {
"illuminate/filesystem": "^7.0|^8.0",
"illuminate/support": "^7.0|^8.0",
"symfony/console": "^4.2|^5.0",
"illuminate/support": "^7.0|^8.0|^9.0",
"symfony/console": "^4.2|^5.0|^6.0",
"mpdf/mpdf": "^8.1",
"spatie/commonmark-highlighter": "^2.1"
"spatie/commonmark-highlighter": "^2.1|^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"symfony/var-dumper": "^5.0"
"laravel/pint": "^1.2",
"symfony/var-dumper": "^5.0|^6.0"
},
"autoload": {
"psr-4": {
@ -40,15 +40,15 @@
},
"scripts": {
"csfix": [
"php-cs-fixer fix src stubs --config=.php_cs"
"pint"
],
"csfix-review": [
"php-cs-fixer fix src stubs --config=.php_cs --dry-run -v"
"pint --test"
]
},
"scripts-descriptions": {
"csfix": "Runs PHP CS Fixer to fix project files.",
"csfix-review": "Runs PHP CS Fixer to show the details of which files are out of code standard."
"csfix": "Runs Pint to fix project files.",
"csfix-review": "Runs Pint to show the details of which files are out of code standard."
},
"minimum-stability": "dev",
"prefer-stable": true

2009
composer.lock generated

File diff suppressed because it is too large Load Diff

3
pint.json Normal file
View File

@ -0,0 +1,3 @@
{
"preset": "psr12"
}