mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
feat(docker): replace all-in-one image with FrankenPHP and Caddy based image + discard other images
- use serversideup/php as a base image - remove nginx unit base - remove app / webserver images - add bundle stage to remove pipeline dependency - update docker setup docs - edit gitlabci rules and release logic
This commit is contained in:
parent
49a43d08cc
commit
e5fb676cb6
58 changed files with 5830 additions and 5318 deletions
|
|
@ -42,7 +42,7 @@ abstract class AbstractObject
|
|||
}
|
||||
|
||||
// removes all NULL, FALSE and Empty Strings but leaves 0 (zero) values
|
||||
return array_filter($array, static fn ($value): bool => $value !== null && $value !== false && $value !== '');
|
||||
return array_filter($array, static fn ($value): bool => ! in_array($value, [null, false, ''], true));
|
||||
}
|
||||
|
||||
public function toJSON(): string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue