Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled testing of APCU for all PHP versions when running with all extensions enabled #363

Merged
merged 1 commit into from
Aug 21, 2023

Commits on Aug 17, 2023

  1. Enabled testing of APCU for all PHP versions.

    In order to accomplish successful passing of tests in all supported PHP versions:
    - Removed a few instances of erroneous doesNotPerformAssertions annotations.
    - Changed the detection from "apc" to "apcu".
    - Added protection for classes unserialization in TwoLevels cache and made it remove the ID from either cache if it was corrupted at rest.
    - Fixed the testSaveOverwritesIfFastIsFull() method to only partially mock the fast cache. Specifically, mock only the getFillingPercentage() method, and still really execute the rest, rather than just return NULL, which in turn caused the test to fail.
    - Added debug logs in TwoLevels cache, and warnings in File cache on errors.
    boenrobot committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    2a2bbcf View commit details
    Browse the repository at this point in the history