@jrf_nl@phpc.social
@jrf_nl@phpc.social avatar

jrf_nl

@jrf_nl@phpc.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jrf_nl, to php
@jrf_nl@phpc.social avatar

PHP_CodeSniffer users: please read this important announcement: https://github.com/squizlabs/PHP_CodeSniffer/issues/3932

squizlabs/PHP_CodeSniffer is dead, long live PHPCSStandards/PHP_CodeSniffer!

Also, please consider sponsoring the project to safeguard its continuation, as without funding, we'll have the same problem again sooner rather than later.

P.S.: @phpcs now also has its own account, follow it to stay informed.

jrf_nl, to random
@jrf_nl@phpc.social avatar

My annual end-of-year ritual of donating to open source maintainers is in full swing.

I invite everyone to look at all the software they use, both on their desktops as well as in their dependency chains and CI.

Please donate. Please contribute to making open source sustainable.

https://phpc.social/

jrf_nl, to random
@jrf_nl@phpc.social avatar

I'm proud to announce that as of today - the day of the first PHP 8.3-RC release - WordPress is beta compatible with PHP 8.3.

What that means is: everything we could find between static analysis and the tests has been fixed and all CI tasks pass on PHP 8.3 and CI is no longer allowed to fail on PHP 8.3.

No doubt there may still be some things which need fixing. If you find something, please report it.

Also see https://core.trac.wordpress.org/ticket/59231 for a complete overview of all things WP and PHP 8.3.

jrf_nl, to php
@jrf_nl@phpc.social avatar

In case you missed it:

Last Friday, one week after the announcement that I'd be taking over maintenance of PHP_CodeSniffer, I have released version 3.8.0.

Enjoy!

https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.8.0

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just released: WordPressCS 3.0.0 ! (at long last)

This is an important release which makes significant changes to improve the accuracy, performance, stability and maintainability of all sniffs, as well as making WordPressCS much better at handling modern PHP.

Please carefully read the changelog and upgrade guides before updating!

Other than that: enjoy!

https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.0.0
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Upgrade-Guide-to-WordPressCS-3.0.0-for-ruleset-maintainers
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Upgrade-Guide-to-WordPressCS-3.0.0-for-Developers-of-external-standards

jrf_nl, to random
@jrf_nl@phpc.social avatar

What the f*ck people ?
Copying code I wrote into your own project and then reporting bugs which don't exist in the original project and expect me to solve your shit ????

Seriously, use Composer like a normal person and don't rip off other people's code....

And yes, they are violating the project license as well.

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just a reminder for those who need it:

DON'T EVER EMAIL OPEN SOURCE MAINTAINERS unless explicitly invited to do so.

Even more so, definitely don't email unpaid open source maintainers with requests for free support.

Seriously, think before you turn yourself into a nuisance.

P.S.: oh and sponsor/pay open source maintainers for their time.

jrf_nl, to random
@jrf_nl@phpc.social avatar

Painfully recognizable... and I mean ALL of these....
https://github.com/bradfitz/issue-tracker-behaviors

jrf_nl, to random
@jrf_nl@phpc.social avatar

I'm proud to announce I have been awarded a Google Open Source Peer Award.
https://opensource.googleblog.com/2023/05/google-open-source-peer-bonus-program-announces-first-group-of-winners-2023.html

It's humbling to be included in this list with so many illustrious names.

I'm also very happy that PHP is (finally) represented in the list of projects included in this program.

jrf_nl, to random
@jrf_nl@phpc.social avatar

Coding standards lovers: if I'd be writing some sniffs to check phpDoc tags.... which tags should be taken into account and what would you want checked ?

PSR-19 would be first on my list, but I've got plenty more ideas and have created tag lists for PHPUnit, PHPStan, Psalm and a few more.

Are there more popular tools with custom annotations I should look at ?

Anything specific you'd really like to be able to enforce via ?

jrf_nl, to random
@jrf_nl@phpc.social avatar

Released: PHPUnit Polyfills 2.0.0.

This version brings support for PHPUnit 10.x to the Polyfills for assertions and expectations.

A PHPUnit 10.x compatible TestListener implementation will follow in a future 2.x release.

Enjoy!

https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/2.0.0

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just released: PHPUnit Polyfills 1.1.0, which syncs with PHPUnit 9.6.11 and polyfills the backports of the assertObjectHasProperty() and assertObjectNotHasProperty() methods.

If your project is still limited to PHPUnit < 10, this upgrade allows you to get rid of the deprecation notices about the assertObjectHasAttribute() and assertObjectNotHasAttribute() methods.

If you are already using the PHPUnit Polyfills 2.0.0, you're good and can ignore this message.

https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/1.1.0

jrf_nl, to random
@jrf_nl@phpc.social avatar

Released: PHPUnit Polyfills 1.1.1 and 2.0.1

These versions provide compatibility hotfixes to continue to allow for running tests using a PHPUnit PHAR file after today's PHPUnit 8.5.38, 9.6.19 and 10.5.17 releases.

Enjoy!

https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/1.1.1
https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/2.0.1

jrf_nl, to random
@jrf_nl@phpc.social avatar

Accidentally wrote five sniffs to scratch my own itch over the weekend...

Not ready for public use yet (rough drafts), but working for my immediate purpose for now... (auto-fixing things to update a test suite for PHPUnit 11). 😁

Watch this space as these will enter the public domain at some point in the future...

jrf_nl, to random
@jrf_nl@phpc.social avatar

First 10 functional PRs merged in the new PHP_CodeSniffer repo 🎉

Time for lunch. More to follow.

For context: https://phpc.social/

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just noticed that PHP_CodeSniffer has crossed the 200 million downloads via Packagist threshold... Congratulations to Greg Sherwood!

https://packagist.org/packages/squizlabs/php_codesniffer

jrf_nl, to random
@jrf_nl@phpc.social avatar

Sometimes I just want to slap someone...

"You're not objective as you will benefit from funds collected"...

Seriously ? I've been contributing to the project for over 8 years without getting a penny.
I could have just let the project die, but I recognized that a LOT of people depend on it (which includes me), and decided to step up, even though I'm strapped for time as it is.

Oh well, I guess assholes will be assholes.

jrf_nl, to random
@jrf_nl@phpc.social avatar

Cleaning up merged branches... the PHP_CodeSniffer 3.8.0 release is going to be great!

jrf_nl, (edited ) to random
@jrf_nl@phpc.social avatar

Just done a barrage of test runs on projects I (co-) maintain with the latest PHP 8.3.0(beta1).

Aside from some small fixes here and there, things are looking good.

Do I dare believe that I might actually be able to get some work done this year ? (instead of mopping up PHP deprecations for 8 months)

https://giphy.com/gifs/rozes-l0IynJeJ9YERGyKm4

jrf_nl, to random
@jrf_nl@phpc.social avatar

I'm hoping to get most of the syntax support for PHP 8.3 ready over the next few days, which means that if all goes well, it will be included in 3.9.0 release.

The PR to add Tokenizer support for PHP 8.3 readonly anonymous classes to PHPCS is already open.

https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/309

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just released: PHPCSExtra 1.1.0 with 7 new sniffs for your code QA pleasure.

Update now using composer require phpcsstandards/phpcsextra:"^1.1.0" --update-with-dependencies

For more information, see the release notes/changelog:
https://github.com/PHPCSStandards/PHPCSExtra/releases/tag/1.1.0

jrf_nl, to random
@jrf_nl@phpc.social avatar

This Thursday I'll be at for an Ask-Me-Anything session about PHP_CodeSniffer.

Ask your question and I'll answer with a live demo.

Should be fun, come join us if you can :elephpant_blue:

https://www.meetup.com/010php/events/298657250/

jrf_nl, to random
@jrf_nl@phpc.social avatar

Feeling very invisible while quietly working on some awesome new features for .

Coming up soon....

jrf_nl, to random
@jrf_nl@phpc.social avatar

Just released: WordPressCS 3.1.0 🎉

This release contains three new sniffs and updates for the upcoming WP 6.5 release.

Enjoy and always --update-with-dependencies !

https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.1.0

jrf_nl, to random
@jrf_nl@phpc.social avatar

Gotcha!

Time to clean up my messy code littered with debug statements and create a clean atomic commit for public consumption.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • osvaldo12
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • khanakhh
  • mdbf
  • rosin
  • Youngstown
  • slotface
  • love
  • ngwrru68w68
  • kavyap
  • tacticalgear
  • megavids
  • tester
  • anitta
  • cubers
  • Durango
  • thenastyranch
  • everett
  • cisconetworking
  • GTA5RPClips
  • provamag3
  • Leos
  • ethstaker
  • modclub
  • JUstTest
  • All magazines