Côme Chilliet
73447618e7
chore: Run rector on lib/private/Template folder and cleanup more typing
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-29 12:23:37 +07:00
provokateurin
504eae65bd
refactor: Apply rector Nextcloud 27 set
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-28 11:45:52 +07:00
provokateurin
d59338b377
refactor: Apply rector Nextcloud 26 set
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-28 11:45:52 +07:00
Robin Appelman
1620a0c051
chore: add rector DataProviderAnnotationToAttributeRector
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-01 22:45:06 +07:00
Robin Appelman
259f1fe9bd
chore: add phpunit StaticDataProviderClassMethodRector rector rule
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-01 22:45:01 +07:00
Robin Appelman
3cc34ac29d
chore: add UseSpecificWillMethodRector to rector configuration
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 18:33:43 +07:00
Robin Appelman
de74745ab6
chore: add tests to rector configuration
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 18:31:40 +07:00
Côme Chilliet
998062d342
fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated getters
...
Ideally circles and talk should migrate to calling registerProvider and
core would not need to use their OCA classes like currently.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:48:03 +07:00
provokateurin
3b42c92d69
refactor: Extend rector to ocs/ and ocs-provider/
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 10:30:03 +07:00
provokateurin
6d6d83d3d9
refactor: Extend rector to all top-level files
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 10:30:02 +07:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 00:16:54 +07:00
Côme Chilliet
20c6d1a7e9
feat: Improve init a bit, and add more profiling steps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 16:08:49 +07:00
Côme Chilliet
007335dadf
chore(rector): Enable Nextcloud 25 set for the apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:39 +07:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +07:00
Côme Chilliet
4ff9b3e0ce
feat(rector): Skip classes with a name too common from auto use statement
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:21 +07:00
Côme Chilliet
28153443a5
chore(rector): Add rule to import Nextcloud classes in all files
...
We skip all files outside of OC/OCA/OCP from "use" auto-import because
it’s not always desirable to import classes when they have generic
names, so it should be the developer choice.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:05 +07:00
Côme Chilliet
98efa3bda8
chore(rector): Move rector.php into the build folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 11:58:27 +07:00