Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2 #114

Merged
merged 10 commits into from
Jul 3, 2017
Merged

Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2 #114

merged 10 commits into from
Jul 3, 2017

Conversation

michalbundyra
Copy link
Member

@michalbundyra michalbundyra commented Jul 3, 2017

  • dropped PHP 5.6 and 7.0 support
  • updated travis configuration to run on PHP 7.2 (nightly)
  • bumped requirements to PHP 7.1
  • updated PHPUnit to 6.2.2
  • ::class notation in tests
  • removed PHP5.6/7.0 residues

These version of PHPUnit are currenty supported. We need both versions
because PHPUnit 6 supports only PHP7+.
Changed travis configuration to use PHPUnit 5.7 on PHP 5.6.
@Ocramius
Copy link
Member

Ocramius commented Jul 3, 2017 via email

@michalbundyra
Copy link
Member Author

@Ocramius

We can bump everything to 7.1, as other zf components are also finally doing it

Do you want to do it in this PR?

@Ocramius
Copy link
Member

Ocramius commented Jul 3, 2017 via email

Removed PHPUnit 5.7.21 and updated travis configuration
Removed unused group "disable"
When we use methods `expectException*` we can call them just before line
which should throw an exception
- use asserCount instead of assertEquals(.. count())
- use assertInstanceOf instead of isInstanceOf
@michalbundyra michalbundyra changed the title Updated PHPUnit (^6.2.2 || ^5.7.21) Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2 Jul 3, 2017
@michalbundyra
Copy link
Member Author

@Ocramius all done

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Just a note for next tine (didn't want to rewrite all assertions now): it should be self::assert...

@Ocramius Ocramius self-assigned this Jul 3, 2017
@Ocramius Ocramius added this to the 3.2.0 milestone Jul 3, 2017
@Ocramius
Copy link
Member

Ocramius commented Jul 3, 2017

🚢

Thanks @webimpress!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants