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

Remove composer.lock #31

Merged
merged 1 commit into from
Sep 5, 2020
Merged

Remove composer.lock #31

merged 1 commit into from
Sep 5, 2020

Conversation

mfn
Copy link
Contributor

@mfn mfn commented Jul 9, 2020

Summary

  • composer.lock shouldn't be commited with a library
  • currently not all unit tests are green because an outdated version of
    egulias/email-validator is installed, triggering an error in modern PHP
    versions, e.g. Trying to access array offset on value of type null
    in vendor/egulias/email-validator/EmailValidator/Parser/Parser.php:147

The proper way is to:

  • ignore and remove the lock file for libs
  • run composer update (this is also future compatiable with composer 2)

To go the extra mile, it's good practice to run a test matrix additionally
arguments to composer, e.g. --prefer-lowest and --prefer-stable


Note: this was also included in #27

- composer.lock shouldn't be commited with a library
- currently not all unit tests are green because an outdated version of
  egulias/email-validator is installed, triggering an error in modern PHP
  versions, e.g. `Trying to access array offset on value of type null`
  in `vendor/egulias/email-validator/EmailValidator/Parser/Parser.php:147`

The proper way is to:
- ignore and remove the lock file for libs
- run `composer update` (this is also future compatiable with composer 2)

To go the extra mile, it's good practice to run a test matrix additionally
arguments to composer, e.g. `--prefer-lowest` and `--prefer-stable`
@mfn
Copy link
Contributor Author

mfn commented Jul 9, 2020

Travis integration being unreliable, but the PR is green => https://travis-ci.org/github/wildbit/swiftmailer-postmark/builds/706395975

Copy link
Contributor

@vladsandu vladsandu left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@vladsandu vladsandu merged commit 012e4b2 into ActiveCampaign:master Sep 5, 2020
@mfn mfn deleted the mfn-composer-lock branch September 5, 2020 19:02
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.

2 participants