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

Fix composer deprecation notices #268

Merged
merged 1 commit into from
Sep 11, 2020
Merged

Conversation

alexpozzi
Copy link
Member

@alexpozzi alexpozzi commented Aug 7, 2020

This PR re-organizes a little this library folder structure and fixes Composer's deprecation notices.

Replaces #261 and #263
Fixes #267

@@ -10,6 +10,7 @@ env:
- PHPUNIT_FLAGS="-v"
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
- SYMFONY_REQUIRE='>=2.8'
- SYMFONY_DEPRECATIONS_HELPER="weak"
Copy link
Member Author

Choose a reason for hiding this comment

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

This has been changed because Symfony deprecations on the router component configuration.
There should probably be better ways to deal with it, maybe with Symfony version's specific configurations but I'm not sure it makes much sense.
I'm open to better ideas!

@@ -15,19 +15,21 @@
"homepage": "http://github.com/KnpLabs/KnpSnappyBundle/contributors"
}
],
"minimum-stability": "dev",
Copy link
Member Author

Choose a reason for hiding this comment

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

We should add it back but, unfortunately, Snappy dev-master has some breaking changes (my bad, I'm gonna fix it) and, in order to make tests pass now we have to remove it (some of the tests don't use --prefer-stable composer flag, that's why they fail).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants