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

Authorize installation on PHP8 #19

Closed
wants to merge 3 commits into from
Closed

Authorize installation on PHP8 #19

wants to merge 3 commits into from

Conversation

Th3Mouk
Copy link

@Th3Mouk Th3Mouk commented Sep 11, 2020

No description provided.

@Th3Mouk
Copy link
Author

Th3Mouk commented Sep 24, 2020

Hi @webmozart ! I know you are probably busy but this one can be quickly merged IMO

@webmozart
Copy link
Member

@Th3Mouk thanks! Could you take care of the failing builds?

@Th3Mouk
Copy link
Author

Th3Mouk commented Sep 26, 2020

@webmozart I took the configuration of assert repo but a composer issue makes the build fail randomly I didn't found how to resolve it. If it's a problem with composer mirrors maybe the problem will be gone tomorrow.

allow_failures:
- php: hhvm
Copy link

@samdark samdark Oct 24, 2020

Choose a reason for hiding this comment

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

This should be added back. Tests will silently fail HHVM as they did previously. See this job from master branch: https://travis-ci.org/github/webmozart/glob/jobs/152415050

env:
- COVERAGE=yes
- ANALYSIS=yes
- php: 7.4
Copy link

Choose a reason for hiding this comment

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

I think tests should be performed on PHP 8 as well.

Copy link
Author

Choose a reason for hiding this comment

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

nightly is php 8 but it exists probably a better tag now

Copy link

@samdark samdark Oct 26, 2020

Choose a reason for hiding this comment

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

As an alternative, tests could be moved to GitHub actions. See https://github.com/yiisoft/strings/tree/master/.github/workflows as an example. There, you'll have PHP 8 beta. But, that's better to be done separately.

Copy link
Author

Choose a reason for hiding this comment

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

I saw many projects doing this, this month. We are on GA too in my projects. But I think we must first resolve PHP8 installation/CI and then refacto the CI process

Copy link

Choose a reason for hiding this comment

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

We can now use 8.0 in Travis.

Copy link

Choose a reason for hiding this comment

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

Travis isn't giving enough credits to OpenSource anymore so a switch to GitHub actions is inevitable.

Copy link

Choose a reason for hiding this comment

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

This could be done separately, it's not related to this PR.

Copy link

Choose a reason for hiding this comment

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

Then it's ready to merge except https://github.com/webmozart/glob/pull/19/files#r511509629 should be applied.

Copy link
Author

Choose a reason for hiding this comment

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

Ok then I will make the modif

@martinssipenko
Copy link
Contributor

Should be closed in favor of #24, @Ocramius will you please close it?

@Ocramius Ocramius added this to the 4.2.0 milestone Jan 14, 2021
@Ocramius Ocramius self-assigned this Jan 14, 2021
@Ocramius Ocramius closed this Jan 14, 2021
@Th3Mouk Th3Mouk deleted the feature/support-php8 branch January 15, 2021 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants