8000 Fixed broken build by Nyholm · Pull Request #45 · symfony/psr-http-message-bridge · GitHub
[go: up one dir, main page]

Skip to content

Fixed broken build #45

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

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Fixed broken build #45

merged 1 commit into from
Aug 8, 2018

Conversation

Nyholm
Copy link
Member
@Nyholm Nyholm commented Aug 4, 2018

This PR updates travis.yml to adapt to our best practices: https://symfony.com/doc/current/bundles/best_practices.html

It update our dependencies (dropping sf2.8 and unsupported symfony versions)
It also remove use of deprecated code.

@nicolas-grekas
Copy link
Member

Should we bump to v2 then?

@Nyholm
Copy link
Member Author
Nyholm commented Aug 4, 2018

Yes, And introduce PSR17 factories. The PSR17 does not support php5.

@Nyholm
Copy link
Member Author
Nyholm commented Aug 4, 2018

I just had a look at #43. That implementation makes it optional to use PSR 17 (HTTP factories). Then it makes no sense to drop PHP versions.

This PR brings no changes nor drops any functionality.

@Nyholm
Copy link
Member Author
Nyholm commented Aug 4, 2018

Wohoo build passes on Travis!

@Nyholm
Copy link
Member Author
Nyholm commented Aug 7, 2018

Ping @nicolas-grekas

.travis.yml Outdated
# Test LTS versions. This makes sure we do not use Symfony packages with version greater
# than 2 or 3 respectively.
- php: 7.2
env: DEPENDENCIES="symfony/lts:^2 symfony/force-lowest:^2.8 zendframework/zend-diactoros:^1.4.1"
Copy link
Member

Choose a reason for hiding this comment

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

symfony/force-lowest should reference an exact version to work correctly:
symfony/force-lowest:=2.8 or symfony/force-lowest:v2.8

Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

(with comment)

@Nyholm
Copy link
Member Author
Nyholm commented Aug 7, 2018

Travis is happy again

@fabpot
Copy link
Member
fabpot commented Aug 8, 2018

Thank you @Nyholm.

@fabpot fabpot merged commit 8780dd3 into symfony:master Aug 8, 2018
fabpot added a commit that referenced this pull request Aug 8, 2018
This PR was squashed before being merged into the 1.0-dev branch (closes #45).

Discussion
----------

Fixed broken build

This PR updates travis.yml to adapt to our best practices: https://symfony.com/doc/current/bundles/best_practices.html

It update our dependencies (dropping sf2.8 and unsupported symfony versions)
It also remove use of deprecated code.

Commits
-------

8780dd3 Fixed broken build
@Nyholm
Copy link
Member Author
Nyholm commented Aug 8, 2018

Thank you for merging

@Nyholm Nyholm deleted the build branch August 8, 2018 14:42
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
0