Skip to content

Instantly share code, notes, and snippets.

View OskarStark's full-sized avatar
💻
SensioLabs ❤️ Symfony

Oskar Stark OskarStark

💻
SensioLabs ❤️ Symfony
View GitHub Profile
Twig_Error_Runtime:
Neither the property "count" nor one of the methods "count()", "getcount()"/"iscount()"/"hascount()" or "__call()" exist and have public access in class "Enqueue\Bundle\Profiler\MessageQueueCollector".
at vendor/enqueue/enqueue-bundle/Resources/views/Profiler/panel.html.twig:4
at twig_get_attribute(object(Twig_Environment), object(Twig_Source), object(MessageQueueCollector), 'count', array())
(var/cache/dev/twig/f9/f995d8d3dca40c816e00dbb71d70facba485f3b7d29e1d3b19ee8f30e3a9ce83.php:56)
at __TwigTemplate_d5677ef9fe9993aa5ef688e8c2791a16d3505e161ba386063d2fd1233adfc784->block_toolbar(array('request' => object(Request), 'profile' => object(Profile), 'templates' => array('request' => '@WebProfiler/Collector/request.html.twig', 'api_platform.data_collector.request' => '@ApiPlatform/DataCollector/request.html.twig', 'time' => '@WebProfiler/Collector/time.html.twig', 'memory' => '@WebProfiler/Collector/memory.html.twig', 'validator' => '@WebProfiler/Collector/validator.html.twig', 'a
#!/bin/bash
PHP_VERSIONS="5.6 7.0 7.1 7.2 7.3 7.4"
EXTENSIONS="amqp imagick imap"
echo "Add taps"
brew tap shivammathur/php
brew tap shivammathur/extensions
echo "Remove all available PHP configs"
@OskarStark
OskarStark / estimation-sf8.md
Last active April 14, 2026 07:43
Zeitschätzung: Symfony 7.4 → 8.0 Upgrade – ORF TVthek

Zeitschätzung: Symfony 7.4 → 8.1 Upgrade – ORF TVthek

Hinweis: Diese Schätzung basiert auf dem Ist-Stand der Codebase (April 2026), geht davon aus, dass das Symfony 6.4 → 7.4 Upgrade bereits abgeschlossen ist, und berücksichtigt die offiziellen UPGRADE-8.0.md und UPGRADE-8.1.md aus dem Symfony-Repository. Das eigentliche Ziel ist Symfony 8.4 LTS (erscheint November 2026) – zum Zeitpunkt des Upgrades wird 8.4 voraussichtlich bereits released sein. Da dort noch zusätzliche Deprecations hinzukommen können (relevant für Symfony 9), ist entsprechender Puffer einkalkuliert.

Kontext: Warum 7.4 → 8.1 anders ist als 6.4 → 7.4

Symfony 8.0 ist ein „Cleaning Release" – es enthält keine neuen Features, sondern entfernt alle Deprecations aus dem 7.x-Zyklus. Symfony 8.1 baut darauf auf und bringt erste neue Features + Deprecations (relevant für 8.4/9.0). Drei bestätigte Großbaustellen treiben den Aufwand:

  1. PHP 8.4.1 als Minimum-Version (Sprung von 8.2)
  2. Doctrine ORM 3.4+ / DBAL 4.3+ zwinge