Aside from an error complaining that vendor/autoload.php is missing, I was getting this logging constantly when running docker compose up:
gnu-social-worker-1 | Fatal error: Uncaught LogicException: You need to add "symfony/framework-bundle" as a Composer dependency. in /var/www/social/bin/console:18
gnu-social-worker-1 | Stack trace:
gnu-social-worker-1 | #0 {main}
gnu-social-worker-1 | thrown in /var/www/social/bin/console on line 18
Aside from an error complaining that vendor/autoload.php is missing, I was getting this logging constantly when running docker compose up:
gnu-social-worker-1 | Fatal error: Uncaught LogicException: You need to add "symfony/framework-bundle" as a Composer dependency. in /var/www/social/bin/console:18
gnu-social-worker-1 | Stack trace:
gnu-social-worker-1 | #0 {main}
gnu-social-worker-1 | thrown in /var/www/social/bin/console on line 18
I wish I had somebody else seriously involved with Owncast. It would be amazing to have somebody to share things with, positive or negative. But there's nobody else in the world who cares, or even understands the nitty gritty day to day that I can talk to. I'm sure there's people who would listen, but nobody would care.
One thing I would love to see more projects do is label some of the low priority but simple issues as a good first issue. You can see that here on the #dbatools repo. That gives people curious about contributing a good place to start and get their feet wet.
I'm a #sqlserver#DBA, I don't know #php. When looking at the issues list, I don't even know where I'd begin. A label would help with that.
@gruber@chucker@willie Slack and Wikimedia both adopted HHVM, but when the Zend Engine began outperforming HHVM in benchmarks, Wikimedia switched back to the de facto #PHP implementation.
Slack still uses HHVM.
HHVM runs PHP, but it’s stuck at PHP 5.4 compatibility (with some PHP 7 features), and they no longer support PHP. This means, if you want to use HHVM, you no longer have a vast ecosystem of open source Composer libraries at your disposal.
Whenever I catch myself using advanced features of mocking frameworks, when I step back to look again, it's usually a sign there's a problem in the implementation design.
@jasongorman a good example in #php is #mockery with instance mocks using override IMO. Adds a huge amount of complexity, needs tests to run in dedicated processes (slower) and also some special global state config.
Can be avoided relatively easily by either using proper dependency injection or fixing value objects to really be value objects and just let the test code construct them..
Now that I have all the pieces, my goal is to migrate the legacy #LDJam website data over the weekend. Changing names, emails, and recovering data from unlinked accounts will come after.
Starting next week, I need to find sponsor(s) for Ludum Dare 54 in September, because....😅 #LudumDare#Migration
I've run into a situation where I could save myself a lot of trouble if I upgraded my #PHP version.
Unfortunately that means rebuilding the server. That said, I've been meaning to experiment with #Hashicorp#Terraform. 🤔
(some time passes)
Cool! Terraform is quite nice to use. I have a reference copy of my #Linode infrastructure exported and rebuilt for reference, and a new copy I can spin-up and destroy on demand. I still need to write provisioning (install) scripts though. #LDJam
Welcome to this week's Symfony Station communiqué. It's your review of the essential news in the Symfony and PHP development communities focusing on protecting democracy. We also cover the cybersecurity world and the Fediverse.
Finally got around to writing more tests for #Questlog. It's so satisfying when the GitHub actions run so many tests and just turns green.
To be fair, it didn't work right away. Which is good. I found some bugs this way that I didn't have on my machine, but could be a problem on the server.
It's so much easier to write tests for #Laravel with #Pest. I should have adopted this much sooner.
Medium is a fantastic source for PHP and other programming news. Investing in membership is recommended as you can access everything you want to read. It’s worth the investment to boost your career via the helpful articles and tutorials. Our small compensation from this link helps cover expenses for the Symfony Station articles you enjoy on it. https://medium.com/@mobileatom/membership#Symfony#Drupal#PHP#Programming Plus they are big supporters of the Fediverse.
Have an idea for an article for us to write on Symfony Station? Contact us here on Mastodon! And please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony#PHP#Drupal
Symfony Station Communiqué - 16 June 2023 (www.symfonystation.com)
Welcome to this week's Symfony Station communiqué. It's your review of the essential news in the Symfony and PHP development communities focusing on protecting democracy. We also cover the cybersecurity world and the Fediverse.
Iterate files and directories in PHP - Fast tips - Inspector (inspector.dev)
Several options to iterate files and directories in PHP: glob, RecursiveDirectoryIterator, scandir, and PHP generators.