Skip to content

Fix monolog compatibility, add CI compatibility matrix and fix PHPStan errors - #92

Merged
AUDUL merged 3 commits into
masterfrom
ci-compat-matrix
Oct 2, 2026
Merged

AUDUL merged 3 commits into
masterfrom
ci-compat-matrix

Conversation

@AUDUL

@AUDUL AUDUL commented Oct 2, 2026

Copy link
Copy Markdown
Contributor
  • Use a stream resource in JobProcessor instead of the fileOpenMode named argument (monolog >= 3.8 only)
  • Require monolog ^3.0 (monolog-bridge 7.4 does not allow ^2)
  • Frequency constraint: use PHP attribute
  • CI: PHP 8.2-8.5 x highest/lowest, dbal 3 and 4, php-cs-fixer, PHPStan
  • Fix PHPStan errors (always-true instanceof, DateTimeInterface clone, int/string in ExpressionBuilder::in())

AUDUL added 2 commits October 2, 2026 13:57
…n errors

- Use a stream resource in JobProcessor instead of the fileOpenMode named
  argument (monolog >= 3.8 only)
- Require monolog ^3.0 (monolog-bridge 7.4 does not allow ^2)
- Frequency constraint: use PHP attribute
- CI: PHP 8.2-8.5 x highest/lowest, dbal 3 and 4, php-cs-fixer, PHPStan
- Fix PHPStan errors (always-true instanceof, DateTimeInterface clone,
  int/string in ExpressionBuilder::in())
- Add Rector job (PHP 8.4) and apply its suggestions
- Add league/flysystem to require-dev so PHPStan knows its classes
- Run code style and PHPStan on PHP 8.4 (DateInterval::createFromDateString
  only throws since PHP 8.3, making the catch a dead catch on 8.2)
@AUDUL
AUDUL requested a review from jeremycr October 2, 2026 12:06
@AUDUL
AUDUL merged commit f6dab57 into master Oct 2, 2026
20 checks passed
@AUDUL
AUDUL deleted the ci-compat-matrix branch October 2, 2026 12:17
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.

2 participants