Bug 1896900 - php-pear-phing 2.16.1 uses syntax deprecated in PHP 7.4
Summary: php-pear-phing 2.16.1 uses syntax deprecated in PHP 7.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: php-pear-phing
Version: 32
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-11 19:35 UTC by Carl Larsson
Modified: 2021-02-13 01:39 UTC (History)
2 users (show)

Fixed In Version: php-pear-phing-2.16.4-1.fc32 php-pear-phing-2.16.4-1.fc33
Clone Of:
Environment:
Last Closed: 2021-02-13 01:17:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.