Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP's interface typing changes #274

Open
homersimpsons opened this issue Jun 16, 2022 · 0 comments
Open

PHP's interface typing changes #274

homersimpsons opened this issue Jun 16, 2022 · 0 comments
Assignees

Comments

@homersimpsons
Copy link
Collaborator

homersimpsons commented Jun 16, 2022

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

@homersimpsons homersimpsons self-assigned this Jun 16, 2022
@homersimpsons homersimpsons changed the title InnerResultIterator::count() should be compatible with Countable::count() PHP's interface typing changes Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant