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

[ZF2-176] Replace all assertType assertions.#836

Merged
padraic merged 3 commits into
zendframework:masterfrom
Maks3w:hotfix/ZF2-176
Feb 25, 2012
Merged

[ZF2-176] Replace all assertType assertions.#836
padraic merged 3 commits into
zendframework:masterfrom
Maks3w:hotfix/ZF2-176

Conversation

@Maks3w

@Maks3w Maks3w commented Feb 25, 2012

Copy link
Copy Markdown
Member

I replaced every assertType ocurrence in the code with assertInstanceOf or assertInternalType depending if was asserting a class or a PHP's primitive type

This change is according to the PHPUnit's API changes where assertType was declared as deprecated in PHPUnit 3.5 and finally was removed in 3.6

@padraic

padraic commented Feb 25, 2012

Copy link
Copy Markdown
Member

Request reviewed - except for PHPUnit method renames for 3.6 there are no other material changes.

@padraic

padraic commented Feb 25, 2012

Copy link
Copy Markdown
Member

Request pending confirmation that we will upgrade test dependency to PHPUnit 3.6 ;). Bear with us.

@Maks3w

Maks3w commented Feb 25, 2012

Copy link
Copy Markdown
Member Author

Upgrade to 3.6 is not required. This changes are backward compatible with the oficial PHPUnit version for ZF2 (3.5.x)

@padraic

padraic commented Feb 25, 2012

Copy link
Copy Markdown
Member

Understood, however we have other test incompatibilities and I'm going through the whole suite so we're waiting for the 3.6 confirm before merging in any bulk changes.

padraic pushed a commit that referenced this pull request Feb 25, 2012
[ZF2-176] Replace all assertType assertions.
@padraic padraic merged commit f1a4cbf into zendframework:master Feb 25, 2012
gianarb pushed a commit to zendframework/zend-test that referenced this pull request May 15, 2015
…/ZF2-176

[ZF2-176] Replace all assertType assertions.
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
…/ZF2-176

[ZF2-176] Replace all assertType assertions.
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
…/ZF2-176

[ZF2-176] Replace all assertType assertions.
gianarb pushed a commit to zendframework/zend-feed that referenced this pull request May 15, 2015
…/ZF2-176

[ZF2-176] Replace all assertType assertions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants