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
aff8826c99
Set native return types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Igor Scheller
4995aa2a0b
migration: Prevent parallel migration runs
2020-06-28 19:31:17 +02:00
Igor Scheller
93ae2442f6
Formatting, syntax, typehint and namespace fixes, cleanups
2020-04-25 16:54:30 +02:00
Igor Scheller
867d720f15
Tests: Replaced setMethods as it is deprecated
2019-11-06 12:29:58 +01:00
Igor Scheller
64e4d168e0
migration: Order by migrated and append not migrated
2019-07-21 20:54:17 +02:00
Igor Scheller
8da8805f5d
Replaced functions with mb_* equivalents
2019-04-25 18:17:19 +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
9930668837
Fixed test coverage
2019-04-25 17:56:06 +02:00
Igor Scheller
c74fa7955d
phpunit: Upgrade to version 8, fixed tests, formatting
...
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
2019-04-25 17:56:06 +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