Skip to content

Comments

Constrain project's support PHP versions#361

Merged
LukeTowers merged 1 commit intowintercms:developfrom
ericp-mrel:fix/composer-php-version-constraint
Nov 30, 2021
Merged

Constrain project's support PHP versions#361
LukeTowers merged 1 commit intowintercms:developfrom
ericp-mrel:fix/composer-php-version-constraint

Conversation

@ericp-mrel
Copy link
Contributor

@ericp-mrel ericp-mrel commented Nov 30, 2021

Setting this PHP version constraint should make it more obvious to other developers PHP 8.1 is not supported and will not work.

This might also prevent developers from creating a new project using composer create-project on PHP 8.1, although I haven't personally tested this. But, this would be the desired outcome and hopefully composer notifies them the PHP version they are using is not supported.

@LukeTowers LukeTowers added Status: Completed maintenance PRs that fix bugs, are translation changes or make only minor changes labels Nov 30, 2021
@LukeTowers LukeTowers added this to the v1.1.8 milestone Nov 30, 2021
@LukeTowers
Copy link
Member

Good catch @ericp-mrel. Laravel 6 LTS doesn't support PHP 8.1 which is the main reason why the 1.1 branch of Winter can't support it. We are actively working on 1.2 though which will use Laravel 9 LTS, so this is a good fix for the month or so before Laravel 9 is available.

@LukeTowers LukeTowers merged commit 058e9e2 into wintercms:develop Nov 30, 2021
@ericp-mrel ericp-mrel deleted the fix/composer-php-version-constraint branch November 30, 2021 20:40
LukeTowers added a commit that referenced this pull request Dec 9, 2021
* develop: (90 commits)
  Define signature for "defineProperties" method
  Add definition of "componentDetails" method
  Update `system` french lang files (#366)
  Update `backend` french lang file (#364)
  Update `cms` french lang file (#365)
  Fix clear color picker function, allow empty value
  Trigger "change" event on color picker when value changes
  Use better cursors for readonly color picker
  Adjust "force" option for plugin:remove
  Require explicit confirmations for CLI deletions
  Add PHP 8.1 option, drop other details field
  Add md_line Twig filter to expose Markdown::parseLine() (#370)
  Don't use the Cache facade in the service provider registration process.
  Fix return type hints for CMS Page and Controller (#362)
  Fixes typo in list of available encodings for importing
  Improved Ukrainian translation (#360)
  Constrain PHP version >= 7.2.9 and 8.0.x (#361)
  Improve Latvian translation (#358)
  Docs UI Fix paths to screenshots of diagrams (#359)
  Coerce Inspector set values to string
  ...

# Conflicts:
#	composer.json
#	modules/backend/composer.json
#	modules/cms/composer.json
#	modules/system/composer.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PRs that fix bugs, are translation changes or make only minor changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants