Joas Schilling
1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
f28f7e6354
fix(tests): Clean up unit test code
- static data providers
- typed methods that consume data providers
- type intersection with MockObject
- move away from deprecated methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
fa3c4443c1
fix(tests): Make data providers static for PHPUnit10 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Vitor Mattos
c07251f0c6
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
0985260164
Move PERMISSIONS_MOFIDY_* constants to Attendee class
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
e115e96d7d
Remove moderator option and clear custom permissions when setting the conversation permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
3b4f96031e
Fix permission handling in unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
390ae657a1
Introduce different layers for permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
20d722901f
Allow setting publishing permissions for all users
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago