Skip to content

Automatically insert version #97

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

Closed
wants to merge 145 commits into from

Conversation

webmaster777
Copy link

Using the PackageVersions\Versions class requires composer and thus composer autoloading. This could be interpreted as BC break and thus require a v2.

Alternatively you could consider not using composer autoloading plain idiocracy and pick this up in the next minor release, that would however technically be SemVer ;).

In both cases a change to README.md is advised.

In aec85ca I've marked the constant as deprecated. Not sure If you'd consider the constant part of your public api, but it is publicly accessible. If not it should simply be removed without deprecation.

chrisminett and others added 9 commits April 24, 2019 15:27
loadFromArray() is a public method, so the tests verify this behaviour.
PHP Notices were issued if the request doesn't contain the expected headers.
Now, null values are passed to loadFromArray(), where the values will fail validation.
If expected values are missing or invalid when calling createFromGlobals() an exception is thrown.
The example now demonstrates how an implementation can handle this and respond cleanly.
The value from $_SERVER is a numeric string, but an int is expected by the validation.
Fixes messagebird#87
@webmaster777
Copy link
Author

webmaster777 commented Jun 7, 2019

Nice, php < 7.1 also fails CI. I'd recommend dropping support for php < 7.1

@webmaster777
Copy link
Author

Nice, php < 7.1 also fails CI. I'd recommend dropping support for php < 7.1

see also #79

@marcelcorso
Copy link
Contributor

Thank you for the PR! Much fast!

but... oh no. 7.1 is still supported https://www.php.net/supported-versions.php

And yeah I agree with #79 . We'll have this conversation internally again. Thanks for the push.

@webmaster777
Copy link
Author

Thank you for the PR! Much fast!

but... oh no. 7.1 is still supported https://www.php.net/supported-versions.php

And yeah I agree with #79 . We'll have this conversation internally again. Thanks for the push.

the php 7.1 CI doesn't fail. only <7.1 (so 7.0, 5.6 and below)

marcel corso gonzalez and others added 16 commits June 11, 2019 14:02
…-int

SignedRequest request timestamp value must be an int
…-example

use correct method for conversations example
Add WhatsApp Sandbox support to Conversations API
)

* Be more precise in recognising three-part curl response

* Split the recognition of a three part response from picking the correct bits out of the result array. Use strict checking for type safety.
Integrate the SDK with the partner account API to be able to CRUD sub
accounts for the user which has the privilege to use the Partner Account
feature.

You can find the Partner Account documentation on the MessageBird
website (https://developers.messagebird.com/)
Alex Bucur and others added 28 commits March 9, 2021 19:33
…nder

Change default sender in example code
…t-version-for-next-release

bump-client-version
* implement automatic release notes generation

* add release drafter config file

* add release drafter config file

* newline to fix template
The answer gives "items"
@CoolGoose
Copy link
Contributor

@webmaster777 thank you for the PR. I did a small mistake and rebased your changes then "merged" with your remote branch so github actually let me to push (since --force isn't allowed)
However I just realised that there's no easy match on using Ocramius/PackageVersions while also keeping support for php 7.3.

I will close this for now and consider using \Composer\InstalledVersions::getPrettyVersion in the future before out 2.0 release.

@CoolGoose CoolGoose closed this Apr 4, 2021
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.