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

Line offset fixes #2430

Merged
merged 10 commits into from
Jul 15, 2024
Merged

Line offset fixes #2430

merged 10 commits into from
Jul 15, 2024

Conversation

adriendupuis
Copy link
Contributor

@adriendupuis adriendupuis commented Jul 9, 2024

Question Answer
JIRA Ticket
Versions
Edition

Included and highlighted lines' offset fixes for #2370

Comparisons

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

Two lines removed in 086b885 but the highlighted line wasn't updated.
One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)
One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)
@adriendupuis adriendupuis requested a review from mnocon July 10, 2024 12:22
@adriendupuis adriendupuis marked this pull request as ready for review July 10, 2024 12:22
Copy link
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

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

Thank you!

```

Similarly, you can load a Segment in a group by using `SegmentationService::loadSegmentIdentifier()`:
Similarly, you can load a Segment by using `SegmentationService::loadSegmentByIdentifier()`:
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch 😄

@mnocon mnocon merged commit 35ef89b into add-phpstan Jul 15, 2024
4 of 5 checks passed
@mnocon mnocon deleted the add-phpstan-ad-fixes branch July 15, 2024 07:56
mnocon added a commit that referenced this pull request Jul 17, 2024
* Applied CI review suggestion

* Added basic PHPStan config

* Added PHPStan for ActivityLog examples

* Added CI

* [TMP] Added invalid code on purpose

* Fixed auth issues

* Fixed CS job

* PHP CS Fixes

* Rerun

* Simplified namespaces

* [TMP] Use the old namespace

* Generated baseline

* Reduced baseline

* Finished reviewing baseline

* PHP CS Fixes

* Rerun

* Removed autoloading

* [TMP] Break

* Adjusted lines

* Apply suggestions from code review

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>

* Added space separation

* Line offset fixes (#2430)

* checkout_api.md: Fix included lines after PHPStan fixes

* price_api.md: Fix included lines after PHPStan fixes

The confirmation output at the end of "Resolve prices" example was missing.

* create_custom_attribute_type.md: Fix highlighted line

Two lines removed in 086b885 but the highlighted line wasn't updated.

* search_api.md: Use `ContentTypeTermAggregation` lines

* oauth_client.md: Fix PROVIDER_PREFIX highlight

* segment_api.md: Fix highlighted line

One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)

* segment_api.md: Fix highlighted lines

One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)

* segment_api.md: Fix loadSegmentByIdentifier example intro

* search_api.md: Fix #sorting-results offset

* cart_api.md: Add missing EOF new line

* Added basic PHPStan config

* Added PHPStan for ActivityLog examples

* Added CI

* [TMP] Added invalid code on purpose

* Fixed auth issues

* Fixed CS job

* PHP CS Fixes

* Rerun

* Simplified namespaces

* [TMP] Use the old namespace

* Generated baseline

* Reduced baseline

* Finished reviewing baseline

* PHP CS Fixes

* Rerun

* Removed autoloading

* [TMP] Break

* Adjusted lines

* Applied CI review suggestion

* Apply suggestions from code review

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>

* Added space separation

* Revert "[TMP] Break"

This reverts commit ac2cfbb.

* Bumped CS-Fixer version

* Fixed CS

* Removed redundant doc block from WebinarEventTitleFulltextFieldMapper

* Added readme mention

* Added empty line to cart_api

* Removed CS-fixer dependencies

* Improved cart_api

* Update code_samples/recent_activity/src/Command/MonitorRecentContentCreationCommand.php

Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>

* PHP CS Fixes

* Removed TMP changes

---------

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
mnocon added a commit that referenced this pull request Jul 17, 2024
* Applied CI review suggestion

* Added basic PHPStan config

* Added PHPStan for ActivityLog examples

* Added CI

* [TMP] Added invalid code on purpose

* Fixed auth issues

* Fixed CS job

* PHP CS Fixes

* Rerun

* Simplified namespaces

* [TMP] Use the old namespace

* Generated baseline

* Reduced baseline

* Finished reviewing baseline

* PHP CS Fixes

* Rerun

* Removed autoloading

* [TMP] Break

* Adjusted lines

* Apply suggestions from code review

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>

* Added space separation

* Line offset fixes (#2430)

* checkout_api.md: Fix included lines after PHPStan fixes

* price_api.md: Fix included lines after PHPStan fixes

The confirmation output at the end of "Resolve prices" example was missing.

* create_custom_attribute_type.md: Fix highlighted line

Two lines removed in 086b885 but the highlighted line wasn't updated.

* search_api.md: Use `ContentTypeTermAggregation` lines

* oauth_client.md: Fix PROVIDER_PREFIX highlight

* segment_api.md: Fix highlighted line

One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)

* segment_api.md: Fix highlighted lines

One line added in aeee20a but the highlighted line wasn't updated.

(renaming from docs/api/public_php_api_managing_users.md to docs/users/segment_api.md in a9031bd)

* segment_api.md: Fix loadSegmentByIdentifier example intro

* search_api.md: Fix #sorting-results offset

* cart_api.md: Add missing EOF new line

* Added basic PHPStan config

* Added PHPStan for ActivityLog examples

* Added CI

* [TMP] Added invalid code on purpose

* Fixed auth issues

* Fixed CS job

* PHP CS Fixes

* Rerun

* Simplified namespaces

* [TMP] Use the old namespace

* Generated baseline

* Reduced baseline

* Finished reviewing baseline

* PHP CS Fixes

* Rerun

* Removed autoloading

* [TMP] Break

* Adjusted lines

* Applied CI review suggestion

* Apply suggestions from code review

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>

* Added space separation

* Revert "[TMP] Break"

This reverts commit ac2cfbb.

* Bumped CS-Fixer version

* Fixed CS

* Removed redundant doc block from WebinarEventTitleFulltextFieldMapper

* Added readme mention

* Added empty line to cart_api

* Removed CS-fixer dependencies

* Improved cart_api

* Update code_samples/recent_activity/src/Command/MonitorRecentContentCreationCommand.php

Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>

* PHP CS Fixes

* Removed TMP changes

---------

Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants