d0811c8118
change FilterInterface::describeAction signature to remove the $format parameter
2025-04-24 21:49:26 +02:00
176bff0551
change FilterInterface::describeAction signature to include context
2025-04-24 21:48:00 +02:00
bb42ee25ff
Update initiateQuery method to include ExportGenerationContext
...
The `initiateQuery` method now consistently incorporates the `ExportGenerationContext` parameter across various export classes, improving functionality and standardization. This change ensures compatibility and alignment with the expected method signature.
2025-04-07 11:29:04 +02:00
0609e3f4c3
fixup! Add Rector Rule to inject normalization methods into export classes
2025-03-12 21:50:33 +01:00
da0d7a3b9e
fixup! Add Rector Rule to inject normalization methods into export classes
2025-03-11 22:17:42 +01:00
fcc61aa4c0
fixup! Add Rector Rule to inject normalization methods into export classes
2025-03-11 16:21:16 +01:00
21ec96b75c
fixup! Add Rector Rule to inject normalization methods into export classes
2025-03-11 15:31:30 +01:00
93f934152f
!fixup fix rector rule
2025-03-11 15:28:28 +01:00
49f4cce72a
fixup! Rename getVersion
to getNormalizationVersion
.
2025-03-11 15:09:26 +01:00
e69b679938
Add Rector Rule to inject normalization methods into export classes
...
This update introduces a Rector rule to automatically add `normalizeFormData`, `denormalizeFormData`, and `getNormalizationVersion` methods to export-related classes implementing specific interfaces. It ensures consistency and reduces manual work by leveraging traits and default implementations for normalizing form data. Test fixtures and configurations are included to validate and support this functionality.
2025-03-11 15:08:48 +01:00
84f515d451
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-05-28 14:16:01 +02:00
56d173046d
fix phpstan, cs, and rector rules
2024-05-28 12:54:56 +02:00
146e0090fb
Webdav: fully implements the controller and response
...
The controller is tested from real request scraped from apache mod_dav implementation. The requests were scraped using a wireshark-like tool. Those requests have been adapted to suit to our xml.
2024-05-23 17:00:42 +02:00
d135b2ba0a
Refactor rector rules to simplify code and fix rule definition
2024-02-18 23:14:33 +01:00
07f03ab715
Make data providers static on AbstractExportTest.php and Write a rector rule to adapt existing
2024-02-16 21:49:27 +01:00
11f6b78b26
Make static some methods in AbstractAggregatorTest.php + rector rule to adapt existing
2024-02-16 19:16:07 +01:00
fa0204adbc
Refactor test methods in AbstractFilterTest to be static + rector rules for updating existing
...
All test methods in AbstractFilterTest class have been refactored to be static.
A rector rule has been created to refactor existing test.
2024-02-14 22:30:16 +01:00
edcf78d6cc
Update PHPUnit configuration and reorganize test files for rector rules
2024-02-14 22:28:39 +01:00
2ddfd56401
fix phpstan and rector errors, fix path for rector rules
2024-02-13 19:12:14 +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
608663d25c
Fix path to comply with psr-4
2023-09-03 14:55:15 +02:00
9073f118db
[rector] add form default data rule: handle case when there are method call on builder without add
2023-06-18 21:37:52 +02:00
c52ba06ea0
adapt rector rules for chained builder->add
2023-06-16 15:26:49 +02:00
3fb97c3945
DX: comment the examples in rule definition
...
As this is genearte error in both phpunits and php-cs-fixer
2023-06-16 14:07:49 +02:00
aa6479fbf9
doc for rector rule [ci-skip]
2023-06-06 11:14:14 +02:00
88d363fc0c
apply rector rules on list interfaces
2023-06-05 18:05:23 +02:00
1e8fec5cbd
move rector rules to a shareable namespace
2023-06-05 18:02:41 +02:00
d5ee158caa
[export][rector] rector rules to add get form default data on export, aggregator, direct export
2023-06-05 16:41:55 +02:00
02afcb30d4
[export][rector] first rector rule to add new method to filters
2023-06-04 01:11:38 +02:00