This repository was archived by the owner on Aug 18, 2023. It is now read-only.
Refactored code to use php 7.4 + added strict types, phpcsfixer and phpstan checks#56
Open
wlodekj wants to merge 4 commits intoklaviyo:masterfrom
Open
Conversation
|
Thanks for the submission - we do want to retain support for PHP 5.6 for the time being. We will work to include your changes and improvements into future releases of the SDK. |
|
@njparadis that doesn't seem like a good option IMHO. Whoever is using old php version can still use old versions and no one will stop you if U do a small change to release new older versions... |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Hey everyone,
This is my take on improving some of the codebase of klaviyo php sdk. Some key changes in this PR:
composer installrunning something like this :will execute phpunit tests + cs fixer and phpstan check
and another job added:
Will automatically fix csfixer errors (new config file added
.php_cs.phpwith all applied rules)There is still some work here but wanted to hear your opinion about that. It's probably a release candidate for 3.0.0 version.
Thanks,
Jakub