Skip to content

feat(php): Remove file cache driver for PHP #733

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

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

damcou
Copy link
Contributor

@damcou damcou commented Jun 22, 2022

🧭 What and Why

🎟 JIRA Ticket: APIC-526

Changes included:

In one of the last review, @millotp asked to investigate the FileCacheDriver.php file, which is not used in the client.
I checked on the current PHP client repository and the file is not used as well, I did some investigation and I found a discussion (from 2018) regarding the file in the corresponding PR : https://github.com/algolia/algoliasearch-client-php/pull/439/files#diff-6290414006afe1d93e90475ab1e1946e34b974e9907eb0a251ad43261058bf89

I'm pretty ok with not keeping the file since we'll have to maintain it, and we have no idea if it's really used or not. It will also prevent from having support regarding file system permissions issues.

WDYT ?

@damcou damcou requested review from millotp and shortcuts June 22, 2022 15:18
@damcou damcou self-assigned this Jun 22, 2022
@netlify
Copy link

netlify bot commented Jun 22, 2022

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 9d5d501
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62b33866e9a27e00084cef5d
😎 Deploy Preview https://deploy-preview-733--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 22, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@shortcuts
Copy link
Member

shortcuts commented Jun 22, 2022

I'm pretty ok with not keeping the file since we'll have to maintain it, and we have no idea if it's really used or not. It will also prevent from having support regarding file system permissions issues.

WDYT ?

I also think we can remove it from the generated client if you did not find more recent motivations to keep it. We should however state it in the language specific breaking change section, like we did for the destroy method: https://api-clients-automation.netlify.app/docs/clients/migration-guides/javascript

@damcou damcou enabled auto-merge (squash) June 22, 2022 15:43
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@damcou damcou merged commit ea6c184 into main Jun 22, 2022
@damcou damcou deleted the feat/APIC-526/remove-file-cache-php branch June 22, 2022 15:48
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Jun 22, 2022
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.

3 participants