76f1814848
More identation on some method parameters
2023-09-13 10:12:04 +02:00
cd9611a669
Remove unused dependency on DefaultVoter (+ fix when throwing an exception)
2023-09-13 10:12:04 +02:00
d3b68f8f8f
AuthorizationHelper: compare center and scope based on id, not on equality
...
For an unknown reason, in some circumstances, the use of the `===` comparator does not work when comparing Center instances and Scope instances. Then, we compare them based on the id.
2023-09-13 10:08:44 +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
9375d50112
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
...
# Conflicts:
# src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
# src/Bundle/ChillAsideActivityBundle/src/Export/Export/ListAsideActivity.php
2023-09-12 15:21:15 +02:00
75bca46b98
cs fixer
2023-09-07 12:16:47 +02:00
7b28bb7561
Improve NotificationMailerTest by adding an assertion
...
This assertion is performed by Prophecy's shouldBeCalled* method.
2023-09-07 11:30:04 +02:00
34ee2b3ba5
Fix new CS
2023-09-06 16:18:28 +02:00
bc5c420f92
Merge branch '137-send-reply-when-adding-notification-comments' into 'master'
...
Resolve: Send reply email to all recipees when add comments in notifications
See merge request Chill-Projet/chill-bundles!585
2023-09-06 14:05:31 +00:00
53cc43f8d3
NotificationMailer: add tests when user does not have any email
2023-09-06 15:59:36 +02:00
40a72d9fca
NotificationMailer: send to correct destinees
2023-09-06 15:59:35 +02:00
f3fbd5314a
Add test to NotificationMailer::postPersistComment
2023-09-06 15:47:45 +02:00
608663d25c
Fix path to comply with psr-4
2023-09-03 14:55:15 +02:00
40b7c8ad8f
fix rector and cs
2023-09-01 17:50:07 +02:00
0db1e3e0d7
Exclude db intensive test to spare db connection
2023-09-01 17:17:17 +02:00
a2a660c954
Try to avoid open db connections
2023-09-01 17:07:10 +02:00
2c52a5bffa
Fix tests
2023-09-01 16:10:04 +02:00
10a75f44e9
Ensure kernel shutdown after abstract export tests
2023-09-01 16:09:54 +02:00
37c1dfb0ba
fix tests implementing AbstractAggregatorTest
2023-09-01 15:07:37 +02:00
a197a6b418
fix tests implementing AbstractFilterTest
2023-09-01 14:21:03 +02:00
355ed03500
Fix kernel booting problem on Aggregator and Filter tests
2023-09-01 11:08:15 +02:00
d8062be131
mark test as legacy
2023-09-01 11:08:13 +02:00
e72df84442
DX: rector corrections
2023-09-01 11:08:13 +02:00
d44f5d7af8
mark test as legacy
2023-09-01 10:53:53 +02:00
6f11dffcbd
Remove deprecation linked to kernel shutdown
2023-08-31 18:36:37 +02:00
7c58880139
Remove usage of deprecated Role class
2023-08-31 17:08:18 +02:00
76142c1264
Refactor twig template to avoid unclosed a element
2023-08-31 17:07:27 +02:00
650e3a84c8
Refactor rendering fragment: using controller path
2023-08-31 16:57:55 +02:00
b85cd1b994
DX: apply rector rules for phpunit up to 90
2023-08-31 11:08:42 +02:00
e4e52234ad
Rector: apply rules for doctrine code quality
2023-08-31 10:35:52 +02:00
1c0fd57913
Apply rector rules + fix CS
2023-08-30 14:55:26 +02:00
667104a595
Fix test on CalendarType: use the real IdToEntityDataTransformer, mocking the repository
2023-08-28 16:09:21 +02:00
1e353ed74b
Fix loading of random address reference in AddressToReferenceMatcherControllerTest.php
2023-08-25 18:26:32 +02:00
dcae15e8d8
Fixed: [notificationMailer] invert 'if continue' condition inside foreach loop
2023-08-24 15:20:53 +02:00
01e9a15bd7
FIX [sort][center] sort list of centers in admin alphabetically
2023-08-21 10:09:34 +02:00
43ac6726aa
Fix selector button
2023-08-02 23:25:19 +02:00
0e0b0b8874
DX: fix cs
2023-08-02 23:25:19 +02:00
f68a163a30
Ensure loading of postal code does not fails
2023-08-02 23:05:33 +02:00
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
cd7b91dd98
Avoid implicit creation of array
2023-08-01 18:35:36 +02:00
984c35f8bc
Fix loading countries
2023-07-30 22:15:39 +02:00
34c46f23e3
remove dead code
2023-07-28 13:10:58 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +02:00
55b8502896
fix typing on Doctrine FunctionNode Age
2023-07-28 02:52:55 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
c20f65eebb
apply rector rules: symfony **UP TO** 44
2023-07-28 01:52:53 +02:00
b6a094aeee
force readonly properties on dummy class used in test
2023-07-28 01:33:00 +02:00
0e94e769cb
Remove reference to deprecated Role class in tests
2023-07-28 01:16:53 +02:00
dd21694544
Fix RefreshAddressToGeographicalUnitMaterializedViewCronJobTest: use ClockInterface to handle properly now and use more random tests
2023-07-27 23:52:38 +02:00
5f6e506300
Fix: AuthorizationHelperTest: remove deprecated and deprecation of PrepareScopeTrait
2023-07-27 23:51:57 +02:00