Skip to content

Commit 5e47f62

Browse files
committed
2fa validation added
1 parent 401b2a6 commit 5e47f62

File tree

5 files changed

+2774
-1936
lines changed

5 files changed

+2774
-1936
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
'@PHPUnit75Migration:risky' => true,
2525
'@Symfony' => true,
2626
'@PhpCsFixer' => true,
27-
//'@PhpCsFixer:risky' => true,
27+
// '@PhpCsFixer:risky' => true,
2828
'array_syntax' => ['syntax' => 'short'],
2929
'ordered_imports' => ['sort_algorithm' => 'alpha'],
3030
'no_unused_imports' => true,
@@ -34,18 +34,12 @@
3434
'phpdoc_scalar' => true,
3535
'unary_operator_spaces' => true,
3636
'concat_space' => ['spacing' => 'one'],
37-
//'binary_operator_spaces' => ['operators' => ['=>' => 'align', '=' => 'align']],
3837
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
3938
'blank_line_before_statement' => [
4039
'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],
4140
],
4241
'phpdoc_single_line_var_spacing' => true,
4342
'phpdoc_var_without_name' => true,
44-
'class_attributes_separation' => [
45-
'elements' => [
46-
'method', 'property', 'const',
47-
],
48-
],
4943
'method_argument_space' => [
5044
'on_multiline' => 'ensure_fully_multiline',
5145
'keep_multiple_spaces_after_comma' => true,

.php_cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"license": "MIT",
1111
"require": {
12-
"php": ">=7.4|^8.0",
12+
"php": "^8.0|^8.1",
1313
"bacon/bacon-qr-code": "^2.0",
1414
"bepsvpt/secure-headers": "^7.0",
1515
"geocoder-php/chain-provider": "^4.0",
@@ -19,12 +19,12 @@
1919
"pragmarx/google2fa": "^8.0",
2020
"pragmarx/google2fa-laravel": "^1.3",
2121
"pragmarx/recovery": "^0.2",
22-
"diviky/bright": "^1.0|^2.0",
22+
"diviky/bright": "^2.0",
2323
"toin0u/geocoder-laravel": "^4.4",
24-
"symfony/yaml":"^5.3"
24+
"symfony/yaml": "^5.3"
2525
},
2626
"require-dev": {
27-
"diviky/code-analysis": "dev-master"
27+
"diviky/code-analysis": "^1.1"
2828
},
2929
"autoload": {
3030
"psr-4": {
@@ -47,7 +47,11 @@
4747
}
4848
},
4949
"config": {
50-
"sort-packages": true
50+
"sort-packages": true,
51+
"allow-plugins": {
52+
"composer/package-versions-deprecated": true,
53+
"phpro/grumphp": true
54+
}
5155
},
5256
"prefer-stable": true,
5357
"minimum-stability": "dev"

0 commit comments

Comments
 (0)