Skip to content

Modernize the package - #2

Merged
claar merged 2 commits into
masterfrom
modernize-toolchain
Aug 31, 2026
Merged

claar merged 2 commits into
masterfrom
modernize-toolchain

Conversation

@claar

@claar claar commented Aug 28, 2026

Copy link
Copy Markdown
Member

Tooling and docs cleanup. No behavior change.

Tests can now run. composer install was failing outright on the phpunit ~4.6.6 pin (security advisory), and 4.6 can't run on PHP 8 anyway. Now ^11.5.50 || ^12.5.8 || ^13.3, so each supported PHP gets the newest PHPUnit it can run, all past the CVE-2026-24765 patch line. Tests namespaced under Piestar\Dough\Tests. 18/18 pass.

Supported versions. CI and dev dependencies track only PHP versions still receiving security updates (8.2 through 8.5). The runtime constraint stays permissive at >=5.4: the package ships no dependencies, so a floor there would exclude users on vendor-backported builds without securing anyone. README states the distinction.

composer.json. type was project, should be library. Added authors, support links, autoload-dev, a composer test script.

CI. Dropped dead Travis/Scrutinizer configs, added GitHub Actions across PHP 8.2, 8.3, 8.4 and 8.5.

README. Documented the or "Default" syntax and added a security note that escaping is htmlentities() and nothing more.

Tag 1.1.0 after this. It supersedes 1.0.2, which ships the unresolvable dev requirement.

@claar
claar force-pushed the modernize-toolchain branch from 501725b to 85f4d8e Compare August 31, 2026 21:58
@claar
claar force-pushed the modernize-toolchain branch from 85f4d8e to 7c1b411 Compare August 31, 2026 22:00
@claar claar changed the title Modernize the package for public use Modernize the package Aug 31, 2026
@claar
claar merged commit 7d1fb0a into master Aug 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant