Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[2.7] adds legacy tests for deprecated configuration keys. #13344

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

Conversation

hhamon
Copy link
Contributor

@hhamon hhamon commented Jan 9, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets ~
License MIT
Doc PR ~

@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

Still working on the FrameworkBundle legacy tests and the PR will be ready for merge.

@hhamon hhamon force-pushed the frameworkbundle-twigbundle-add-legacy-tests branch from 1de2f3f to b68b147 Compare January 9, 2015 11:10
* @dataProvider getFormats
*/
public function testLegacyFormResourcesConfigurationKey($format)
{
Copy link
Member

Choose a reason for hiding this comment

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

you are missing the iniSet() call here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Same in the other

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@hhamon hhamon force-pushed the frameworkbundle-twigbundle-add-legacy-tests branch 2 times, most recently from 08d6fda to 2e03506 Compare January 9, 2015 14:26
@hhamon hhamon changed the title [WIP] adds legacy tests for deprecated configuration keys. [2.7] adds legacy tests for deprecated configuration keys. Jan 9, 2015
@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

Not WIP anymore but trying to figure out why the tests suite segfaults on 5.3.3.

@hhamon hhamon force-pushed the frameworkbundle-twigbundle-add-legacy-tests branch from 2e03506 to 814527f Compare January 9, 2015 14:59
@fabpot
Copy link
Member

fabpot commented Jan 9, 2015

@hhamon Have you tried to relaunch the tests on Travis? Sometimes, it segfaults for no obvious reasons.

@stof
Copy link
Member

stof commented Jan 9, 2015

just forget about 5.3.3 by rebasing the branch, given the min version has just been bumped to 5.3.9 😄

@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

Yep! Looks like the rebase did the trick :D

@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

Everything is green and ready for review by @symfony/deciders ;)

@stof
Copy link
Member

stof commented Jan 9, 2015

👍

1 similar comment
@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

fabpot commented Jan 9, 2015

Thank you @hhamon.

@stof
Copy link
Member

stof commented Jan 9, 2015

@hhamon it would also be good to update the configuration files of functional tests in FrameworkBundle and SecurityBundle to stop using the deprecated config keys but migrating them to the new keys instead (I suggest doing it in a separate PR though, as this one is now mergeable given the 2 votes above)

@fabpot fabpot merged commit 814527f into symfony:2.7 Jan 9, 2015
fabpot added a commit that referenced this pull request Jan 9, 2015
…s. (hhamon)

This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] adds legacy tests for deprecated configuration keys.

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

Commits
-------

814527f [FrameworkBundle] adds legacy tests for deprecated configuration keys.
a290286 [TwigBundle] adds legacy tests for deprecated configuration keys.
@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

@stof Good catch! I'm on it ;)

@stof
Copy link
Member

stof commented Jan 9, 2015

@hhamon hhamon deleted the frameworkbundle-twigbundle-add-legacy-tests branch January 9, 2015 15:42
@hhamon
Copy link
Contributor Author

hhamon commented Jan 9, 2015

See #13349

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.

4 participants