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

Drop PHP 5.3/5.4 compatibility #599

Closed
ArthurHoaro opened this issue Jul 18, 2016 · 3 comments
Closed

Drop PHP 5.3/5.4 compatibility #599

ArthurHoaro opened this issue Jul 18, 2016 · 3 comments
Labels
Milestone

Comments

@ArthurHoaro
Copy link
Member

ArthurHoaro commented Jul 18, 2016

Proposition: Shaarli 0.8.0 will require PHP 5.5. Old systems will have to run old Shaarli versions.

  • PHP 5.3 has reached end of life 2 years ago, I think it's time to drop its support in Shaarli.
  • PHP 5.4: EOL ~1 year ago
  • PHP 5.5 has just reached EOL, so we can probably wait for a while.

Major syntax or feature changes:

  • Allow usage of shortened array syntax ([] instead of array()). 🎉
  • Class member access on instantiation, e.g. (new Foo)->bar().
  • empty() supports arbitrary expressions.
  • Generators.

And a bunch of stuff 5.4 - 5.5.

Also, I'd like to define a milestone now for using PHP 5.6, which is kinda PHP LTS, as a requirement. 0.10.0 might be a good idea, as it's the last one before 1.0.0 (for now).

@ArthurHoaro ArthurHoaro added this to the 0.8.0 milestone Jul 18, 2016
@virtualtam
Copy link
Member

+1
I'd rather plan it for a future release though (e.g. 0.9 or 0.10) so we can warn Shaarli users ahead of this change being effective

@ArthurHoaro
Copy link
Member Author

OK. Depending on the time it takes to reach 0.9.0, we'll see if we use PHP 5.5 or 5.6.

@virtualtam
Copy link
Member

Closed via 423ab02

virtualtam added a commit to virtualtam/Shaarli that referenced this issue Jan 15, 2017
Relates to shaarli#599
Relates to db6b09b

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
virtualtam added a commit that referenced this issue Jan 16, 2017
Relates to #599
Relates to db6b09b

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
portailp pushed a commit to PortailPro/Shaarli that referenced this issue Mar 20, 2017
portailp pushed a commit to PortailPro/Shaarli that referenced this issue Mar 20, 2017
Relates to shaarli#599
Relates to db6b09b

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
portailp added a commit to PortailPro/Shaarli that referenced this issue Mar 20, 2017
portailp added a commit to PortailPro/Shaarli that referenced this issue Mar 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants