Skip to content

Version 1.x #29

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
merged 16 commits into from
Jan 24, 2019
Merged

Version 1.x #29

merged 16 commits into from
Jan 24, 2019

Conversation

icanhazstring
Copy link
Member

@icanhazstring icanhazstring commented Jan 13, 2019

This will bump phpdeal/framework to php7.2 and version 1.x.
The branch 1.x should replace master if this PR gets accepted.
0.x is only there for backward fixes, but can probably be dropped as well.

List of changes:

  • drop support php < 7.2
  • update phpunit to 7.5
  • add strict types in all files
  • add return type and argument type hinting in all files
  • bump copyright to 2019

- drop support php < 7.2
- update phpunit to 7.5
- add strict types in all files
- add return type and argument type hinting in all files
- bump copyright to 2019
@icanhazstring icanhazstring added this to the 1.0.0 milestone Jan 13, 2019
@icanhazstring icanhazstring requested a review from pdaw January 13, 2019 18:38
icanhazstring and others added 2 commits January 14, 2019 15:35
Fixed issues with max level of phpstan.
@icanhazstring
Copy link
Member Author

icanhazstring commented Jan 16, 2019

Currently I added the minimum-version to be dev.
This is due to the fact that goaop/framework:^2.3 is not available through packagist.

see: goaop/framework#408
If this gets fixed, the minimum-version should be changed back to stable

Edith: And fixed ;)

icanhazstring and others added 12 commits January 16, 2019 20:57
Add phpstan config to ignore export.
Add support for symfony/console ^4 to avoid conflicts
* Made AbstractFetcher accept more then one annotation type

* Add inherit annotation

This will serve as a contract inherit flag.
It will take all existing annotations (ensure, verify, invariant)
and check current as well as parent classes for contracts

* Update Inherit implementation

- Inherit will now always inherit contracts (despite missing @inheritdoc)
- provide Inherit tests
- update Demo implementation
- update Readme with Inherit documentation
* Updated beberlei/assert to version 3.x.x
* Minimum PHP Support v7.0
* Moved beberlei/assert to require-dev and added additional directives in composer.json
- drop support php < 7.2
- update phpunit to 7.5
- add strict types in all files
- add return type and argument type hinting in all files
- bump copyright to 2019
Fixed issues with max level of phpstan.
Add phpstan config to ignore export.
Add support for symfony/console ^4 to avoid conflicts
Fix some issues in new code from master.
If contract validation result is bool but false, we will throw a
ContractViolation instead of a DomainException. This will make sure, the
topmost exception is clear and understandable.
@icanhazstring icanhazstring merged commit 20f0cef into master Jan 24, 2019
@icanhazstring icanhazstring deleted the 1.x branch January 24, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants