Skip to content

[php-di v7] Loosen APCu check for SourceCache #17

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

Open
wants to merge 3 commits into
base: mod7
Choose a base branch
from

Conversation

partikus
Copy link
Collaborator

@partikus partikus commented Jan 13, 2023

Version compatible with PHP ^8.0 as a successor of #3

Details (copied from #3)

Use sourceCache if isSupported check passes, otherwise proceed without cache and do not throw an exception

  • so that php-di does not break if there is any problem with apcu - instead of having to wrap ContainerBuilder::build() with try...catch block

@partikus partikus force-pushed the feature/php-di-7-loosen-apcu-check branch from 7ed575e to d965c4c Compare January 10, 2024 07:46
@partikus partikus force-pushed the feature/php-di-7-loosen-apcu-check branch from d965c4c to 64c6a36 Compare January 10, 2024 08:40
1. Detected deprecations in use:
- Rule "braces" is deprecated. Use "single_space_around_construct", "control_structure_braces", "control_structure_continuation_position", "declare_parentheses", "no_multiple_statements_per_line", "curly_braces_position", "statement_indentation" and "no_extra_blank_lines" instead.

2. Detected deprecations in use:
- Rule "curly_braces_position" is deprecated. Use "braces_position" instead.
mnapoli and others added 2 commits January 10, 2024 19:05
…ions

feat: php-cs-fixer - removing deprecations
…t cache and do not throw an exception

- so that php-di does not break if there is any problem with apcu - instead of having to wrap ContainerBuilder::build() with try...catch block
@partikus partikus force-pushed the feature/php-di-7-loosen-apcu-check branch from 66fdbff to 25acbd2 Compare January 11, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants