Skip to content

Conversation

@jderusse
Copy link
Member

@jderusse jderusse commented Aug 2, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes (not yet) need #32882, #32886, #32893
Fixed tickets #32844
License MIT
Doc PR NA

Bump php-cs-fixer rule to PHPUnit75Migration:risky which add

  • php_unit_dedicate_assert_internal_type
  • php_unit_expectation
  • php_unit_mock
  • php_unit_no_expectation_annotation

which are (or will be) all polyfillyed

  • need to polyfill createPartialMock

@jderusse jderusse force-pushed the csfixer-phpunit branch 2 times, most recently from 408792f to 8018433 Compare August 2, 2019 16:39
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Aug 2, 2019
@nicolas-grekas nicolas-grekas modified the milestones: 3.4, next Aug 3, 2019
nicolas-grekas added a commit that referenced this pull request Aug 3, 2019
…derusse)

This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Polyfill the method createPartialMock

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32844
| License       | MIT
| Doc PR        | NA

Provide a polyfill for `createPartialMock` required by #32885

Commits
-------

a68c16d Polyfill the method createPartialMock
@nicolas-grekas
Copy link
Member

Thank you @jderusse.

@nicolas-grekas nicolas-grekas merged commit 9fb1c42 into symfony:3.4 Aug 3, 2019
nicolas-grekas added a commit that referenced this pull request Aug 3, 2019
…las-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[PhpUnitBridge] Use PHPUnit75Migration in CS fixer

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes (not yet) need #32882, #32886, #32893
| Fixed tickets | #32844
| License       | MIT
| Doc PR        | NA

Bump php-cs-fixer rule to PHPUnit75Migration:risky which add
- php_unit_dedicate_assert_internal_type
- php_unit_expectation
- php_unit_mock
- php_unit_no_expectation_annotation

which are (or will be) all polyfillyed

- [x] need to polyfill `createPartialMock`

Commits
-------

9fb1c42 Adopt `@PHPUnit55Migration:risky` rule of php-cs-fixer
fabpot added a commit that referenced this pull request Aug 5, 2019
…ecks (jderusse)

This PR was merged into the 3.4 branch.

Discussion
----------

[cs-fixer] Use PhpUnit native assertions in filsystem checks

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | NA
| License       | MIT
| Doc PR        | NA

This PR change the minimal value of PhpUnit introduced in #32885 in branche 3.4.
Note: `5.6` is the highest value at the time.

Commits
-------

226bdd1 Use PHPunit assertion
@jderusse jderusse deleted the csfixer-phpunit branch August 8, 2019 11:35
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.

3 participants