Skip to content

PHP's interface typing changes #274

Open
@homersimpsons

Description

@homersimpsons
2022-06-14T12:27:57.004265+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\InnerResultIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\InnerResultIterator::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/InnerResultIterator.php:129)"} []

[2022-06-14T12:27:57.004575+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\InnerResultIterator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\InnerResultIterator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/InnerResultIterator.php:306)"} []

[2022-06-14T12:27:57.004845+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\InnerResultIterator::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\InnerResultIterator::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/InnerResultIterator.php:324)"} []

[2022-06-14T12:27:57.005182+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\InnerResultIterator::offsetSet($offset, $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 {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\InnerResultIterator::offsetSet($offset, $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 at /var/www/html/vendor/thecodingmachine/tdbm/src/InnerResultIterator.php:343)"} []

[2022-06-14T12:27:57.005517+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\InnerResultIterator::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\InnerResultIterator::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/InnerResultIterator.php:359)"} []

[2022-06-14T12:27:57.395900+00:00] php.INFO: Deprecated: Return type of Porpaginas\Page::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Porpaginas\\Page::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/beberlei/porpaginas/src/Porpaginas/Page.php:44)"} []

[2022-06-14T12:27:57.396266+00:00] php.INFO: Deprecated: Return type of Porpaginas\Page::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of Porpaginas\\Page::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/beberlei/porpaginas/src/Porpaginas/Page.php:58)"} []

[2022-06-14T12:27:57.396620+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\PageIterator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\PageIterator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/PageIterator.php:220)"} []

[2022-06-14T12:27:57.396961+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\PageIterator::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\PageIterator::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/PageIterator.php:238)"} []

[2022-06-14T12:27:57.397300+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\PageIterator::offsetSet($offset, $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 {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\PageIterator::offsetSet($offset, $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 at /var/www/html/vendor/thecodingmachine/tdbm/src/PageIterator.php:257)"} []

[2022-06-14T12:27:57.397657+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\PageIterator::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\PageIterator::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/PageIterator.php:273)"} []

[2022-06-14T12:27:57.397987+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\PageIterator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\PageIterator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/PageIterator.php:288)"} []

api_1                | [2022-06-13T08:10:51.487237+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:67)"} []

api_1                | [2022-06-13T08:10:51.487454+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:74)"} []

api_1                | [2022-06-13T08:10:51.487620+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:82)"} []

api_1                | [2022-06-13T08:10:51.487830+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:87)"} []

api_1                | [2022-06-13T08:10:51.488029+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:92)"} []

api_1                | [2022-06-13T08:10:51.488216+00:00] php.INFO: Deprecated: Return type of TheCodingMachine\TDBM\MapIterator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice {"exception":"[object] (ErrorException(code: 0): Deprecated: Return type of TheCodingMachine\\TDBM\\MapIterator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/vendor/thecodingmachine/tdbm/src/MapIterator.php:107)"} []

/cc @nguyenk

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions