Repository navigation
Conversation
build: bump vimeo/psalm to ^6 || ^7 Testo needs PHP 8.2. Psalm 5 does not install on PHP above 8.3, which kept the security audit on PHP 8.5 red. The new Psalm reports for #[\Override] (a PHP 8.3 attribute) and an int|float operand in the TTL conversion are suppressed in psalm.xml until the static analysis pass. Assisted-By: Claude Opus 5.5
ci: run tests via the shared testo workflow Mockery stays as the mocking library: Double requires PHP 8.3. Push triggers now target 1.x, since the old *.* pattern never matched the default branch. Assisted-By: Claude Opus 5.5
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vimeo/psalmis bumped to^6 || ^7, so dependencies install on PHP 8.5 again and the security audit job goes green.testo/bridge-mockery(Double needs PHP 8.3). PHPUnit is removed.spiral/gh-actionstesto workflow (PHP 8.2–8.6, lowest and highest deps, see feat(testo): test PHP 8.2-8.6 by default, add test-server input spiral/gh-actions#10); push triggers target1.x.MissingOverrideAttributeand oneInvalidOperandinLock::convertTimeToMicroseconds(); both are suppressed inpsalm.xmluntil a separate static analysis PR.Review notes
The five negative-TTL tests expect
LogicException, butLockvalidates withassert(). Withzend.assertionsoff (as in CI) they pass only because the unexpected RPC call raises Mockery'sBadMethodCallException; with assertions on they fail withAssertionError. This was already the case under PHPUnit, where they were reported as risky and failed the 1.x run. The tests are ported as they were.How was this tested:
zend.assertions=-1)