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

feat: php 8 attributes added #14

Merged
merged 3 commits into from
Jul 26, 2022

Conversation

dragondungeon1
Copy link
Contributor

I've created attributes for php 8.

Since this bundle is only used by users who are running php 7.4 or higher i've decided to update the composer.json to the minum version of php 7.4.
source: https://packagist.org/packages/padam87/cron-bundle/php-stats

When people are using php 7.4 they can still make use of the annotations.

Also I've updated the README so people are aware that this bundle does make usage of attributes.

@Padam87
Copy link
Owner

Padam87 commented Jul 22, 2022

Hi @dragondungeon1,

Thank you for your effort, but there are too many things in this PR that I would not like to allow.

If you are willing to change that, I'll start a review, otherwise please close it.

Thanks,
Adam

Annotation/Job.php Outdated Show resolved Hide resolved
Annotation/Job.php Outdated Show resolved Hide resolved
Util/Helper.php Outdated Show resolved Hide resolved
Util/Helper.php Outdated Show resolved Hide resolved
@dragondungeon1
Copy link
Contributor Author

dragondungeon1 commented Jul 25, 2022

Dear Adam, thank you for your review. I will work on this :)

@dragondungeon1 dragondungeon1 changed the base branch from master to sf4_php7 July 25, 2022 09:39
@dragondungeon1 dragondungeon1 changed the base branch from sf4_php7 to master July 25, 2022 09:39
Copy link
Owner

@Padam87 Padam87 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, except for that one issue.

PHP version in composer should be bumped to 7.4. (Union type should be removed so no need for 8)

@dragondungeon1 dragondungeon1 requested a review from Padam87 July 26, 2022 07:02
@Padam87 Padam87 merged commit d89538d into Padam87:master Jul 26, 2022
@Padam87
Copy link
Owner

Padam87 commented Jul 26, 2022

Thank you @dragondungeon1 !

Release will come soon, but I will add a test suite with a few tests first

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