Skip to content
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: use a central code location to check PHP version #41005

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

DeepDiver1975
Copy link
Member

Description

Some refactoring as part of the work related to #40981

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@DeepDiver1975 DeepDiver1975 force-pushed the chore/central-php-version-check branch from 34802a6 to 5e335ae Compare October 2, 2023 15:06
lib/base.php Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 2, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot E 5 Security Hotspots
Code Smell A 45 Code Smells

3.9% 3.9% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@phil-davis phil-davis self-requested a review October 3, 2023 01:25
@phil-davis phil-davis merged commit 91bae61 into master Oct 3, 2023
@delete-merged-branch delete-merged-branch bot deleted the chore/central-php-version-check branch October 3, 2023 01:29
@owncloud owncloud deleted a comment from update-docs bot Oct 3, 2023
@phil-davis
Copy link
Contributor

$ php occ a:l -e
This version of ownCloud is not compatible with PHP 8.0
You are currently running PHP 8.1.23.

It is not compatible with PHP 8.0 or later, but I suppose that the message is OK - people should be able to work out that PHP 8.1... is also not going to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants