Skip to content

Add Symfony 7 support#1454

Merged
ciaranmcnulty merged 6 commits intophpspec:mainfrom
thecrimpmaster:add-symfony-7-support
Jan 19, 2024
Merged

Add Symfony 7 support#1454
ciaranmcnulty merged 6 commits intophpspec:mainfrom
thecrimpmaster:add-symfony-7-support

Conversation

@thecrimpmaster
Copy link
Copy Markdown
Contributor

No description provided.

@mkilmanas
Copy link
Copy Markdown

Hi @thecrimpmaster - could you please address the static analysis issues?

@thecrimpmaster
Copy link
Copy Markdown
Contributor Author

Sorry, I just kind of created, pushed, and didn't check back due to time constraints.

Made some changes and all builds passing now. Probably worth a review or two, as not sure about all changes


- name: Run tests (phpunit)
run: ./vendor/bin/phpunit -v
run: ./vendor/bin/phpunit
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verbose option has been removed in version 10 (https://github.com/sebastianbergmann/phpunit/blob/10.0.0/ChangeLog-10.0.md)

Is this ok to just remove it?

"""
- 'i' => 1
"""
And I should see:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There seems to be an "," added to the diff message in php 8. I've split the expectations out to pass in 7 and 8. Feels slightly clunky. Love to hear others' opinions

@ciaranmcnulty ciaranmcnulty merged commit 5bd5efb into phpspec:main Jan 19, 2024
@ciaranmcnulty
Copy link
Copy Markdown
Member

Thanks @thecrimpmaster !

@yguedidi yguedidi mentioned this pull request Mar 10, 2024
1 task
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