SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
269 stars 136 forks source link

Some PHP error in the latest version while using getMessages() #163

Closed abdullahseba closed 7 years ago

abdullahseba commented 7 years ago

Hi again :) I just update my projects dependences with composer and now getMessages is returning this:

[14-May-2017 23:53:35 Europe/London] Slim Application Error:
Type: ParseError
Message: syntax error, unexpected ':', expecting ')'
File: C:\xampp\htdocs\uf4.0.8\app\vendor\ssilence\php-imap-client\ImapClient\IncomingMessage.php
Line: 362

A typo maybe?

mattparksjr commented 7 years ago

Thank you! We seem to have an issue with array declaration. Will look further into this

mattparksjr commented 7 years ago

@abdullahseba what is the latest commit you recall where this worked?

abdullahseba commented 7 years ago

Idk :( I just updated my project and this happend to be part of it.

mattparksjr commented 7 years ago

Okay, what version did you have before you updated?

abdullahseba commented 7 years ago

No idea I just run composer without looking

abdullahseba commented 7 years ago

https://github.com/SSilence/php-imap-client/commit/8412814ebe13737dbbd337916a1b9d30f2cadf18 ?

abdullahseba commented 7 years ago

Parse error: syntax error, unexpected ':', expecting ')' in C:\xampp\htdocs\mail2\vendor\ssilence\php-imap-client\ImapClient\IncomingMessage.php on line 362

abdullahseba commented 7 years ago

line number matches

mattparksjr commented 7 years ago

Let me undo that commit and see. I was attempting to fix travis

mattparksjr commented 7 years ago

I have reverted that commit. Let me know

abdullahseba commented 7 years ago

$travisIsABaby LOOOOL xD

abdullahseba commented 7 years ago

ok

abdullahseba commented 7 years ago

WORKS!

mattparksjr commented 7 years ago

Hmmm. It works but Travis detects a syntax error. I will continue to look into this. May this issue be closed?

abdullahseba commented 7 years ago

yes