b4fa478177
Add UserGroup to chill (import from branch ticket-app-master)
...
Import the UserGrou feature from ticket-app-master branch. This includes:
- import all the entities and migrations, modification of typescript types, templating, and so on;
- apply some verification and formatting rules, like:
- reformat file on chill.api.specs.yaml (MainBundle)
- reformat file on types.ts (Main Bundle)
Migrations kept the same filename.
2024-09-26 11:17:50 +02:00
5be85a4fc6
Refactored code to use PHP8 attributes instead of annotations
...
In this change, Doctrine and validation annotations have been replaced with PHP8 Attributes. The Rector tool has been configured with a list of annotations to convert to attributes. As a consequence, the PHPStan's rules have been updated to reflect these changes. The PHP8's nullable operator (?) has been added where required, and comments in field declaration have been replaced with #[Attribute] syntax.
2024-04-08 12:11:29 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
f78f5e8419
Fix cs with php-cs-fixer version 3.52
2024-03-19 20:49:39 +01:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
6d63177ff4
apply rules rector up to php82
2023-05-01 21:39:45 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
70871176fc
DX: fix cs
2023-02-06 17:47:54 +01:00
1b5d5a28fd
DX: [main] Validation phone number: add some parameters for debugging
2022-10-19 14:16:20 +02:00
49731777b4
fix cs: declare type and license header mismatch
2022-10-06 20:51:44 +02:00
63137c67f4
fix cs
2022-10-05 16:55:13 +02:00
86bf0115dd
fix condition when empty phonenumber
2022-03-03 13:05:01 +01:00
Pol Dellaiera
e1b3719746
Tests
2022-02-28 15:00:56 +01:00
Pol Dellaiera
d780d95157
work in progress
2022-02-28 15:00:55 +01:00
Pol Dellaiera
4822acb6fb
fix: Use odolbeau/phone-number-bundle
for formatting phone number type fields.
...
There is no need to use the bundle, we could have used the library instead. However, this idea is to switch to that bundle at some point.
2022-02-28 15:00:55 +01:00
5ff47050ff
replace deprecated TranslatorInterface by new one
2022-02-17 17:20:47 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
3631fd99fd
cs: Enable risky rule is_null
.
2021-11-30 10:22:38 +01:00
Pol Dellaiera
3ea35682eb
cs: Second part - ignore test/app
subdirectory.
2021-11-23 14:34:34 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
eaa0ad925f
fix folder name
2021-03-18 13:37:13 +01:00