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

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 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

ramsey, to php
@ramsey@phpc.social avatar

One of the first things I did when I was laid off was to cancel all my FOSS donations, which made me sad, but I’m still not sure how long this period of unemployment will last, so it was the prudent thing to so.

But once I get hired, I know I’m going to sign up to regularly donate to @phpcs! https://opencollective.com/php_codesniffer

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!

cyberia, to php
@cyberia@mast.eu.org avatar

, a major library used by almost every major PHP project incl. , needs support ↴
https://poststatus.com/phpcs-a-major-php-library-needs-support/

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 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

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

As of this week, I have commit rights for PHP_CodeSniffer: https://github.com/squizlabs/PHP_CodeSniffer/issues/3814

Today Greg Sherwood and me had our first maintainers work call and it was very productive.
9 PRs merged, 5 issues closed. Progress!

jrf_nl,
@jrf_nl@phpc.social avatar

Progress is being made: another 8 PRs merged and 1 issue closed today.

We'll get there.

wyri, to php
@wyri@haxim.us avatar

Hate it when this happens:

itsjoshbruce, to php
@itsjoshbruce@phpc.social avatar

This one is interesting to me.

Composer (and Terminal) cannot run , , or :

"env: php: No such file or directory"

Trying to figure out what details matter.

removed from the base install. Instead of using Homebrew, "installed" by pointing to the version.

which php - returns correctly (RC)
php -v - RC
which composer - RC
composer -v - RC

This is a new one for me, and the only environment difference I can think of is how PHP is "installed."

Thoughts?

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