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

Dev 16940 1 #8

Merged
merged 34 commits into from
Apr 26, 2024
Merged

Dev 16940 1 #8

merged 34 commits into from
Apr 26, 2024

Conversation

khelmrich
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change. And don't forget to add the related Jira Issue ID (e.g.
DEV-7327). Swarmia adding then automatically the link to the PR.

Checklist:

  • All acceptance criteria/requirements are met
  • New/updated functionality is covered by tests
  • All tests have been successfully run
  • CI run has passed all checks
  • My code follows the style guidelines of this project
  • Any dependent changes have been merged and released in downstream modules
  • Single feature has passed QA on local environment
  • The initial request has approved/reviewed changes

Copy link

swarmia bot commented Apr 16, 2024

✅  Linked to Story DEV-16940 · Custom: Shopify Metafields

Copy link

private-packagist bot commented Apr 16, 2024

composer.lock

Click to show 104 changes in this composer.lock file

Package changes

Package Operation From To About
doctrine/inflector upgrade 2.0.9 2.0.10 diff - changelog
jane-php/json-schema upgrade v7.6.0 v7.6.1 diff - changelog
jane-php/json-schema-runtime upgrade v7.6.0 v7.6.1 diff - changelog
jane-php/open-api-3 upgrade v7.6.0 v7.6.1 diff
jane-php/open-api-common upgrade v7.6.0 v7.6.1 diff
jane-php/open-api-runtime upgrade v7.6.0 v7.6.1 diff
league/uri upgrade 7.4.0 7.4.1 diff - changelog
league/uri-interfaces upgrade 7.4.0 7.4.1 diff - changelog
monolog/monolog upgrade 2.9.2 2.9.3 diff - changelog
nikic/php-parser upgrade v4.18.0 v4.19.1 diff - changelog
php-http/discovery upgrade 1.19.2 1.19.4 diff - changelog
php-http/message upgrade 1.16.0 1.16.1 diff - changelog
php-http/promise upgrade 1.3.0 1.3.1 diff - changelog
productsupcom/cde-client-container-api upgrade 0.13.9 0.14.2 diff - changelog
productsupcom/dk-core-bundle upgrade dev-main 99253f8 v0.0.2 diff - changelog
productsupcom/lib-dk-core upgrade dev-main 4c53b24 0.0.1 diff - changelog
productsupcom/lib-dk-testing upgrade dev-main b1dad11 v0.0.1 diff - changelog
productsupcom/lib-sqlite upgrade 6.12.2 6.13.0 diff - changelog
symfony/cache upgrade v6.4.3 v7.0.6 diff - changelog
symfony/cache-contracts upgrade v3.4.0 v3.4.2 diff - changelog
symfony/clock upgrade v6.4.3 v7.0.5 diff - changelog
symfony/config upgrade v6.4.3 v7.0.6 diff - changelog
symfony/console upgrade v6.4.3 v7.0.6 diff - changelog
symfony/dependency-injection upgrade v6.4.3 v7.0.6 diff - changelog
symfony/dotenv upgrade v6.4.3 v7.0.4 diff - changelog
symfony/error-handler upgrade v6.4.3 v7.0.6 diff - changelog
symfony/event-dispatcher upgrade v6.4.3 v7.0.3 diff - changelog
symfony/event-dispatcher-contracts upgrade v3.4.0 v3.4.2 diff - changelog
symfony/filesystem upgrade v6.4.3 v7.0.6 diff - changelog
symfony/finder upgrade v6.4.0 v7.0.0 diff - changelog
symfony/flex upgrade v2.4.4 v2.4.5 diff - changelog
symfony/framework-bundle upgrade v6.4.3 v7.0.6 diff - changelog
symfony/http-foundation upgrade v6.4.3 v7.0.6 diff - changelog
symfony/http-kernel upgrade v6.4.3 v7.0.6 diff - changelog
symfony/messenger upgrade v6.4.3 v7.0.6 diff - changelog
symfony/options-resolver upgrade v6.4.0 v7.0.0 diff - changelog
symfony/routing upgrade v6.4.3 v7.0.6 diff - changelog
symfony/runtime upgrade v6.4.3 v7.0.3 diff - changelog
symfony/serializer upgrade v6.4.3 v7.0.6 diff - changelog
symfony/service-contracts upgrade v3.4.1 v3.4.2 diff - changelog
symfony/string upgrade v6.4.3 v7.0.4 diff - changelog
symfony/translation-contracts upgrade v3.4.1 v3.4.2 diff - changelog
symfony/validator upgrade v6.4.3 v7.0.6 diff - changelog
symfony/var-dumper upgrade v6.4.3 v7.0.6 diff - changelog
symfony/var-exporter upgrade v6.4.3 v7.0.6 diff - changelog
symfony/yaml upgrade v6.4.3 v7.0.3 diff - changelog
myclabs/deep-copy remove 1.11.1 - -
phar-io/manifest remove 2.0.3 - -
phar-io/version remove 3.2.1 - -
phpunit/php-code-coverage remove 10.1.11 - -
phpunit/php-file-iterator remove 4.1.0 - -
phpunit/php-invoker remove 4.0.0 - -
phpunit/php-text-template remove 3.0.1 - -
phpunit/php-timer remove 6.0.0 - -
phpunit/phpunit remove 10.5.10 - -
sebastian/cli-parser remove 2.0.0 - -
sebastian/code-unit remove 2.0.0 - -
sebastian/code-unit-reverse-lookup remove 3.0.0 - -
sebastian/comparator remove 5.0.1 - -
sebastian/complexity remove 3.2.0 - -
sebastian/diff remove 5.1.0 - -
sebastian/environment remove 6.0.1 - -
sebastian/exporter remove 5.1.1 - -
sebastian/global-state remove 6.0.1 - -
sebastian/lines-of-code remove 2.0.2 - -
sebastian/object-enumerator remove 5.0.0 - -
sebastian/object-reflector remove 3.0.0 - -
sebastian/recursion-context remove 5.0.0 - -
sebastian/type remove 4.0.0 - -
sebastian/version remove 4.0.1 - -
theseer/tokenizer remove 1.2.2 - -

Dev Package changes

Package Operation From To About
myclabs/deep-copy add - 1.11.1 view code - changelog - License: MIT License
phar-io/manifest add - 2.0.4 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phar-io/version add - 3.2.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/php-code-coverage add - 10.1.14 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/php-file-iterator add - 4.1.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/php-invoker add - 4.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/php-text-template add - 3.0.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/php-timer add - 6.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
phpunit/phpunit add - 10.5.19 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/cli-parser add - 2.0.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/code-unit add - 2.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/code-unit-reverse-lookup add - 3.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/comparator add - 5.0.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/complexity add - 3.2.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/diff add - 5.1.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/environment add - 6.1.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/exporter add - 5.1.2 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/global-state add - 6.0.2 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/lines-of-code add - 2.0.2 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/object-enumerator add - 5.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/object-reflector add - 3.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/recursion-context add - 5.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/type add - 4.0.0 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
sebastian/version add - 4.0.1 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
theseer/tokenizer add - 1.2.3 view code - changelog - License: BSD 3-Clause "New" or "Revised" License
composer/pcre upgrade 3.1.1 3.1.3 diff - changelog
composer/xdebug-handler upgrade 3.0.3 3.0.4 diff - changelog
friendsofphp/php-cs-fixer upgrade v3.49.0 v3.54.0 diff - changelog
phpstan/phpstan upgrade 1.10.58 1.10.67 diff - changelog
roave/security-advisories upgrade dev-latest 683c8e7 dev-latest a6fb2a7 diff
symfony/phpunit-bridge upgrade v6.4.3 v7.0.6 diff - changelog
symfony/process upgrade v6.4.3 v7.0.4 diff - changelog
symfony/stopwatch upgrade v6.4.3 v7.0.3 diff - changelog

Add your project as a package to Private Packagist to benefit from security monitoring of your dependencies.

Settings · Docs · Powered by Private Packagist

@khelmrich khelmrich requested a review from jacekgadomski April 17, 2024 10:36
@khelmrich khelmrich marked this pull request as ready for review April 17, 2024 10:38
@khelmrich khelmrich requested a review from a team as a code owner April 17, 2024 10:38
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

Copy link

codacy-production bot commented Apr 18, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 8a76dfb1 0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8a76dfb) Report Missing Report Missing Report Missing
Head commit (1ee0035) 133 0 0.00%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#8) 129 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link

@jacekgadomski jacekgadomski left a comment

Choose a reason for hiding this comment

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

🔥 nice i like it, needs some minor improvements

.env.test Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
config/services.yaml Outdated Show resolved Hide resolved
config/services.yaml Outdated Show resolved Hide resolved
config/services.yaml Show resolved Hide resolved
src/Export/Infrastructure/Http/Response/Handler.php Outdated Show resolved Hide resolved
src/Export/Infrastructure/Http/Exception/Handler.php Outdated Show resolved Hide resolved
src/Export/Builder/ContentBuilder.php Outdated Show resolved Hide resolved
Copy link

@jacekgadomski jacekgadomski left a comment

Choose a reason for hiding this comment

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

🔥 nice i like it, needs some minor improvements

@khelmrich khelmrich requested a review from jacekgadomski April 19, 2024 15:12
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

Copy link

@jacekgadomski jacekgadomski left a comment

Choose a reason for hiding this comment

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

almost, pls fix json exceptions handling, if you need guidance pls ask

'Content-Type' => 'application/json',
],
]);
$this->responseHandler->handle(json_decode($response->getBody()->getContents(), true), $data, $metafield);

Choose a reason for hiding this comment

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

exeptions are not properly handled, ie: json is not handled

Copy link
Contributor Author

Choose a reason for hiding this comment

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

json exception added

{
return [
'id' => $this->ownerId,
'metafield' => json_encode($this->metafield),

Choose a reason for hiding this comment

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

json exception not handled

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@khelmrich khelmrich requested a review from jacekgadomski April 26, 2024 08:07
Copy link

@jacekgadomski jacekgadomski left a comment

Choose a reason for hiding this comment

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

🔥

@khelmrich khelmrich merged commit 575bf90 into main Apr 26, 2024
5 checks passed
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