digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

823
active users

#php8

0 posts0 participants0 posts today
Ortwin Pinke<p>Qualitativ hochwertige Programmierung gibt es nicht zum Discount-Preis, und ich mag auch nimmer. Bei mir gibt's durchdachte Qualität, und ich nehme mir auch die Zeit meine Arbeit zu testen und zu dokumentieren. Das kostet Zeit, und damit auch Geld. Wer das nicht möchte, bitte weiter gehen. </p><p><a href="https://mastodon.online/tags/Entwicklung" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Entwicklung</span></a> <a href="https://mastodon.online/tags/PHP8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP8</span></a> <a href="https://mastodon.online/tags/developer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developer</span></a> <a href="https://mastodon.online/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a></p>
.:\dGh/:.<p>My Laravel PR was shot down, but I may give it a chance later in the year to use Property Hooks as attribute cast.</p><p>Why? I blindly guess that using Property Hooks are less computationally costly but also IDE friendly.</p><p><a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://mastodon.social/tags/Laravel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Laravel</span></a> <a href="https://mastodon.social/tags/PHP8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP8</span></a> <a href="https://mastodon.social/tags/PHP84" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP84</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://mastodon.social/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareDevelopment</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a></p>
.:\dGh/:.<p>PHP property hooks are great until they are not.</p><p>It fathoms me how this big oversight got past stable.</p><p><a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://mastodon.social/tags/Bug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bug</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Software</span></a> <a href="https://mastodon.social/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareDevelopment</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/PHP8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP8</span></a> <a href="https://mastodon.social/tags/PHP84" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP84</span></a> <a href="https://mastodon.social/tags/Error" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Error</span></a></p>
Steve B<p>Hi, I'm looking for help with <a href="https://mastodon.ie/tags/server" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>server</span></a> and <a href="https://mastodon.ie/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> again.</p><p>My server settings are in the attached image.</p><p>The issue I'm having is php error warnings filling up the logs located at /logs/. There are thousands of entries, and it's taking up masses of space, plus, I think, overloading the server and slowing it down.</p><p>I want to turn off the reporting of warnings, and only have actual errors reported.</p><p>My server guy is trying to help, kinda, but he just doesn't seem to understand <a href="https://mastodon.ie/tags/php8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php8</span></a> error reporting.</p>

Gestern die nächsten möglichen Schritte zum #OpenSource #CMS #CONTENIDO besprochen.

Wir werden das Release der 4.10.2-dev vorbereiten.

Auch suchen wir noch Tester, die den aktuellen develop-Branch auf Herz und Nieren unter #PHP8 testen.

Lust? Zeit?

#developer #development

github.com/CONTENIDO/CONTENIDO

GitHubGitHub - CONTENIDO/CONTENIDO: CONTENIDO CMSCONTENIDO CMS. Contribute to CONTENIDO/CONTENIDO development by creating an account on GitHub.

So, i learned today that #PHP #php8 has deprecated strftime and #php9 plans to remove it. They officially say you should be using either date() or the intldateformatter suite instead.

Like... what?

strftime is ISO Standard! It's literally POSIX! The format flags are even "printf"-style!

Not only that, but the proposed """replacements""" force you to choose between whatever variant of racism, classism and Americentrism you like!: date() works only in US English and only for numbers, whereas intldateformatter supports languages but requires users of any culture other than "US English" to load a whole PHP module.

Oh, besides you have to change the format strings (woe betide if you are using user-provided!), ALSO these replacements *invert the logic* for processing the format strings as well: intldateformatter etc escapes everything that is *not* a format flag.

Fortunately, forwardports already exist such as github.com/alphp/strftime/ .

GitHubGitHub - alphp/strftime: This provides a cross-platform alternative to strftime() for when it will be removed from PHPThis provides a cross-platform alternative to strftime() for when it will be removed from PHP - alphp/strftime

Working on the #doctrineorm v1 codebase and its test suite, make you realise how much work has been done on #phpunit, and it simply works! Thank you @sebastian!

At the same time the legacy Doctrine v1 still manages OK-ish in the era of #php8 ! Still with no class namespaces and by implementing its own autoloading system! Is it probably from #php4 times? 🤔

Kudos to the original authors!
(Are they around here BTW?)

Continued thread

Notable change: `method_argument_space` fixer with `ensure_fully_multiline` now enforces #PHP8 attributes to be in separate line. It was already reported as a bug, but it's expected behavior, compliant with PER-CSv2, more information here:

github.com/PHP-CS-Fixer/PHP-CS

GitHub[method_argument_space] Adds a line break between attribute and variable in function declarations · Issue #7260 · PHP-CS-Fixer/PHP-CS-FixerBy guelosuperstart

Und zack, da ist es, wieso ich so ein komisches Gefühl hatte.
Ein weiterer Kunde mit #Wordpress und #PHP8 Problem. Alles mal durchdenken und Angebot ist raus.
Nur die Zeit drängt, da er bei IONOS ist und die stellen ab April um.
Ansonsten 8 EUR mehr fürs Hosting.

I updated #typo3scan cli tool for #TYPO3 v12 and #php8. It delivers the same results as the 'ExtensionScanner' in the backend. You can use it to check extensions, if you have not v12 running or the extensions break the backend.

github.com/mschwemer/typo3scan

(PRs pending)

GitHubGitHub - mschwemer/typo3scan: Scans TYPO3 extensions for usage of deprecated and or changed codeScans TYPO3 extensions for usage of deprecated and or changed code - mschwemer/typo3scan

Ok, this might be a bit of a niche one but I'm massively stuck and could do with some help.

Any #php devs out there that are using #pdo_sqlsrv on #php8 on an Apple Silicon machine?

I keep getting an error `Unsupported processor architecture.`. The strange thing is that this works on our current dev environment on the #php7 branch