maccath, to php
@maccath@phpc.social avatar

The life of a maintainer (and generally any back-end engineer) - if your existence is acknowledged, something's probably gone wrong! I feel you, @jrf_nl

Thank you to all of the package maintainers out there 💕

markusstaab, (edited ) to random German
@markusstaab@phpc.social avatar

My #phpstan extension #todoby recently crossed 150 stars.

it allows you to put expiration on your code comments.
a comment can expire by e.g. a github, jira or youtrack issue-url. expiration dates and composer version constraints also work.

give it a shot :)

https://github.com/staabm/phpstan-todo-by

ramsey,
@ramsey@phpc.social avatar

@shochdoerfer @markusstaab I am curious, though, why it’s a #PHPStan extension and not a #phpcs sniff (or something of the code style sort).

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

#PHP #PHPCS

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

#PHPCS, a major #PHP library used by almost every major PHP project incl. #WordPress, 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 ?

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