Skip to content

Mass failure after Ubuntu upgrade #798

@iBotPeaches

Description

@iBotPeaches

Describe the bug

All our builds are failing now (Including Laravel) after this change: shivammathur/php-ubuntu@83d1155

It manifest as an error of

Error: Child process error (exit code 255): PHP Fatal error:  Declaration of Symfony\Component\Cache\CacheItem::expiresAt(?DateTimeInterface $expiration): static must be compatible with PsrExt\Cache\CacheItemInterface::expiresAt($expiration) in /home/runner/work/xxx-Laravel/xxx-Laravel/vendor/symfony/cache/CacheItem.php on line 65
PHP Fatal error:  Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrExt\Log\LoggerInterface::emergency($message, array $context = []) in /home/runner/work/PinchAPenny-Laravel/PinchAPenny-Laravel/vendor/monolog/monolog/src/Monolog/Logger.php on line 681

Which I found is claimed as a "buggy" extension by Symfony: symfony/symfony#49984

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
Ubuntu

PHP versions
All

To Reproduce
Run PHPStan?

Expected behavior
Not a crash

Are you willing to submit a PR?
I'd just revert this shivammathur/php-ubuntu@83d1155

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions