Colin Stewart

26 Followers
26 Following
11 Posts

Senior Developer. #foss #opensource

FAIR (@fairpm) TSC Member
WordPress Core Committer,
Upgrade/Install & Filesystem component maintainer, Triage Lead for WP 6.0, 6.2

GitHubhttps://github.com/costdev
Blueskycostdev.bsky.social

Thrilled that we announced the launch of FAIR Package Manager today! This is for everyone in the ecosystem, and I can't wait to see more contributors join. Come collaborate with us! #FAIRPM

https://www.linuxfoundation.org/press/linux-foundation-announces-the-fair-package-manager-project-for-open-source-content-management-system-stability

Linux Foundation Announces the FAIR Package Manager Project for Open Source Content Management System Stability

Linux Foundation announces FAIR Package Manager project, creating simplicity, security and consistency for the WordPress ecosystem

#WordPress is anyone more annoyed about all the warnings emanating from `_load_textdomain_just_in_time` in WP 6.7? I am. With some help from @johnbillion I give you the following plugin.

https://gist.github.com/afragen/986ba6046ebea963074283a77cae07fc

quiet-load-textdomain-warning.php

GitHub Gist: instantly share code, notes, and snippets.

Gist

So I've built a composer library that's essentially a single file, < 200 lines, as drop-in updater for #WordPress plugins/themes. 2 lines of code to activate it.

Update server simply requires release versions of your plugin/themes (they don't have to active). You need Git Updater running on the backend not your users.

https://github.com/afragen/git-updater-lite

Test with https://github.com/afragen/test-plugin-gu-lite

I still have some testing with themes to do, but it's reasonably stable if anyone wants to take it for a spin.

GitHub - afragen/git-updater-lite: Lightweight class to integrate for standalone plugin/theme updates.

Lightweight class to integrate for standalone plugin/theme updates. - afragen/git-updater-lite

GitHub
Preach @jrf_nl !

Whoops... looks like I just got my first _functional_ PR merged into PHP Core (as in not a documentation PR). 🎉

Thanks @Girgias for merging this!

https://github.com/php/php-src/pull/15433

PHP 8.4 | Exit as function: fix incorrect parameter name by jrfnl · Pull Request #15433 · php/php-src

Follow up on #13483 As previously reported in #13483 (comment): The parameter names seem to be incorrect. It should be $status, not $code. The RFC explicitly uses that parameter name in the propos...

GitHub

Hey #WordPress, let me and @costdev help y’all write better bug/test reports.

https://wordpress.org/plugins/test-reports/

Test Reports

Get templates with useful information to help you submit reports to WordPress.

WordPress.org

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.

#59231 (Prepare for PHP 8.3) – WordPress Trac

WordPressCS 3.0.0 is now available

What a great job by the maintainer team @jrf_nl, Gary Jones, @made_by_denis.

Important sidenote: "Unless funding is found to continue maintaining WordPressCS and its dependencies, the future is bleak and maintenance will be halted."

Is your employer using the WordPressCS, or are you running a business and are you using it, donate to/sponsor the project, or its maintainers. #WordPress needs it.

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

Release 3.0.0 · WordPress/WordPress-Coding-Standards

Important information about this release: At long last... WordPressCS 3.0.0 is here. This is an important release which makes significant changes to improve the accuracy, performance, stability and...

GitHub

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

Release 1.1.0 · Yoast/PHPUnit-Polyfills

Added Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty trait to polyfill the Assert::assertObjectHasProperty() and Assert::assertObjectNotHasProperty() methods as backported from PHPUnit 10.1...

GitHub