Opened 2 years ago
Closed 7 months ago
#65421 closed defect (invalid)
CFPropertyList 2.0.1 error and warning in php 8.1
Reported by: | pdvnl | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | php81 | Cc: | pdvnl |
Port: | CFPropertyList |
Description
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFBinaryPropertyList.php on line 804
---
Deprecated: Return type of CFPropertyList\CFArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 476 Deprecated: Return type of CFPropertyList\CFArray::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 496 Deprecated: Return type of CFPropertyList\CFArray::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 486 Deprecated: Return type of CFPropertyList\CFArray::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 507 Deprecated: Return type of CFPropertyList\CFArray::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 466 Deprecated: Return type of CFPropertyList\CFArray::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 523 Deprecated: Return type of CFPropertyList\CFArray::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 535 Deprecated: Return type of CFPropertyList\CFArray::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 548 Deprecated: Return type of CFPropertyList\CFArray::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 560 Deprecated: Return type of CFPropertyList\CFDictionary::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 719 Deprecated: Return type of CFPropertyList\CFDictionary::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 740 Deprecated: Return type of CFPropertyList\CFDictionary::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 730 Deprecated: Return type of CFPropertyList\CFDictionary::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 751 Deprecated: Return type of CFPropertyList\CFDictionary::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFType.php on line 707
same for php80.
in php74 the now fatal error was a deprecated warning:
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFBinaryPropertyList.php on line 804 /opt/local/lib/php/github/CFPropertyList/classes/CFPropertyList/CFBinaryPropertyList.php on line 827
Change History (2)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Looks like you created this port yourself; you wrote to our mailing list asking for help developing it:
https://lists.macports.org/pipermail/macports-users/2018-March/044735.html
Not our bug.
Note: See
TracTickets for help on using
tickets.
I'm not familiar with this file and we do not have a port called "CFPropertyList". Where does the file come from? To find out if a MacPorts port installed it, run:
If it says no port provides it, presumably you installed it yourself and you'll have to contact whoever developed it for a solution.