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

Minor Updates #48

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Minor Updates #48

wants to merge 7 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 16, 2018

I've just seen this library in a Reddit post, and I wanted to contribute to its maintenance.

There's still a lot of things to do, like migration to higher versions of PHPUnit, but I'd like to do it with a little bit more free time.

@ghost ghost changed the title Minor Changes Minor Updates Feb 16, 2018
.gitignore Outdated
/.idea/
/vendor/
# Ignoring files.
/composer.lock

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Yes, you're right. Let me fix this.

.gitignore Outdated
@@ -1 +1,6 @@
vendor
# Ignoring directories.
/.idea/

Choose a reason for hiding this comment

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

.idea seems to be coming from jetbrains, which is a personal folder. Couldn't you just not add this folder to git as well? Fine for me

Copy link
Author

Choose a reason for hiding this comment

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

I don't entirely agree with you, but it's okay.

php:
- 5.3
- 5.4

Choose a reason for hiding this comment

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

Hm, what about removing the support for such old php versions? I think the performance boost we could have by using PHP 7 could be the last thing needed for this lib to become Mr. worldwide.

Also, if we would support only > PHP 5.6

we could do $addition = new AdditionOperator(SimpleNumber::class); instead of $addition = new AdditionOperator('SimplePHPEasyPlus\Number\SimpleNumber');

Copy link
Author

Choose a reason for hiding this comment

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

That's not my decision, as I'm not a member of this project, only a contributor.

When I downloaded the project and tried to execute it with Travis CI, I couldn't because the Ubuntu's Trusty version doesn't support the PHP's 5.3 release. So keeping the ability to perform all the previous tests and support those for new PHP versions, I ended up reconfiguring the Travis CI configuration file.

php:
- 5.3

Choose a reason for hiding this comment

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

Note: removing php 5.3 requires a new major release.

Copy link
Author

Choose a reason for hiding this comment

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

What do you mean by major release?

Choose a reason for hiding this comment

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

Thats not true

.gitignore Outdated
/vendor/
# Ignoring files.
/composer.lock
Copy link
Author

Choose a reason for hiding this comment

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

Not ignoring this file causes a little problem. I need to generate composer.lock file with the 5.3 PHP's version, otherwise Travis CI cannot perform the tests.

@ghost
Copy link
Author

ghost commented Feb 16, 2018

Okay, you can accept it.

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