Skip to content

4268: API Platform v4 #18

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 38 commits into
base: develop
Choose a base branch
from
Open

Conversation

rimi-itk
Copy link

@rimi-itk rimi-itk commented Jun 2, 2025

Link to ticket

https://leantime.itkdev.dk/TimeTable/TimeTable?showTicketModal=4268#/tickets/showTicket/4268

Description

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.

Additional comments or questions

There is some guesswork going on in tests/ApiPlatform/EventsFilterTest.php with regard to how filtering on tags actually work (look for @todo).

@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch 2 times, most recently from c146d38 to 903b9f9 Compare June 2, 2025 11:30
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch 7 times, most recently from 1c220e6 to daab726 Compare June 2, 2025 20:51
# This is the 1st commit message:

4268: Added API tests

# The commit message #2 will be skipped:

# 4268: Added API tests
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from daab726 to 97ee09e Compare June 2, 2025 21:01
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from 97ee09e to c09b61c Compare June 2, 2025 21:21
Copy link
Contributor

@turegjorup turegjorup left a comment

Choose a reason for hiding this comment

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

Name off branch and PR does not match actual upgrade to 3.4

@@ -1,18 +1,27 @@
{
"api-platform/core": {
"version": "3.2",
"version": "4.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't match composer.json

Copy link
Author

Choose a reason for hiding this comment

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

That sure looks weird … cleaned up in 56c129f.


psalm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.3']
php: ["8.3"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be better if migrate ALL jobs/steps to run in docker

Copy link
Author

Choose a reason for hiding this comment

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

Agree. Fixed in f1675a7.

apispec:
runs-on: ubuntu-latest
name: API Specification validation
strategy:
fail-fast: false
matrix:
php: [ '8.3' ]
php: ["8.3"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be better if migrate ALL jobs/steps to run in docker

Copy link
Author

Choose a reason for hiding this comment

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

Agree. Fixed in f1675a7.

@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch 2 times, most recently from 15e7454 to dddb92d Compare June 4, 2025 13:43
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from dddb92d to f1675a7 Compare June 4, 2025 13:57
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from cffbf37 to a443e0f Compare June 4, 2025 14:22
@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from a443e0f to 19278eb Compare June 4, 2025 14:23
@rimi-itk
Copy link
Author

rimi-itk commented Jun 4, 2025

Name off branch and PR does match actual upgrade to 3.4

Rome wasn't built in a day … 19278eb

@rimi-itk rimi-itk force-pushed the feature/4268-api-platform-v4 branch from fd023f5 to db7ea74 Compare June 10, 2025 12:56
@rimi-itk rimi-itk marked this pull request as ready for review June 10, 2025 13:15
@rimi-itk rimi-itk requested a review from turegjorup June 10, 2025 13:15
@rimi-itk rimi-itk mentioned this pull request Jun 11, 2025
@rimi-itk rimi-itk mentioned this pull request Jun 12, 2025
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.

2 participants