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

symfony 5 compatibility #533

Merged
merged 1 commit into from Nov 28, 2019
Merged

symfony 5 compatibility #533

merged 1 commit into from Nov 28, 2019

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Nov 27, 2019

fix #532

@dbu
Copy link
Contributor Author

dbu commented Nov 27, 2019

hm, does anyone have an idea what is going on with the lowest version build here? why is the class loader not finding classes? i verified that the 3.4.5 file exists and contains the expected class (even bumped from 3.4.4 to be sure its not a cached broken archive or something)

@jderusse
Copy link
Contributor

@dbu because UserPasswordValidator extends Symfony\Component\Validator\ConstraintValidator which does not exists (the component is not installed)

@dbu
Copy link
Contributor Author

dbu commented Nov 28, 2019

uh, that is rather implicit. thanks for pointing it out. that was the problem, had to add some dependencies. weird, that. security-bundle says it depends on those, not sure why they did not install.

do you think its ok to merge like this? i don't want to add them to require as thats only true for old versions, and the whole thing is require-dev only anyways...

@jderusse
Copy link
Contributor

not in 3.4 branch which is installed with prefered-lowest https://github.com/symfony/symfony/blob/3.4/src/Symfony/Bundle/SecurityBundle/composer.json

@@ -60,7 +62,8 @@ matrix:
before_install:
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
- if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good to me

@dbu dbu merged commit d646991 into master Nov 28, 2019
@dbu dbu deleted the symfony-5 branch November 28, 2019 12:17
@dbu
Copy link
Contributor Author

dbu commented Nov 28, 2019

yeah i was looking at require-dev at https://packagist.org/packages/symfony/security-bundle#v3.4.4 🤦‍♂️

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.

None yet

2 participants