Commit graph

4 commits

Author SHA1 Message Date
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +02: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 +02: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 +02: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 +02:00
Renamed from rector.php (Browse further)