Bug 1896900

Summary: php-pear-phing 2.16.1 uses syntax deprecated in PHP 7.4
Product: [Fedora] Fedora Reporter: Carl Larsson <larscson>
Component: php-pear-phingAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: christof, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: php-pear-phing-2.16.4-1.fc32 php-pear-phing-2.16.4-1.fc33 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-13 01:17:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carl Larsson 2020-11-11 19:35:40 UTC
Description of problem: 
The default phing version in F32 and F33  uses code syntax that is deprecated with the default PHP (7.4) install


Version-Release number of selected component (if applicable):
php-pear-phing-2.16.1

How reproducible:
Consistently

Steps to Reproduce:
1. phing -v
2. 
3.

Actual results:
$ phing -v
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 97
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 126
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 139
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 177
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 197
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/share/pear/phing/system/io/UnixFileSystem.php on line 258
Phing 2.16.1


Expected results:
$ phing -v
Phing 2.16.1


Additional info:
phing 2.16.3 is available
The upstream repo contains fixes for the deprecation issues
https://github.com/phingofficial/phing/tree/2.16.3

Comment 1 Fedora Update System 2021-02-04 08:05:03 UTC
FEDORA-2021-7cde747fca has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7cde747fca

Comment 2 Fedora Update System 2021-02-05 01:27:04 UTC
FEDORA-2021-8d99d60b65 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8d99d60b65`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8d99d60b65

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-02-05 03:05:57 UTC
FEDORA-2021-7cde747fca has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7cde747fca`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7cde747fca

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-02-13 01:17:59 UTC
FEDORA-2021-7cde747fca has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-02-13 01:39:41 UTC
FEDORA-2021-8d99d60b65 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.