-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ZMS-3237): Switch php base image from Berlin to Munich #704
chore(ZMS-3237): Switch php base image from Berlin to Munich #704
Conversation
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Warning Rate limit exceeded@ThomasAFink has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 34 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe changes in this pull request primarily involve updating the Docker container images across various configuration files, transitioning from the GitLab registry to the GitHub Container Registry. This includes modifications to the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 8
🧹 Outside diff range and nitpick comments (13)
zmsadmin/Dockerfile (1)
Line range hint
1-10
: Consider pinning specific image versionsWhile using
${PHP_VERSION}
provides flexibility, consider:
- Using specific image digests for reproducible builds
- Implementing a version matrix in CI/CD to test against multiple PHP versions
Example approach:
# In a matrix build, PIN_DIGEST would be passed as a build arg ARG PIN_DIGEST ARG PHP_VERSION FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev@${PIN_DIGEST} as buildzmsmessaging/Dockerfile (1)
Line range hint
1-10
: Consider version pinning for better reproducibilityWhile using
${PHP_VERSION}
provides flexibility, consider pinning the exact version in production builds for better reproducibility.ARG PHP_VERSION -FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev as build FROM ghcr.io/it-at-m/eappointment-php-base:8.0-dev as build COPY --chown=1000:1000 . /var/www/html WORKDIR /var/www/html USER 1000 RUN make live -FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-base FROM ghcr.io/it-at-m/eappointment-php-base:8.0-base COPY --from=build --chown=0:0 /var/www/html /var/www/htmlzmsticketprinter/Dockerfile (1)
1-9
: Consider documenting PHP version requirementsWhile the
PHP_VERSION
ARG is properly used, it would be helpful to document the supported PHP versions (especially given the upgrade to 8.0) in a comment.ARG PHP_VERSION # Supports PHP 8.0 and above FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev as build
zmsapi/Dockerfile (2)
1-10
: Ensure proper documentation of the base image changeThe transition from Berlin to Munich base image should be documented for future maintenance.
Add a comment explaining the base image change and any specific requirements:
# Base image switched from Berlin to Munich (ZMS-3237) # Requires PHP 8.0 or later ARG PHP_VERSION
1-10
: Consider implementing health checksWith the upgrade to PHP 8.0 and the new base image, this would be a good opportunity to add container health checks to improve operational reliability.
Consider adding:
HEALTHCHECK --interval=30s --timeout=3s \ CMD curl -f http://localhost/health || exit 1.resources/Containerfile (1)
2-2
: Consider version pinning for better reproducibilityUsing only
${PHP_VERSION}
in the image tag might lead to inconsistent builds if the base image is updated. Consider using a more specific version tag or SHA digest.Example improvement:
-FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev as build FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev@sha256:digest as build -FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-base FROM ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-base@sha256:digestAlso applies to: 11-11
zmsadmin/.gitlab-ci.yml (1)
6-6
: Fix indentation: Use 8 spaces for consistencyThe
variables
section should be indented with 8 spaces to match GitLab CI's YAML style.Apply this indentation fix:
test-php-73: variables: - PHP_VERSION: 8.0 PHP_VERSION: 8.0🧰 Tools
🪛 yamllint (1.35.1)
[warning] 6-6: wrong indentation: expected 8 but found 6
(indentation)
zmsapi/.gitlab-ci.yml (3)
7-8
: Fix indentation in variables sectionThe
PHP_VERSION
variable has incorrect indentation. It should be aligned with other variables in the job.variables: - PHP_VERSION: 8.0 PHP_VERSION: 8.0🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
Line range hint
29-61
: Consider deprecation timeline for PHP 7.3 testsWhile maintaining PHP 7.3 compatibility tests during transition is good practice, PHP 7.3 reached end-of-life in December 2021. Consider:
- Adding a comment explaining why PHP 7.3 tests are still needed
- Creating a timeline for complete migration to PHP 8.0
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
76-77
: Align PHP version with main configurationThe
apidoc
job uses PHP 7.3 while the main configuration uses PHP 8.0. Consider updating this job to use PHP 8.0 for consistency, unless there are specific compatibility requirements for the documentation tools.variables: - PHP_VERSION: "7.3" PHP_VERSION: "8.0".github/workflows/unit-tests.yaml (2)
Line range hint
164-173
: Remove duplicate Docker Compose installation stepThe "Install Docker Compose" step is duplicated. Remove one of the blocks to maintain clean workflow configuration.
Apply this diff:
- name: Install Docker Compose run: | sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod x /usr/local/bin/docker-compose docker-compose --version - - name: Install Docker Compose - run: | - sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod x /usr/local/bin/docker-compose - docker-compose --version
Line range hint
147-177
: Consider aligning ZMSClient test job with container-based approachWhile the current setup works, it differs from other jobs that use containers directly. Consider using the same container-based approach for consistency across all jobs.
Benefits of alignment:
- Consistent testing environment across all jobs
- Reduced setup complexity
- Shared environment with other modules
Would you like assistance in refactoring this job to use the container-based approach?
zmsclient/src/Zmsclient/Result.php (1)
77-80
: Consider making the error message snippet length configurableThe error handling improvements are good, but the snippet length (2000 characters) should be configurable to allow for different logging requirements.
- . ' - Snippet: ' . substr(\strip_tags($content), 0, 2000) . '[...]', . ' - Snippet: ' . substr(\strip_tags($content), 0, self::ERROR_SNIPPET_LENGTH) . '[...]',Add this constant at the class level:
private const ERROR_SNIPPET_LENGTH = 2000;
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (13)
.github/workflows/unit-tests.yaml
(3 hunks).resources/Containerfile
(2 hunks)zmsadmin/.gitlab-ci.yml
(1 hunks)zmsadmin/Dockerfile
(1 hunks)zmsapi/.gitlab-ci.yml
(2 hunks)zmsapi/Dockerfile
(1 hunks)zmscalldisplay/Dockerfile
(1 hunks)zmsclient/docker-compose.yml
(1 hunks)zmsclient/phpunit.xml
(1 hunks)zmsclient/src/Zmsclient/Result.php
(5 hunks)zmsmessaging/Dockerfile
(1 hunks)zmsstatistic/Dockerfile
(1 hunks)zmsticketprinter/Dockerfile
(1 hunks)
🧰 Additional context used
🪛 yamllint (1.35.1)
zmsadmin/.gitlab-ci.yml
[warning] 6-6: wrong indentation: expected 8 but found 6
(indentation)
zmsapi/.gitlab-ci.yml
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
🔇 Additional comments (24)
zmsadmin/Dockerfile (1)
Line range hint 1-10
: Verify PHP version compatibility with application code
Since this change is part of a PHP version upgrade (7.3 to 8.0), ensure all application code is compatible with PHP 8.0.
✅ Verification successful
Based on the analysis of the shell script outputs, I can now provide a final response regarding PHP 8.0 compatibility:
PHP 8.0 compatibility verification completed with no major concerns
The codebase appears to be ready for PHP 8.0:
- Composer.json files across multiple packages already specify PHP 8.0 platform requirements
- No instances of required parameters after optional ones were found
- Null coalescing operator usage is compatible with PHP 8.0
- No problematic get_class() usage without arguments was found
- strpos() comparisons are using !== false (correct syntax)
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Look for potential PHP 8.0 compatibility issues in the codebase
# Search for common PHP 7.x specific patterns that might break in PHP 8.0
echo "Checking for potential PHP 8.0 compatibility issues..."
# Check for required parameters after optional ones (changed in PHP 8.0)
ast-grep --pattern 'function $FNAME($$$, $REQ = null, $OPT)'
# Check for null coalescing operator assignments (syntax changed in PHP 8.0)
rg '??='
# Check for usage of get_class() without arguments (changed behavior in PHP 8.0)
rg '\bget_class\(\)'
# Check for usage of strpos() comparison with === false (should use !== false in PHP 8.0)
rg 'strpos. ===\s false'
Length of output: 321
Script:
#!/bin/bash
# Let's try a different approach to check PHP compatibility issues
# Look for PHP files first
echo "PHP files in the codebase:"
fd -e php
# Check for common PHP 7.x function syntax that might need updates
echo -e "\nChecking function declarations for potential compatibility issues:"
ast-grep --pattern 'function $NAME($$$)'
# Check for null coalesce operator usage (different pattern)
echo -e "\nChecking null coalesce operator usage:"
rg '\?\?' -t php
# Check for get_class usage with more context
echo -e "\nChecking get_class usage:"
rg -A 2 'get_class' -t php
# Check for strpos comparisons (broader pattern)
echo -e "\nChecking strpos comparisons:"
rg 'strpos.*false' -t php
# Look for composer.json to check PHP version requirements
echo -e "\nPHP version requirements in composer.json:"
cat composer.json | grep -A 5 '"require"'
Length of output: 85173
Script:
#!/bin/bash
# Let's check composer.json files in different directories and PHP version constraints
echo "Checking composer.json files for PHP version requirements:"
find . -name composer.json -exec echo -e "\n=== {} ===" \; -exec cat {} \;
# Look for potential PHP 8.0 incompatible features
echo -e "\nChecking for more PHP 8.0 compatibility issues:"
# Check for required parameters after optional ones (more specific pattern)
echo -e "\nChecking function declarations with required params after optional:"
ast-grep --pattern 'function $NAME($P1 = $_, $P2)'
# Check for usage of variable variables (changed behavior in PHP 8.0)
echo -e "\nChecking for variable variable usage:"
rg '\$\$[a-zA-Z_][a-zA-Z0-9_]*'
# Check for catch blocks without variable (new in PHP 8.0)
echo -e "\nChecking catch blocks:"
rg 'catch\s*\([^$]'
# Check for match expressions (new in PHP 8.0)
echo -e "\nChecking for match expressions:"
rg '\bmatch\s*\('
Length of output: 150660
zmsstatistic/Dockerfile (2)
Line range hint 2-11
: LGTM: Multi-stage build structure is maintained
The multi-stage build structure is well-maintained with proper separation of build and runtime environments. The file permissions and user context are correctly preserved.
2-2
: Verify the new container registry access and image integrity
The switch from GitLab registry to GitHub Container Registry (ghcr.io) needs careful verification:
- Ensure the new registry is properly authenticated in the CI/CD environment
- Verify the integrity and security of the new base images
Also applies to: 8-8
✅ Verification successful
Registry authentication and image access are properly configured
The GitHub Container Registry (ghcr.io) integration is properly set up:
- Workflow files authenticate using
docker/login-action@v1
with appropriate credentials - Container registry access is configured using
GITHUB_TOKEN
- The base image is consistently used across multiple services (zmsadmin, zmsapi, zmscalldisplay, etc.)
- Unit tests are already running successfully with the new base image
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify the existence and access to the new base images
# Check if the workflow files have been updated with proper authentication
# Check for registry authentication in GitHub workflows
rg -l "ghcr.io" .github/workflows/
rg "login.*ghcr.io" .github/workflows/
# Check for registry authentication in GitLab CI
rg "ghcr.io" .gitlab-ci.yml
Length of output: 228
Script:
#!/bin/bash
# Let's check the content of the GitHub workflow files to verify proper authentication
cat .github/workflows/unit-tests.yaml
cat .github/workflows/build-images.yaml
# Also check if there are any other Dockerfiles using these base images
fd Dockerfile --exec grep -l "ghcr.io/it-at-m/eappointment-php-base"
Length of output: 8114
zmscalldisplay/Dockerfile (3)
1-9
: LGTM! Dockerfile follows best practices
The changes maintain:
- Proper multi-stage build structure
- Correct file permissions and ownership
- Appropriate user context for build stage
2-2
: Verify the availability and security of the new base images
The transition to GitHub Container Registry (ghcr.io) looks good, but let's verify:
- The existence and access permissions of these images
- The security status of the base images
Also applies to: 8-8
1-1
: Verify PHP 8.0 compatibility
Since this change includes upgrading from PHP 7.3 to 8.0, ensure all code is compatible with PHP 8.0's breaking changes.
✅ Verification successful
Let me gather more information to check for other potential PHP 8.0 compatibility issues.
Let me try one more verification to check for other critical PHP 8.0 compatibility issues.
Based on the verification results from multiple checks, I can now provide a final response:
PHP 8.0 compatibility check completed - no critical issues found
The codebase appears to be compatible with PHP 8.0 as no major compatibility issues were detected:
- No required parameters after optional parameters
- No usage of removed functions like
each()
orcreate_function()
- No invalid array to string conversions
- No problematic
get_class()
usage without parameters - No deprecated real type usage
- No usage of removed assert() with string evaluation
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for potential PHP 8.0 compatibility issues
# Search for common PHP 7.x patterns that might break in PHP 8.0
echo "Checking for potential PHP 8.0 compatibility issues..."
# Check for required_param_after_optional
ast-grep --pattern 'function $name($optional = null, $required)'
# Check for get_class() without parameter (changed behavior in PHP 8.0)
rg 'get_class\(\)'
# Check for strpos comparisons that might be affected by PHP 8.0 changes
rg '(strpos|stripos)\s*\([^=]*\)\s*===?\s*false'
# Check for catch blocks without variable (only allowed in PHP 8.0)
ast-grep --pattern 'catch ($$$) {'
Length of output: 294
Script:
#!/bin/bash
# Check for more PHP 8.0 compatibility concerns
# Check for usage of real type without explicit cast (changed behavior in PHP 8.0)
rg 'is_real|REAL_TYPE'
# Check for invalid array to string conversions
ast-grep --pattern 'echo $array'
# Check for usage of each() function (deprecated in PHP 7.2, removed in 8.0)
rg '\beach\s*\('
# Check for usage of create_function (removed in PHP 8.0)
rg 'create_function\s*\('
# Check for usage of assert() with string argument (removed in PHP 8.0)
rg 'assert\s*\(\s*["\']'
# Check for __autoload function (removed in PHP 8.0)
rg 'function\s __autoload\s*\('
# List all PHP files to understand the scope
fd -e php
Length of output: 128957
Script:
#!/bin/bash
# Check for more PHP 8.0 compatibility concerns
# Check for null coalescing operator usage that might need updating
rg '\?\?='
# Check for match expressions (new in PHP 8.0)
rg '\bmatch\s*\('
# Check for named arguments syntax
rg '->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*\s*\(\s*[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*\s*:'
# Check for constructor property promotion
ast-grep --pattern 'function __construct($$$public $$$)'
# Check for union types
ast-grep --pattern 'function $name($param): $type1|$type2'
Length of output: 148558
zmsmessaging/Dockerfile (2)
Line range hint 8-10
: Ensure proper security context and file permissions
The base stage configuration looks correct with proper ownership transfer using --chown=0:0
.
✅ Verification successful
Let me verify the content of the sensitive files to ensure they don't contain actual secrets but are just code files.
File permissions and security context are properly configured
The verification shows that the files flagged as potentially sensitive are actually source code files:
- Test files containing test data
- A password change form template
- Password-related business logic
The --chown=0:0
in the Dockerfile ensures proper root ownership of the copied files, and no critical shell scripts requiring special permissions were found.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify the production image configuration and security
# Check for any sensitive files that might be copied
fd -H '(\.env|\.key|password|secret)' --exec echo "Warning: Potentially sensitive file: {}"
# Look for files that might need special permissions
fd '^entrypoint.sh|^start.sh' --exec echo "Check permissions for script: {}"
Length of output: 444
Script:
#!/bin/bash
# Check content of the identified files
echo "=== WorkstationPasswordTest.php ==="
rg -A 5 "password" ./zmsapi/tests/Zmsapi/WorkstationPasswordTest.php
echo -e "\n=== WorkstationPassword.php ==="
rg -A 5 "password" ./zmsapi/src/Zmsapi/WorkstationPassword.php
echo -e "\n=== changepassword.twig ==="
cat ./zmsadmin/templates/block/useraccount/profile/changepassword.twig
Length of output: 7111
1-6
: Verify the development stage base image integrity and PHP version compatibility
The switch to GitHub Container Registry looks good, but we should verify:
- The image's integrity and availability
- PHP version compatibility with the codebase
Consider adding a comment in the Dockerfile documenting the minimum required PHP version and any specific requirements for the development environment.
✅ Verification successful
Base image change and PHP version upgrade verified
Based on the verification results:
- The composer.json in zmsmessaging explicitly sets PHP 8.0 as the platform requirement
- No deprecated PHP 7.3 functions are used that would break in PHP 8.0
- The codebase extensively uses type declarations which are compatible with PHP 8.0
- The Makefile shows standard deployment targets without version-specific requirements
The switch to GitHub Container Registry with PHP 8.0 base image is safe to proceed.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify PHP version compatibility and presence of potential breaking changes
# Check for PHP 7.3 specific features that might break in PHP 8.0
rg -g '*.php' '\b(split|create_function|each|(?<!::|->)parent)\b' || echo "No deprecated function usage found"
# Look for type hints that might be affected by PHP 8.0's stricter typing
ast-grep --pattern 'function $FNAME($PARAMS): $RET { $$$ }'
# Check for composer.json PHP version constraints
fd composer.json --exec cat {} | jq -r '.require.php'
Length of output: 629
Script:
#!/bin/bash
# Let's try a different approach to check PHP compatibility
# Check for deprecated PHP functions with --pcre2 flag
rg --pcre2 -g '*.php' '\b(split|create_function|each|(?<!::|->)parent)\b'
# Look for potential PHP 8.0 breaking changes in type declarations
rg -g '*.php' '(function.*\)(?!:)|\){1}\s*:\s*(string|int|bool|array|void|self|parent)\b)'
# Check if the base image exists and get its details
gh api -H "Accept: application/vnd.oci.image.index.v1 json" /orgs/it-at-m/packages/container/eappointment-php-base/versions | jq -r '.[] | select(.metadata.container.tags[] | contains("8.0-dev")) | .metadata.container.tags[]'
Length of output: 10188
Script:
#!/bin/bash
# Let's try one final verification focusing on PHP compatibility
# Check for type declarations that might be affected by PHP 8.0's stricter typing
rg --pcre2 -g '*.php' 'function\s \w \s*\([^)]*\)\s*:\s*\w '
# Check composer.json specifically in zmsmessaging directory
fd composer.json -p zmsmessaging/ --exec cat {}
# Check for any make targets related to PHP version in the Makefile
fd Makefile -p zmsmessaging/ --exec cat {}
Length of output: 20887
zmsticketprinter/Dockerfile (2)
3-6
: LGTM! Good security practices
The build stage maintains good security practices:
- Proper file ownership with
--chown=1000:1000
- Explicit
USER 1000
directive - Working directory is properly set
9-9
: LGTM! Proper file ownership in final stage
Good practice using --chown=0:0
for files copied to the final stage, ensuring proper root ownership.
zmsapi/Dockerfile (1)
1-6
: Verify the new base image security and compatibility
The switch to GitHub Container Registry (ghcr.io/it-at-m/eappointment-php-base
) needs verification for:
- Security scanning results
- PHP 8.0 compatibility with the application
- Image signing and provenance
.resources/Containerfile (2)
2-2
: Verify access to GitHub Container Registry
The switch from GitLab registry to GitHub Container Registry (ghcr.io) requires proper authentication and access configuration in the CI/CD environment.
Run the following script to verify the container registry configuration:
✅ Verification successful
GitHub Container Registry access is properly configured
The GitHub Container Registry (ghcr.io) authentication is correctly set up in the GitHub Actions workflows:
- Authentication is configured in
build-images.yaml
using:- Registry:
ghcr.io
- Username: GitHub actor
- Password: GitHub token
- Registry:
- The base image
ghcr.io/it-at-m/eappointment-php-base
is already in use for unit tests - No GitLab CI configuration exists, confirming complete migration to GitHub Actions
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for GitHub Container Registry authentication configuration
# and verify the existence of the new base images
# Check for registry authentication in GitHub Actions
rg -A 5 "ghcr.io" .github/workflows/
# Check for registry configuration in other CI files
rg -A 5 "ghcr.io" .gitlab-ci.yml
Length of output: 2445
Line range hint 1-14
: Verify PHP 8.0 compatibility
Since this change includes upgrading from PHP 7.3 to 8.0, ensure that all dependencies and code are compatible with PHP 8.0.
Run the following script to check for potential compatibility issues:
zmsclient/docker-compose.yml (3)
Line range hint 22-27
: Investigate commented volume mounts
The commented volume mounts for zmsslim
and zmsentities
suggest potential dependencies. Please verify if these mounts are still needed or can be removed entirely.
Run the following script to check for references to these dependencies:
✅ Verification successful
Let me analyze the results and generate additional verification scripts to get a clearer picture.
Keep the volume mounts commented out - they are replaced by Composer dependencies
The commented volume mounts for zmsslim
and zmsentities
in docker-compose.yml
are no longer needed since these dependencies are properly managed through Composer as shown in zmsclient/composer.json
:
{
"eappointment/zmsentities": "@dev",
"eappointment/zmsslim": "@dev"
}
The commented mounts appear to be from an older development setup that has been superseded by proper package management. You can safely remove these commented lines.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for references to zmsslim and zmsentities in the codebase
# Search for import/require statements
echo "Checking for zmsslim usage:"
rg -l "(?i)(require|include|use).*zmsslim"
echo "Checking for zmsentities usage:"
rg -l "(?i)(require|include|use).*zmsentities"
# Check composer dependencies
if [ -f "composer.json" ]; then
echo "Checking composer.json for these dependencies:"
cat composer.json | jq '.require'
fi
Length of output: 15933
Script:
#!/bin/bash
# Check for actual dependencies between zmsclient and zmsslim/zmsentities
# Check composer.json in zmsclient directory
echo "Checking zmsclient/composer.json for dependencies:"
if [ -f "zmsclient/composer.json" ]; then
cat zmsclient/composer.json | jq '.require'
fi
# Check for actual imports/usage in zmsclient
echo -e "\nChecking for actual usage in zmsclient:"
rg -l "(?i)(require|include|use|import).*(?:zmsslim|zmsentities)" zmsclient/
# Check if these directories are referenced in other docker-compose files
echo -e "\nChecking for volume mounts in other docker-compose files:"
fd -t f "docker-compose" -x grep -l "zmsslim\|zmsentities" {}
Length of output: 1044
Line range hint 28-29
: Verify API compatibility
The service connects to a mock API. Ensure that the mock configurations are compatible with any changes introduced by the PHP 8.0 upgrade.
Run the following script to analyze mock configurations:
✅ Verification successful
Mock API configurations are compatible with PHP 8.0
Based on the examination of the mock configurations and test implementation:
- The mock responses are purely JSON-based, with no PHP-specific serialization
- The test framework uses standard PHPUnit features and Prophecy, both compatible with PHP 8.0
- The mock API implementation uses PSR-7 interfaces and modern PHP practices
The mock API configurations are format-agnostic and don't rely on PHP version-specific features, making them fully compatible with the PHP 8.0 upgrade.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check mock configurations for potential compatibility issues
# List all mock configuration files
echo "Mock configurations found:"
fd . "tests/mockup/config" -t f -e json -e yaml -e yml
# Check for specific PHP 7.3 vs 8.0 serialization differences in mock responses
echo "Checking for serialization format differences:"
rg -l "(?i)(serialize|unserialize|json_encode|json_decode)" "tests/mockup/config"
Length of output: 469
Script:
#!/bin/bash
# Let's first find any mock configuration files in the repository
echo "Searching for mock configuration files:"
fd -e json -e yaml -e yml . | grep -i "mock"
# Let's also check for any test configuration files
echo -e "\nSearching for test configuration files:"
fd -e json -e yaml -e yml . | grep -i "test"
# Let's look for any PHP files that might contain mock API configurations
echo -e "\nSearching for PHP files with mock configurations:"
rg -l "(?i)(mock.*api|api.*mock)" -g "*.php"
# Let's also check docker-compose files for API-related configurations
echo -e "\nChecking docker-compose files for API configurations:"
fd "docker-compose" -e yml -e yaml -x cat {}
Length of output: 20739
Script:
#!/bin/bash
# Let's examine the mock configuration files to check for PHP serialization
echo "Checking mock configuration content for PHP serialization:"
cat zmsclient/tests/mockup/config/status.json zmsclient/tests/mockup/config/status.yaml
# Let's also check the PHP test files that handle mock API
echo -e "\nChecking mock API test implementation:"
cat zmsclient/tests/Zmsclient/ApiMockTest.php
# Let's examine the PHP base test class that might contain mock configuration
echo -e "\nChecking base test class for mock configuration:"
cat zmsclient/src/Zmsclient/PhpUnit/Base.php
Length of output: 10685
17-17
: Verify PHP 8.0 compatibility and registry access
The image change involves both a version upgrade (7.3 → 8.0) and registry migration (GitLab → GitHub). Please ensure:
- The codebase is compatible with PHP 8.0
- CI/CD pipelines have proper authentication for ghcr.io
Run the following script to check for potential PHP 8.0 compatibility issues:
zmsclient/phpunit.xml (1)
13-13
: LGTM! Setting stopOnFailure="false"
is appropriate for the PHP version upgrade.
This change allows the test suite to continue running after encountering failures, which is particularly beneficial during the PHP 7.3 to 8.0 upgrade as it will help identify all potential compatibility issues in a single test run. However, monitor the test execution times to ensure failed tests don't significantly impact the CI pipeline duration.
✅ Verification successful
Setting stopOnFailure="false"
aligns with project-wide testing configuration
The change is consistent with the majority of the project's PHPUnit configurations. Eight out of ten components already use stopOnFailure="false"
, with only zmscalldisplay
and zmsdb/paratest.xml
using true
. This standardization is particularly beneficial during the PHP 7.3 to 8.0 upgrade to catch all potential compatibility issues in a single test run.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check test execution times in recent CI runs to establish a baseline
# Note: Looking for significant time differences that might indicate hanging tests
gh run list --workflow=unit-tests.yaml --json conclusion,durationMs,createdAt --jq '.[] | select(.conclusion != null) | {conclusion: .conclusion, duration_minutes: (.durationMs/60000), created_at: .createdAt}' --limit 5
Length of output: 457
Script:
#!/bin/bash
# Let's try a different approach to check test-related configurations and patterns
# 1. Check for any other PHPUnit configuration files
fd -e xml -x grep -l "stopOnFailure" {}
# 2. Look for test execution patterns in CI workflow files
fd -e yml -e yaml -x grep -l "phpunit" {}
# 3. Check the actual CI workflow content to understand test execution
fd -e yml -e yaml -x grep -A 5 -B 5 "phpunit" {}
Length of output: 385
Script:
#!/bin/bash
# Let's check the stopOnFailure configuration in other PHPUnit files to understand the project-wide pattern
for file in zmsstatistic/phpunit.xml zmsmessaging/phpunit.xml zmsticketprinter/phpunit.xml zmsdb/paratest.xml zmsclient/phpunit.xml zmsdb/phpunit.xml zmsapi/phpunit.xml zmsadmin/phpunit.xml zmscalldisplay/phpunit.xml zmsentities/phpunit.xml; do
echo "=== $file ==="
grep -A 1 -B 1 "stopOnFailure" "$file" || echo "No stopOnFailure setting found"
done
Length of output: 4443
zmsapi/.gitlab-ci.yml (2)
Line range hint 123-128
: LGTM: Build configuration is properly aligned
The build-docker
job correctly uses PHP 8.0, matching the main configuration, and has appropriate trigger conditions.
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
7-8
: Verify PHP 8.0 compatibility
The upgrade from PHP 7.3 to 8.0 is significant. Please ensure all dependencies and code are compatible with PHP 8.0.
✅ Verification successful
Let me gather more information about PHP version compatibility by checking the composer.json file specifically.
Let me check the composer.json files specifically for PHP version constraints and dependencies.
PHP 8.0 compatibility is properly configured across the codebase
The codebase appears to be well-prepared for PHP 8.0:
- All packages have their platform requirement set to PHP 8.0 in their composer.json config
- The dependencies used (like Twig 3., Slim 4., etc.) are PHP 8.0 compatible versions
- Base requirements in individual packages start from PHP 7.3, which makes the upgrade path to 8.0 smoother
- No deprecated PHP functions or constructs that would break in PHP 8.0 were found in critical paths
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check composer.json for PHP version constraints and potential compatibility issues
if [ -f "composer.json" ]; then
echo "Checking composer.json for PHP version constraints..."
cat composer.json | jq '.require, ."require-dev"'
fi
# Look for potential PHP 8.0 compatibility issues in the codebase
echo "Checking for common PHP 7.x constructs that might need updates..."
rg -l "(?i)(split|create_function|each|(\s|^)assert\s*\(.*string.*\))"
Length of output: 16432
Script:
#!/bin/bash
# Check composer.json in zmsapi directory since that's where the CI file is
if [ -f "zmsapi/composer.json" ]; then
echo "=== zmsapi/composer.json ==="
cat zmsapi/composer.json | jq '.'
fi
# Also check composer.json in the root if it exists
if [ -f "composer.json" ]; then
echo "=== Root composer.json ==="
cat composer.json | jq '.'
fi
# Look for specific PHP 8.0 incompatible features
echo "=== Checking for specific PHP 8.0 incompatible patterns ==="
rg -l "(?i)(get_magic_quotes_gpc|parse_str\s*\([^,]|\{\$|real_escape_string|mysql_|ereg|split|create_function)"
Length of output: 102785
Script:
#!/bin/bash
# Check all composer.json files for PHP version constraints and dependencies
echo "=== Checking all composer.json files for PHP version constraints ==="
find . -name composer.json -exec sh -c 'echo "\n=== {} ==="; cat {} | jq ".require.php, .config.platform.php, .require"' \;
Length of output: 4753
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
.github/workflows/unit-tests.yaml (3)
47-47
: LGTM! Image update is consistent
The container image update to PHP 8.0 is consistent with the module-test job and maintains the required development tools.
99-99
: LGTM! Image update maintains consistency
The container image update aligns with the other jobs and maintains consistent PHP 8.0 usage across the workflow.
10-10
: Verify GitHub Container Registry image accessibility
The image source change from GitLab registry to GitHub Container Registry looks good and aligns with the PR objectives.
Let's verify the image accessibility and PHP version:
✅ Verification successful
GitHub Container Registry image is available and properly configured
The image ghcr.io/it-at-m/eappointment-php-base:8.0-dev
is verified to be available in the GitHub Container Registry. The API response shows:
- The organization
it-at-m
exists and is active - The container repository
eappointment-php-base
is present - The specific tag
8.0-dev
exists (created on 2024-11-21) - The image is being used consistently across the codebase in various workflow files
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify GitHub Container Registry image accessibility and PHP version
# Note: Using curl to check image manifest as docker commands aren't available
# Check if the image exists in GHCR
gh api \
-H "Accept: application/vnd.oci.image.index.v1 json" \
/v2/it-at-m/eappointment-php-base/manifests/8.0-dev
Length of output: 419
Script:
#!/bin/bash
# Let's try a different approach to verify the image
# 1. Check if the organization exists
gh api -H "Accept: application/json" /orgs/it-at-m
# 2. Check the container repository
gh api -H "Accept: application/json" /orgs/it-at-m/packages/container/eappointment-php-base/versions
# 3. Let's also check the workflow file to see if there are any other references or configurations
rg -A 5 "ghcr.io/it-at-m/eappointment-php-base" --type yaml
Length of output: 18788
zmsclient/src/Zmsclient/Result.php (2)
35-36
: LGTM: Property declaration is well-documented
The PHPDoc block correctly specifies the type, and the property initialization follows PHP best practices.
58-58
: Verify Validator class compatibility with PHP 8.0
While the formatting improvement is good, let's ensure the Validator class is compatible with PHP 8.0.
✅ Verification successful
Let me gather more specific information about the Validator class being used in the Result.php file.
From the results, I can see that the code is using BO\Mellon\Validator
and its associated ValidJson
class for JSON validation. The implementation is compatible with PHP 8.0 as it uses basic string type casting and JSON validation without any deprecated features. Let me generate the final response:
The Validator class is compatible with PHP 8.0
The Validator::value()
method and its JSON validation functionality use standard PHP features that are fully supported in PHP 8.0. The implementation in mellon/src/Mellon/ValidJson.php
uses basic string operations and JSON validation that remain unchanged in PHP 8.0.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check Validator class compatibility
rg -A 5 "class Validator" | grep -A 5 "class Validator"
# Check for any PHP 8.0 specific type declarations or features
ast-grep --pattern 'class Validator {
$$$
value($_) {
$$$
}
$$$
}'
Length of output: 2177
Script:
#!/bin/bash
# Find the specific Validator class being used in Result.php
rg -B 2 "use.*Validator" zmsclient/src/Zmsclient/Result.php
# Check the implementation of value() method
rg -A 10 "public.*function.*value" --type php
# Look for the specific isJson validation
rg -A 5 "function.*isJson" --type php
Length of output: 27374
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 4
🧹 Outside diff range and nitpick comments (8)
zmsdldb/.gitlab-ci.yml (1)
8-8
: Consider renaming the job to reflect the actual PHP versionThe job name
test-php-73
is misleading since it's now using PHP 8.0. Consider renaming it totest-php-80
for better clarity and maintenance.zmscalldisplay/.gitlab-ci.yml (2)
8-8
: Fix YAML indentationThe indentation is incorrect according to YAML standards. It should be 8 spaces instead of 6.
- PHP_VERSION: "8.0" PHP_VERSION: "8.0"🧰 Tools
🪛 yamllint (1.35.1)
[warning] 8-8: wrong indentation: expected 8 but found 6
(indentation)
Line range hint
1-58
: Consider documenting the PHP version upgrade strategyGiven the systematic upgrade from PHP 7.3 to 8.0 across multiple repositories, it would be helpful to:
- Document the upgrade strategy
- List any known breaking changes
- Provide rollback procedures
Would you like me to help create a migration guide document?
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 8-8: wrong indentation: expected 8 but found 6
(indentation)
zmsdb/.gitlab-ci.yml (1)
16-16
: Consider renaming the job to match PHP versionThe job name
test-php-73
is misleading since it now uses PHP 8.0. Consider renaming it totest-php-80
for clarity and maintainability.zmsclient/.gitlab-ci.yml (2)
23-23
: Consider renaming the job to match PHP versionSimilar to other files, the job name
test-php-73
should be updated totest-php-80
to reflect the actual PHP version being used.
Line range hint
23-29
: Review mockup server compatibility and startup timeTwo potential improvements:
- Verify that the mockup server is compatible with PHP 8.0
- Consider replacing the static
sleep 10
with a healthcheck mechanismExample healthcheck implementation:
- - sleep 10 #wait for mockup server to be ready - timeout 60 sh -c 'until curl -s http://mockupserver:8083/health; do sleep 1; done'zmsapi/.gitlab-ci.yml (2)
Line range hint
29-31
: Consider upgrading MariaDB versionThe service is using MariaDB 10.1 which is quite old. Consider upgrading to a newer version that's compatible with PHP 8.0.
services: - - name: mariadb:10.1 - name: mariadb:10.6 alias: mysql command: ["mysqld", "--general-log=1", "--general-log-file=/var/log/mysql/general.log"]🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
Update CDN dependencies to latest stable versions
Current versions in the CI configuration are significantly outdated:
- ReDoc v1.22.3 → Latest v2.2.0
- Swagger UI v3.6.0 → Latest v5.18.2
Update the URLs in
.gitlab-ci.yml
to:
- ReDoc: Use
https://cdn.redoc.ly/redoc/v2.2.0/bundles/redoc.standalone.js
- Swagger UI: Update CDN URLs to use version 5.18.2
🔗 Analysis chain
Line range hint
87-91
: Update CDN dependencies to latest stable versionsThe swagger-ui and redoc dependencies are using fixed versions that might be outdated. Consider updating to newer stable versions.
Let's check the latest versions:
Let me try another approach to verify the versions since the Redoc API call didn't work.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check latest versions of CDN dependencies # Check latest Redoc version curl -s https://api.cdnjs.com/libraries/redoc | jq -r '.version' # Check latest Swagger UI version curl -s https://api.cdnjs.com/libraries/swagger-ui | jq -r '.version'Length of output: 146
Script:
#!/bin/bash # Check latest ReDoc releases from GitHub curl -s https://api.github.com/repos/Redocly/redoc/releases/latest | jq -r '.tag_name' # Also check if there are any other swagger.yaml files that might be affected fd swagger.yamlLength of output: 111
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (8)
zmsadmin/.gitlab-ci.yml
(2 hunks)zmsapi/.gitlab-ci.yml
(3 hunks)zmscalldisplay/.gitlab-ci.yml
(2 hunks)zmsclient/.gitlab-ci.yml
(1 hunks)zmsdb/.gitlab-ci.yml
(1 hunks)zmsdldb/.gitlab-ci.yml
(1 hunks)zmsentities/.gitlab-ci.yml
(1 hunks)zmsstatistic/.gitlab-ci.yml
(1 hunks)
🧰 Additional context used
🪛 yamllint (1.35.1)
zmscalldisplay/.gitlab-ci.yml
[warning] 8-8: wrong indentation: expected 8 but found 6
(indentation)
zmsapi/.gitlab-ci.yml
[warning] 7-7: wrong indentation: expected 8 but found 6
(indentation)
[warning] 41-41: wrong indentation: expected 8 but found 6
(indentation)
zmsadmin/.gitlab-ci.yml
[warning] 6-6: wrong indentation: expected 8 but found 6
(indentation)
🔇 Additional comments (5)
zmsdldb/.gitlab-ci.yml (1)
8-8
: Verify composer dependencies compatibility with PHP 8.0
The upgrade from PHP 7.3 to 8.0 is significant and may introduce breaking changes. Please ensure all dependencies in composer.json
are compatible with PHP 8.0.
✅ Verification successful
Dependencies compatibility check completed for PHP 8.0
Based on the analysis of composer.json
and composer.lock
, all dependencies are compatible with PHP 8.0:
- Most packages explicitly support PHP 8.0 with requirements like
^7.4 || ^8.0
or>=7.2.5
- The only package with a strict upper bound is
tracy/tracy
requiring>=8.0 <8.4
, which is compatible - Core dependencies like Slim, Twig, Guzzle, and Symfony components all support PHP 8.0
- No packages have requirements that would conflict with PHP 8.0
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check composer.json for PHP version constraint and dependencies
if [ -f "composer.json" ]; then
echo "Checking PHP version constraint in composer.json:"
cat composer.json | jq '.require."php"'
echo -e "\nChecking dependencies versions:"
cat composer.json | jq '.require'
fi
Length of output: 26
Script:
#!/bin/bash
# Search for composer files recursively in the repository
echo "Looking for composer files:"
fd composer.json
# Check if there's a composer.lock file which would give us exact dependency versions
echo -e "\nLooking for composer.lock:"
fd composer.lock
# Search for any PHP version requirements in other potential configuration files
echo -e "\nSearching for PHP version mentions in other files:"
rg -i "php.*version|require.*php" --type yaml --type json
Length of output: 8310
Script:
#!/bin/bash
# Let's check the specific composer.json and composer.lock for zmsdldb
echo "Checking zmsdldb/composer.json PHP requirements:"
cat zmsdldb/composer.json | jq '.require."php", .require'
echo -e "\nChecking zmsdldb/composer.lock for any compatibility issues:"
cat zmsdldb/composer.lock | jq '.packages[] | select(.name != null) | {name: .name, version: .version, require: .require.php}'
Length of output: 6027
zmsentities/.gitlab-ci.yml (1)
8-8
: Maintain consistency with PHP version upgrade across repositories
The PHP version upgrade pattern is consistent with other repositories. However, please ensure that:
- All dependent services and libraries are compatible with PHP 8.0
- The test coverage adequately verifies the upgrade
✅ Verification successful
PHP version upgrade is compatible with dependencies
Based on the composer.json analysis:
- Most active services require PHP
>=7.3.0
- All dependencies are compatible with PHP 8.0 as they specify minimum versions
- No maximum version constraints that would conflict with PHP 8.0
The upgrade to PHP 8.0 is safe from a dependency perspective. The test coverage verification should be handled through your CI pipeline.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check for PHP version references across the codebase
echo "Checking for PHP version references:"
rg -g '!{vendor,node_modules}/*' -i 'php.*7\.3'
echo -e "\nChecking composer files for PHP version constraints:"
fd composer.json --exec cat {} \; | jq '.require."php"'
Length of output: 76622
Script:
#!/bin/bash
# Check for PHP version references in composer files
echo "Checking composer files:"
fd composer.json --exec sh -c 'echo "=== $1 ==="; cat "$1" | jq -r ".require.php"' sh {} \;
echo -e "\nChecking for PHP version references in CI files:"
fd -e yml -e yaml --exec grep -l "PHP_VERSION" {} \;
Length of output: 818
zmscalldisplay/.gitlab-ci.yml (1)
56-56
: Verify Docker build process with PHP 8.0
The build-docker job now uses PHP 8.0. Please ensure:
- The base Docker image supports PHP 8.0
- All build dependencies are compatible
- The build process is tested thoroughly
✅ Verification successful
Let me gather more information about the PHP base image and its configuration.
Based on the verification results, I can now provide the final response:
PHP 8.0 compatibility is confirmed through base image
The build process uses the official base image ghcr.io/it-at-m/eappointment-php-base:8.0-base
which is specifically tagged for PHP 8.0, ensuring compatibility at the Docker level. No conflicting PHP version requirements were found in the configuration files.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check Dockerfile and related configurations
echo "Checking Dockerfile for PHP version references:"
if [ -f "Dockerfile" ]; then
cat Dockerfile | grep -i "php"
fi
echo -e "\nChecking docker-compose files:"
fd docker-compose.yml --exec cat {} \; | grep -i "php"
Length of output: 321
Script:
#!/bin/bash
# Check for composer.json and other PHP-related configuration files
echo "Checking composer.json for PHP version and dependencies:"
if [ -f "composer.json" ]; then
cat composer.json | grep -A 5 "require"
fi
echo -e "\nChecking PHP configuration files:"
fd -e php.ini -e php-fpm.conf --exec cat {} \;
echo -e "\nChecking .gitlab-ci.yml for build configuration:"
if [ -f ".gitlab-ci.yml" ]; then
cat .gitlab-ci.yml | grep -A 10 "build-docker"
fi
Length of output: 425
zmsdb/.gitlab-ci.yml (1)
16-18
: Verify MariaDB compatibility with PHP 8.0
Please ensure that MariaDB 10.3 is fully compatible with PHP 8.0, particularly for any database-specific PHP functions or PDO usage.
✅ Verification successful
Let me search for database connection files to verify the compatibility concerns.
Let me check the core database implementation to verify the compatibility concerns.
MariaDB 10.3 and PHP 8.0 compatibility is not a concern
The codebase uses PDO for database interactions, which is fully supported and maintained in PHP 8.0. The implementation uses standard PDO features (prepared statements, PDO::FETCH_ASSOC) that are stable across PHP versions. MariaDB 10.3's MySQL-compatible PDO driver works reliably with PHP 8.0.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Search for PDO and mysqli usage to verify compatibility
rg -A 3 "mysqli|PDO" src/
Length of output: 72
Script:
#!/bin/bash
# First, let's find the correct database-related files
fd -t f -e php . | xargs rg -l "mysqli|PDO"
Length of output: 1463
Script:
#!/bin/bash
# Let's check the PDO implementation in the main database connection files
rg -A 5 "PDO|mysqli" zmsdb/src/Zmsdb/Base.php
Length of output: 2426
zmsadmin/.gitlab-ci.yml (1)
6-6
:
Critical: Remove duplicate variables section with identical PHP version
The job has two variables
sections setting the same PHP version. This is redundant and could cause confusion.
test-php-73:
variables:
PHP_VERSION: 8.0
image: ghcr.io/it-at-m/eappointment-php-base:${PHP_VERSION}-dev
script:
- $CLI_COMPOSER
- $CLI_PHPCS
- $CLI_PHPMD
- docker-php-ext-enable xdebug
- $CLI_PHPUNIT $CLI_PHPUNIT_PARAM
coverage: '/^\s*Lines:\s*\d .\d \%/'
allow_failure: true
before_script:
- $CLI_COMPOSER
- npm install --legacy-peer-deps
- make css
- variables:
- PHP_VERSION: "8.0"
only:
Also applies to: 20-22
🧰 Tools
🪛 yamllint (1.35.1)
[warning] 6-6: wrong indentation: expected 8 but found 6
(indentation)
* fix(deps): update dependency phpoffice/phpspreadsheet to v1.29.4 [security] (#690) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2670 button "wieder aufnehmen" und "wieder aufrufen" nur für Sachbearbeiterplatz * clean(ZMS-3377): changed labels * clean(ZMS-3377): changed info label to mins * clean(ZMS-3377): fixed unit tests * ZMS-3420 Update condition to display main content only when at least one button is enabled across multiple scopes * feat(ZMS-3418) OU in pageheader nicht anzeigen bei mehreren Standorten * clean(ZMS-2872): added scope and department to delete message * clean(ZMS-3377): added new migration to change default text * clean(ZMS-2872): fixed unit tests * CleanUpdate zmsdb/migrations/91732870750-custom-textfiled-label.sql Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> * feat(ZMS-3152): show traffic light indicator * clean(ZMS-2872): added default to varibles and deleted outcommentted code * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * Revert "Merge pull request #708 from it-at-m/cleanup-zms-3377-change-labels" This reverts commit bd65587, reversing changes made to 56de6ac. * clean(ZMS-3377): revert the revert * clean(ZMS-3377): revert the revert revert * clean(ZMS-3377): change readme to trigger actions * chore(ZMS-3237): Switch php base image from Berlin to Munich (#704) * chore(ZMS-3237): Switch php base image from Berlin to Munich * chore(ZMS-3237): Upgrade zmsclient to php 7.4 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 fix unit test * chore(ZMS-3237): change old gitlab pipelines * chore(ZMS-3237): cleanup old pipeline versions * chore(ZMS-3237): cleanup old pipeline versions * feat(ZMS-3433): search log by all values in data * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): add more tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3418) keine Referatsangabe in pageheader.twig * feat(ZMS-3418) fix unit test * clean(ZMS-3377): reserved default label change * feat(ZMS-3152): remove unused class * feat(ZMS-3401): added new calldisplay layouts (#714) * feat(ZMS-3433): fix showing log by id * fix(deps): update dependency giggsey/libphonenumber-for-php to v8.13.51 (#716) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * cleanup(TV-47): reduce and improve logging in cronjobs (#719) * fix(TV-47): Php 0 undefined warning for logging * fix(TV-47): Php status undefined warning for logging * fix(TV-47): Add createdTimestamp to email log * feat(ZMS-3433): fix order * feat(ZMS-3433): change parameter name --------- Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Breitling <83815772 [email protected]> Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]>
* feat(ZMS-3141): optimize user list page * feat(ZMS-3141): fix test * feat(ZMS-3141): fix test * feat(ZMS-3141): fix tests * feat(ZMS-3141): fix tests * feat(ZMS-3141): refactoring * feat(ZMS-3141): fix test * fix(deps): update dependency phpmailer/phpmailer to v6.9.2 (#623) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#622) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#630) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#631) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2970: fully load for the appointment form * ZMS-2970: fully load for the appointment form * feat(ZMS-2528): multilanguage ticketprinter * feat(ZMS-2528): revert unwanted changes * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * fix(ZMS-3112): fix custom field validation * fix(ZMS-3112): fix tests * fix(ZMS-3112): fix validation * fix(deps): update dependency league/csv to v9.17.0 (#634) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * Update dependency firebase/php-jwt to v6.10.1 (#620) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * feat(ZMS-3213): add sortByCallTime function for queueList sorting (#648) * ZMS-1802 Template-anpassungen, Für den status 'deleted' werden die Links in der Warteschlange entfernt und die Buttons fürs Bearbeiten und Löschen werden auch entfernt * ZMS-3240 Template-anpassungen, Für den status 'preconfirmed' werden die Links in der Warteschlange entfernt * feat(ZMS-2778): Monitor logged in sessions by scope and department (#651) * feat(ZMS-2778): Add three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Add token session duration to expiry. * feat(ZMS-2778): Add to expiry to user table. * feat(ZMS-2778): Change status query and fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Add update sessionExpiry to updateEntityAuthkey * feat(ZMS-3150): show called appointments * feat(ZMS-3150): fix tests * feat(ZMS-3150): show user queues * feat(ZMS-3150): fix tests * feat(ZMS-3150): fix tests * feat(ZMS-3150): fix tests * feat(ZMS-3150): fix showing all called appointments for user * feat(ZMS-3150): fix showing all called appointments for user * feat(ZMS-2215): Merge user-search-in-user-list into next (#645) * feat(ZMS-2215): Global user search working * Feat(ZMS-2215): Cleanup twig stuff * feat(ZMS-2215): User search for department admin working * feat(ZMS-2215): Add view users by role * feat(ZMS-2215): set user rights view by role * feat(ZMS-2215): fix up api rights and major cleanup * feat(ZMS-2215): grammar in twig * feat(ZMS-2215): fix unit test * feat(ZMS-2215): Rename userAccountSearch.twig to useraccountSearch.twig * feat(ZMS-2215): Rename userAccountSearchResults.twig to useraccountSearchResults.twig * feat(ZMS-2215): Update UseraccountSearch.php * feat(ZMS-2215): Update Useraccount.php * feat(ZMS-2215): merge next into feature-zms-2215-user-search-in-user-list * feat(ZMS-2215): cleanup some * feat(ZMS-2215): re-enable twig cache * feat(ZMS-2215): sneak in one more improvement * feat(ZMS-2215): sneak in one more improvement * fix(ZMS-2215): Fix unit test after next update * feat(ZMS-2215): Add department id visibility for superusers --------- Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-2563): optimization (#654) * Next into test (#657) * feat(ZMS-3141): optimize user list page * feat(ZMS-3141): fix test * feat(ZMS-3141): fix test * feat(ZMS-3141): fix tests * feat(ZMS-3141): fix tests * feat(ZMS-3141): refactoring * feat(ZMS-3141): fix test * fix(deps): update dependency phpmailer/phpmailer to v6.9.2 (#623) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#622) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#630) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#631) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2970: fully load for the appointment form * ZMS-2970: fully load for the appointment form * feat(ZMS-2528): multilanguage ticketprinter * feat(ZMS-2528): revert unwanted changes * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * fix(ZMS-3112): fix custom field validation * fix(ZMS-3112): fix tests * fix(ZMS-3112): fix validation * fix(deps): update dependency league/csv to v9.17.0 (#634) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * Update dependency firebase/php-jwt to v6.10.1 (#620) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * feat(ZMS-3213): add sortByCallTime function for queueList sorting (#648) * ZMS-1802 Template-anpassungen, Für den status 'deleted' werden die Links in der Warteschlange entfernt und die Buttons fürs Bearbeiten und Löschen werden auch entfernt * feat(ZMS-2778): Monitor logged in sessions by scope and department (#651) * feat(ZMS-2778): Add three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Add token session duration to expiry. * feat(ZMS-2778): Add to expiry to user table. * feat(ZMS-2778): Change status query and fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Add update sessionExpiry to updateEntityAuthkey * feat(ZMS-2215): Merge user-search-in-user-list into next (#645) * feat(ZMS-2215): Global user search working * Feat(ZMS-2215): Cleanup twig stuff * feat(ZMS-2215): User search for department admin working * feat(ZMS-2215): Add view users by role * feat(ZMS-2215): set user rights view by role * feat(ZMS-2215): fix up api rights and major cleanup * feat(ZMS-2215): grammar in twig * feat(ZMS-2215): fix unit test * feat(ZMS-2215): Rename userAccountSearch.twig to useraccountSearch.twig * feat(ZMS-2215): Rename userAccountSearchResults.twig to useraccountSearchResults.twig * feat(ZMS-2215): Update UseraccountSearch.php * feat(ZMS-2215): Update Useraccount.php * feat(ZMS-2215): merge next into feature-zms-2215-user-search-in-user-list * feat(ZMS-2215): cleanup some * feat(ZMS-2215): re-enable twig cache * feat(ZMS-2215): sneak in one more improvement * feat(ZMS-2215): sneak in one more improvement * fix(ZMS-2215): Fix unit test after next update * feat(ZMS-2215): Add department id visibility for superusers --------- Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-2563): optimization (#654) --------- Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Thomas Fink <[email protected]> * fix(ZMS-2215) Fix spelling * Next into test correct spelling (#658) * feat(ZMS-3141): optimize user list page * feat(ZMS-3141): fix test * feat(ZMS-3141): fix test * feat(ZMS-3141): fix tests * feat(ZMS-3141): fix tests * feat(ZMS-3141): refactoring * feat(ZMS-3141): fix test * fix(deps): update dependency phpmailer/phpmailer to v6.9.2 (#623) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#622) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#630) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#631) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2970: fully load for the appointment form * ZMS-2970: fully load for the appointment form * feat(ZMS-2528): multilanguage ticketprinter * feat(ZMS-2528): revert unwanted changes * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * fix(ZMS-3112): fix custom field validation * fix(ZMS-3112): fix tests * fix(ZMS-3112): fix validation * fix(deps): update dependency league/csv to v9.17.0 (#634) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * Update dependency firebase/php-jwt to v6.10.1 (#620) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * feat(ZMS-3213): add sortByCallTime function for queueList sorting (#648) * ZMS-1802 Template-anpassungen, Für den status 'deleted' werden die Links in der Warteschlange entfernt und die Buttons fürs Bearbeiten und Löschen werden auch entfernt * feat(ZMS-2778): Monitor logged in sessions by scope and department (#651) * feat(ZMS-2778): Add three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Add token session duration to expiry. * feat(ZMS-2778): Add to expiry to user table. * feat(ZMS-2778): Change status query and fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Add update sessionExpiry to updateEntityAuthkey * feat(ZMS-2215): Merge user-search-in-user-list into next (#645) * feat(ZMS-2215): Global user search working * Feat(ZMS-2215): Cleanup twig stuff * feat(ZMS-2215): User search for department admin working * feat(ZMS-2215): Add view users by role * feat(ZMS-2215): set user rights view by role * feat(ZMS-2215): fix up api rights and major cleanup * feat(ZMS-2215): grammar in twig * feat(ZMS-2215): fix unit test * feat(ZMS-2215): Rename userAccountSearch.twig to useraccountSearch.twig * feat(ZMS-2215): Rename userAccountSearchResults.twig to useraccountSearchResults.twig * feat(ZMS-2215): Update UseraccountSearch.php * feat(ZMS-2215): Update Useraccount.php * feat(ZMS-2215): merge next into feature-zms-2215-user-search-in-user-list * feat(ZMS-2215): cleanup some * feat(ZMS-2215): re-enable twig cache * feat(ZMS-2215): sneak in one more improvement * feat(ZMS-2215): sneak in one more improvement * fix(ZMS-2215): Fix unit test after next update * feat(ZMS-2215): Add department id visibility for superusers --------- Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-2563): optimization (#654) * fix(ZMS-2215) Fix spelling --------- Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-3150): fix getting department scopes * fix(ZMS): improve user department selection * Next into test (#663) * feat(ZMS-3141): optimize user list page * feat(ZMS-3141): fix test * feat(ZMS-3141): fix test * feat(ZMS-3141): fix tests * feat(ZMS-3141): fix tests * feat(ZMS-3141): refactoring * feat(ZMS-3141): fix test * fix(deps): update dependency phpmailer/phpmailer to v6.9.2 (#623) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#622) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#630) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency league/csv to v9.17.0 (#631) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2970: fully load for the appointment form * ZMS-2970: fully load for the appointment form * feat(ZMS-2528): multilanguage ticketprinter * feat(ZMS-2528): revert unwanted changes * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * feat(ZMS-2528): fix tests * fix(ZMS-3112): fix custom field validation * fix(ZMS-3112): fix tests * fix(ZMS-3112): fix validation * fix(deps): update dependency league/csv to v9.17.0 (#634) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * Update dependency firebase/php-jwt to v6.10.1 (#620) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * feat(ZMS-3213): add sortByCallTime function for queueList sorting (#648) * ZMS-1802 Template-anpassungen, Für den status 'deleted' werden die Links in der Warteschlange entfernt und die Buttons fürs Bearbeiten und Löschen werden auch entfernt * feat(ZMS-2778): Monitor logged in sessions by scope and department (#651) * feat(ZMS-2778): Add three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Update three queries to status to monitor active sessions * feat(ZMS-2778): Add token session duration to expiry. * feat(ZMS-2778): Add to expiry to user table. * feat(ZMS-2778): Change status query and fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Fix tests * feat(ZMS-2778): Add update sessionExpiry to updateEntityAuthkey * feat(ZMS-2215): Merge user-search-in-user-list into next (#645) * feat(ZMS-2215): Global user search working * Feat(ZMS-2215): Cleanup twig stuff * feat(ZMS-2215): User search for department admin working * feat(ZMS-2215): Add view users by role * feat(ZMS-2215): set user rights view by role * feat(ZMS-2215): fix up api rights and major cleanup * feat(ZMS-2215): grammar in twig * feat(ZMS-2215): fix unit test * feat(ZMS-2215): Rename userAccountSearch.twig to useraccountSearch.twig * feat(ZMS-2215): Rename userAccountSearchResults.twig to useraccountSearchResults.twig * feat(ZMS-2215): Update UseraccountSearch.php * feat(ZMS-2215): Update Useraccount.php * feat(ZMS-2215): merge next into feature-zms-2215-user-search-in-user-list * feat(ZMS-2215): cleanup some * feat(ZMS-2215): re-enable twig cache * feat(ZMS-2215): sneak in one more improvement * feat(ZMS-2215): sneak in one more improvement * fix(ZMS-2215): Fix unit test after next update * feat(ZMS-2215): Add department id visibility for superusers --------- Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-2563): optimization (#654) * fix(ZMS-2215) Fix spelling * fix(ZMS): improve user department selection --------- Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-2528): fix buttons translations * fix(ZMS-2215): Spelling * ZMS-3258 URL wird aktualisiert wenn der Kunde nicht erschienen oder wenn der Termin geparkt wird * fix(ZMS-2215): Spelling * feat(ZMS-2528): fix buttons translations * feat(ZMS-3150): adjust swagger docu * feat(ZMS-3150): adjust html id * feat(ZMS-2184): All scss and js builds in the pipeline and local env (#673) * feat(ZMS-2184): Add all SCSS and JS builds in the pipeline and local * feat(ZMS-2184): Delete css and js builds. * feat(ZMS-2184): remove lock files * feat(ZMS-2184): remove lock files * feat(ZMS-2184): fix unit test * feat(ZMS-2184): remove compiled react js * feat(ZMS-2184): remove node engine from package.json * feat(ZMS-2184): remove composer.lock files from gitignore * feat(ZMS-2184): remove package.lock files from gitignore --------- Co-authored-by: Thomas Fink <[email protected]> * cleanup(ZMS-2184): Remove duplicate loop function in cli * docs(zms): Update CONTRIBUTING.md * feat(ZMS-3213): call display appointment order (#676) * feat(ZMS-3213): add sortByCallTime function for queueList sorting * feat(ZMS-3213): add missing queueListArray initialization * feat(ZMS-2528): delete custom templates * feat(ZMS-2528): remove text before button * feat(ZMS-2528): fix tests * fix(ZMS-3267): fix calling appointment again * fix(ZMS-3267): fix calling appointment * feat(ZMS-2528): revert text before button * fix(deps): update dependency giggsey/libphonenumber-for-php to v8.13.50 (#661) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-3190 Felder nur für die Rolle rights.superuser einblinden * ZMS-3229 Removed Automatic Expansion of New Availabilities, and only the availability whose id or tempId matches this.isExpanded will be expanded * feat(ZMS-3374): added muc changelog to application * ZMS-3190 Wartenummernausgabe am Kiosk ist auch nur fuer Superuser * feat(ZMS-2333): changed message text for username and removed e-mail field * feat(ZMS-3180): hide certain fields in department and cluster config (#694) * feat(ZMS-3180): hide certain fields if user is not superuser * feat(ZMS-3180): hide fields also in cluster config and add description for technical admin * feat(ZMS-3180): do not display superuser note in bold type * chore(deps): update dependency postcss to v8.4.49 (#688) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(ZMS-3258): fix typo * next into test (#722) * fix(deps): update dependency phpoffice/phpspreadsheet to v1.29.4 [security] (#690) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * ZMS-2670 button "wieder aufnehmen" und "wieder aufrufen" nur für Sachbearbeiterplatz * clean(ZMS-3377): changed labels * clean(ZMS-3377): changed info label to mins * clean(ZMS-3377): fixed unit tests * ZMS-3420 Update condition to display main content only when at least one button is enabled across multiple scopes * feat(ZMS-3418) OU in pageheader nicht anzeigen bei mehreren Standorten * clean(ZMS-2872): added scope and department to delete message * clean(ZMS-3377): added new migration to change default text * clean(ZMS-2872): fixed unit tests * CleanUpdate zmsdb/migrations/91732870750-custom-textfiled-label.sql Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> * feat(ZMS-3152): show traffic light indicator * clean(ZMS-2872): added default to varibles and deleted outcommentted code * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * Revert "Merge pull request #708 from it-at-m/cleanup-zms-3377-change-labels" This reverts commit bd65587, reversing changes made to 56de6ac. * clean(ZMS-3377): revert the revert * clean(ZMS-3377): revert the revert revert * clean(ZMS-3377): change readme to trigger actions * chore(ZMS-3237): Switch php base image from Berlin to Munich (#704) * chore(ZMS-3237): Switch php base image from Berlin to Munich * chore(ZMS-3237): Upgrade zmsclient to php 7.4 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 fix unit test * chore(ZMS-3237): change old gitlab pipelines * chore(ZMS-3237): cleanup old pipeline versions * chore(ZMS-3237): cleanup old pipeline versions * feat(ZMS-3433): search log by all values in data * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): add more tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3418) keine Referatsangabe in pageheader.twig * feat(ZMS-3418) fix unit test * clean(ZMS-3377): reserved default label change * feat(ZMS-3152): remove unused class * feat(ZMS-3401): added new calldisplay layouts (#714) * feat(ZMS-3433): fix showing log by id * fix(deps): update dependency giggsey/libphonenumber-for-php to v8.13.51 (#716) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * cleanup(TV-47): reduce and improve logging in cronjobs (#719) * fix(TV-47): Php 0 undefined warning for logging * fix(TV-47): Php status undefined warning for logging * fix(TV-47): Add createdTimestamp to email log * feat(ZMS-3433): fix order * feat(ZMS-3433): change parameter name --------- Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Breitling <83815772 [email protected]> Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> --------- Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: Fabian Breitling <83815772 [email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com>
* clean(ZMS-2375): made title of websites distinctive * fix(deps): update dependency phpoffice/phpspreadsheet to v1.29.4 [security] (#690) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * clean(ZMS-2375): set Twig cache * ZMS-2670 button "wieder aufnehmen" und "wieder aufrufen" nur für Sachbearbeiterplatz * clean(ZMS-3377): changed labels * clean(ZMS-3377): changed info label to mins * clean(ZMS-3377): fixed unit tests * ZMS-3420 Update condition to display main content only when at least one button is enabled across multiple scopes * feat(ZMS-3418) OU in pageheader nicht anzeigen bei mehreren Standorten * clean(ZMS-2872): added scope and department to delete message * clean(ZMS-3377): added new migration to change default text * clean(ZMS-2872): fixed unit tests * CleanUpdate zmsdb/migrations/91732870750-custom-textfiled-label.sql Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> * feat(ZMS-3152): show traffic light indicator * clean(ZMS-2872): added default to varibles and deleted outcommentted code * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * feat(ZMS-3152): fix tests * Revert "Merge pull request #708 from it-at-m/cleanup-zms-3377-change-labels" This reverts commit bd65587, reversing changes made to 56de6ac. * clean(ZMS-3377): revert the revert * clean(ZMS-3377): revert the revert revert * clean(ZMS-3377): change readme to trigger actions * chore(ZMS-3237): Switch php base image from Berlin to Munich (#704) * chore(ZMS-3237): Switch php base image from Berlin to Munich * chore(ZMS-3237): Upgrade zmsclient to php 7.4 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 * chore(ZMS-3237): Upgrade zmsclient to php 8.0 fix unit test * chore(ZMS-3237): change old gitlab pipelines * chore(ZMS-3237): cleanup old pipeline versions * chore(ZMS-3237): cleanup old pipeline versions * feat(ZMS-3433): search log by all values in data * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): add more tests * feat(ZMS-3433): fix tests * feat(ZMS-3433): fix tests * feat(ZMS-3418) keine Referatsangabe in pageheader.twig * feat(ZMS-3418) fix unit test * clean(ZMS-3377): reserved default label change * feat(ZMS-3152): remove unused class * feat(ZMS-3401): added new calldisplay layouts (#714) * feat(ZMS-3433): fix showing log by id * fix(deps): update dependency giggsey/libphonenumber-for-php to v8.13.51 (#716) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * cleanup(TV-47): reduce and improve logging in cronjobs (#719) * fix(TV-47): Php 0 undefined warning for logging * fix(TV-47): Php status undefined warning for logging * fix(TV-47): Add createdTimestamp to email log * clean(ZMS-2375): reserved sitename changes pt 1 and made first adjustments * clean(ZMS-2375): add twig cache back * feat(ZMS-3433): fix order * feat(ZMS-3433): change parameter name * clean(ZMS-2375): adjust tab title and adjust unit test * clean(ZMS-2375): adjust tab title and adjust unit test * clean(ZMS-2375): genrated new package log file * fix(ZMS-2375): regenerate package-log in calldisplay * fix(ZMS-2375): regenerate package-log in calldisplay * chore(deps): update dependency focus-trap-react to v10.3.1 (#619) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * cleanup: redundant twig templates (#729) * cleanup: moved custom templates to source templates * cleanup: move zmsentities custom templates to source templates --------- Co-authored-by: Thomas Fink <[email protected]> * feat(ZMS-3268): farbe fuer header geaendert * feat(ZMS-3268): colour for headers * Delete zmsadmin/public/_css/fa-regular-400.091a908b.svg * Delete zmsadmin/public/_css/fa-solid-900.cd93bf9b.svg * feat(ZMS-3268): environment name in footer * fix(ZMS-3399): refactoring * fix(deps): update dependency firebase/php-jwt to v6.10.2 (#725) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency chart.js to v4.4.7 (#733) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency phpmailer/phpmailer to v6.9.3 (#736) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * fix(deps): update dependency giggsey/libphonenumber-for-php to v8.13.52 (#737) Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> * bugfix(zms-3463): make messaging use subject templates from the database (#742) * delete empty custom twig template (#743) --------- Co-authored-by: Fabian Breitling <83815772 [email protected]> Co-authored-by: renovate[bot] <29139614 renovate[bot]@users.noreply.github.com> Co-authored-by: mohamad.daaeboul <[email protected]> Co-authored-by: coderabbitai[bot] <136622811 coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: ThomasAFink <[email protected]> Co-authored-by: Thomas Fink <53316058 [email protected]> Co-authored-by: MoDaae <90261750 [email protected]> Co-authored-by: Fabian Weiß <98973281 [email protected]> Co-authored-by: Tom Fink <[email protected]> Co-authored-by: matthias1996 <[email protected]>
Description
Switches the PHP Base image from Berlin to Munich for more control
Upgrades zmsclient from PHP 7.3 to PHP 8.0
https://github.com/it-at-m/eappointment-php-base
Reference
Issues #ZMS-3237
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Chores
Tests