20 Commits

Author SHA1 Message Date
a71573136a adjust phpstan baselines 2024-04-23 21:12:57 +02:00
b1082f6a55 fix phpstan errors level 3 2024-04-23 21:03:42 +02:00
dcc285e976 fix phpstan errors level 2 2024-04-23 20:52:22 +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
ac98ba4555
re-organize phpstan deprecations files, with a baseline of deprecations for symfony 5.4 2023-12-12 17:56:27 +01:00
02afcb30d4
[export][rector] first rector rule to add new method to filters 2023-06-04 01:11:38 +02:00
48772efd54
DX: fix phpstan issues 2023-03-28 22:32:08 +02:00
16dd816a1a
bootstraph ci with php8.2 2023-02-17 21:55:52 +01:00
8ccce12e54
DX: fix phpstan errors 2023-02-07 23:49:56 +01:00
4b2c330d22
DX: update baseline files for phptan 2023-02-06 16:41:18 +01:00
070e153263
DX: create baseline for phpstan up to level 5 and increase level for future devs 2023-02-04 01:54:06 +01:00
856eea37ee
DX: fix phpstan errors 2023-02-04 00:50:58 +01:00
916e3ab02d ignore phpcs cache for phpstan 2022-04-27 14:31:59 +02:00
Pol Dellaiera
d586f848f5
chore: Update PHPStan configuration - add deprecations baseline. 2021-11-23 15:19:01 +01:00
d0bf47e0d5 Bootstrap encoder for documents 2021-11-22 09:05:15 +00:00
Pol Dellaiera
8bebe1f904
fix: SA: Split configurations across multiple files.
SA stands for Static Analysis.
2021-11-16 14:49:42 +01:00
Pol Dellaiera
8ede116cf5
fix: SA: Split critical issues in its own file.
SA stands for Static Analysis.
2021-11-16 14:06:24 +01:00
Pol Dellaiera
48ea67968e
Update PHPStan configuration.
Update paths - add paths to ignore.
2021-11-09 15:16:06 +01:00
Pol Dellaiera
bf155f6967
Update PHPStan configuration.
Update paths - simplify.
2021-11-09 13:48:15 +01:00
Pol Dellaiera
e2ab3bfc6e Add PHPStan project with level 1. 2021-11-09 11:31:20 +00:00