Thomas Rupprecht
e844c98871
Convert class const's to enum's ( #1050 )
...
* convert `Migrate::(UP|DOWN)` class const to `MigrateDirection` enum
* convert `Handler::(ENV_PRODUCTION|ENV_DEVELOPMENT)` class const to `Environment` enum
* convert `ShiftSignupState::(FREE|...|NOT_ARRIVED)` class const to `ShiftSignupStatus::(FREE|...|NOT_ARRIVED)` enum
2023-01-24 19:23:57 +01:00
Michael Weimann
59cfce0c76
Enable space after cast sniff and remove .git-blame-ignore-revs
2022-12-25 11:59:45 +01:00
Michael Weimann
2ad4203dd3
Add useless comment phpcs sniff
2022-12-20 22:19:49 +01:00
Michael Weimann
61139e03c3
Use constructor property promotion
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-20 22:18:34 +01:00
Michael Weimann
b004f865b4
Set native property types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:50 +01:00
Michael Weimann
aff8826c99
Set native return types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Michael Weimann
2b88322c0c
Set native parameter types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:30 +01:00
Igor Scheller
4995aa2a0b
migration: Prevent parallel migration runs
2020-06-28 19:31:17 +02:00
Igor Scheller
68afc74b03
Formatting to follow PSR-12
2019-11-11 00:05:41 +01:00
Igor Scheller
64e4d168e0
migration: Order by migrated and append not migrated
2019-07-21 20:54:17 +02:00
Igor Scheller
79c92da8c1
Formatting
...
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
2019-04-25 18:17:19 +02:00
Igor Scheller
d985d493a3
Migrations: Added namespace
2018-10-24 19:15:07 +02:00
Igor Scheller
0b0890f425
Session: Added DatabaseHandler, replaces Symfony PdoSessionHandler
2018-09-25 14:02:55 +02:00
Igor Scheller
edeab5e75f
Added Database class as a replacement for Db, fixed naming
2018-09-16 14:53:33 +02:00
Igor Scheller
235266ec53
Added basic database migration functionality
2018-01-16 21:47:21 +01:00