Page MenuHomeDevCentral

Upgrade to PHP 8.2.4
ClosedPublic

Authored by dereckson on Mar 25 2023, 14:05.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 20:24
Unknown Object (File)
Sun, Dec 15, 19:27
Unknown Object (File)
Thu, Dec 12, 13:46
Unknown Object (File)
Tue, Dec 10, 15:02
Unknown Object (File)
Wed, Dec 4, 15:05
Unknown Object (File)
Tue, Dec 3, 19:07
Unknown Object (File)
Mon, Dec 2, 11:33
Unknown Object (File)
Sat, Nov 30, 11:15

Details

Summary

This is the first PHP 8.2 release of the image.
PGP keys have been updated for the PHP 8.2 versions.

Reference: https://www.php.net/ChangeLog-8.php

Test Plan

Test arc rebuilding rDARC too.

Diff Detail

Repository
rDPHPCLI nasqueron/php-cli Docker image
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
php82
Build Status
Buildable 4598
Build 4870: arc lint + arc unit

Event Timeline

dereckson created this revision.

An important reuser is the nasqueron/arcanist image.

I think @inidal uses arc with PHP 8.2 on local computer, but can't confirm.
What I can confirm is WindRiver, @DorianWinty laptop and previous version on this image are all 8.1.

So let's check we can build (of course) and run arcanist image with 8.2 first.

This revision is now accepted and ready to land.Mar 25 2023, 15:05

arc works like a charm on Dwellers.

As a proof, let's land this with it.

This revision was automatically updated to reflect the committed changes.
$ arc shell
$ php -v
PHP 8.2.4 (cli) (built: Mar 25 2023 14:07:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies

$ arc land --onto main
 STRATEGY  Merging with "squash" strategy, the default strategy.
 SOURCE  Landing the current branch, "php82".
 ONTO REMOTE  Landing onto remote "origin", the default remote under Git.
 ONTO TARGET  Refs were selected with the "--onto" flag: main.
 INTO REMOTE  Will merge into remote "origin" by default, because this is the remote the change is landing onto.
 INTO TARGET  Will merge into target "main" by default, because this is the "onto" target.
 FETCH  Fetching "main" from remote "origin"...

  $   git fetch --no-tags --quiet -- origin main


 INTO COMMIT  Preparing merge into "main" from remote "origin", at commit "1d78152e54c1".
 LANDING  These changes will land:

  *   D2917 Upgrade to PHP 8.2.4
          045a6d0871a8  Upgrade to PHP 8.2.4

 >>>  Land these changes? [y/N/?] Y
 MERGING  045a6d0871a8 Upgrade to PHP 8.2.4
 MERGE  Attempting to rebase changes.
 DONE  Merge succeeded.
 PUSHING  Pushing changes to "origin".

  $   git push -- origin ddce94fb2374:refs/heads/main

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 617 bytes | 617.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
To ssh://devcentral.nasqueron.org:5022/source/docker-php-cli.git
   1d78152..ddce94f  ddce94fb2374 -> main

 CLEANUP  Cleaning up branch "php82". To recover, run:

    $ git checkout -b php82 045a6d0871a8

 UPDATE  Updating local branch "main"...
 CHECKOUT  Checking out "main".
 DONE  Landed changes.