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

[5] install from CLI deprecation php 8 #42451

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

alikon
Copy link
Contributor

@alikon alikon commented Dec 3, 2023

Pull Request for Issue #42436 .

Summary of Changes

declare $clientId

Testing Instructions

Install Joomla via CLI with PHP 8.x

php installation/joomla.php install --site-name="My Site name" --admin-user="Some name" --admin-username="admin" --admin-password="qwertyuiop123" --admin-email="your@emailaddress.nl" --db-type="mysqli" --db-host="localhost" --db-user="root" --db-pass="" --db-name="demoDB" --db-prefix="demo_" --db-encryption="0"

Actual result BEFORE applying this Pull Request

Deprecated: Creation of dynamic property Joomla\CMS\Installation\Application\CliInstallationApplication::$clientId is deprecated in ...\installation\src\Application\CliInstallationApplication.php on line 107

Expected result AFTER applying this Pull Request

no more deprecation

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@alikon alikon added the PHP 8.x PHP 8.x deprecated issues label Dec 3, 2023
@RickR2H
Copy link
Member

RickR2H commented Dec 4, 2023

Thanks for the PR @alikon Maybe line 115: $this->clientId = 2; can be removed instead?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42451.

@joomla-cms-bot joomla-cms-bot removed PHP 8.x PHP 8.x deprecated issues PR-5.0-dev labels Dec 6, 2023
@RickR2H
Copy link
Member

RickR2H commented Dec 6, 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42451.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Dec 6, 2023
@bembelimen
Copy link
Contributor

Although the fix looks good, why is this RTC without two tests?

@RickR2H
Copy link
Member

RickR2H commented Dec 12, 2023

Issue trackers shows 2 successful tests though... https://issues.joomla.org/tracker/joomla-cms/42451

@alikon alikon added the PHP 8.x PHP 8.x deprecated issues label Dec 12, 2023
@bembelimen bembelimen merged commit 8e956a1 into joomla:5.0-dev Dec 13, 2023
@bembelimen
Copy link
Contributor

Thx

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Dec 13, 2023
@bembelimen bembelimen added this to the Joomla! 5.0.2 milestone Dec 13, 2023
@alikon alikon deleted the patch-21 branch December 13, 2023 17:42
@alexandreelise
Copy link
Contributor

Thx @alikon


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42451.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP 8.x PHP 8.x deprecated issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants