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

PHP 5.3 strict exception #5

Closed
mblarsen opened this issue Apr 12, 2011 · 3 comments
Closed

PHP 5.3 strict exception #5

mblarsen opened this issue Apr 12, 2011 · 3 comments

Comments

@mblarsen
Copy link

Strict

{doc_root}/install/install.php(161): Respect\Validation\Rules\AllOf->assert(NULL)
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Rules/AllOf.php(10): Respect\Validation\Rules\AbstractComposite->validateRules(NULL)
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Rules/AbstractComposite.php(76): Respect\Validation\Rules\AbstractRule->assert(NULL)
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Rules/AbstractRule.php(29): Respect\Validation\Rules\AbstractRule->reportError(NULL)
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Rules/AbstractRule.php(48): Respect\Validation\Exceptions\ValidationException->configure('""', Array)
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Exceptions/ValidationException.php(74): Respect\Validation\Exceptions\ValidationException->guessId()
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/Respect/Validation/Exceptions/ValidationException.php(166)
Only variables should be passed by reference

@alganet
Copy link
Member

alganet commented Apr 12, 2011

There was an inconsistence with the guessId() on the ValidationException class (mentioned on the stack trace, fixed just now), but i'm not sure that fixing it will make the problem disappear.

Try pulling the last commit from the develop branch. If that doesn't work would you send me the validation rule you've build and the assserted value so I can create a new test case?

Thank you!

@mblarsen
Copy link
Author

Hi

It fixed the issue

On Wed, Apr 13, 2011 at 12:12 AM, alganet <
reply@reply.github.com>wrote:

There was an inconsistence with the guessId() on the ValidationException
class (mentioned on the stack trace, fixed just now),
but i'm not sure that fixing it will make the problem disappear.

Try pulling the last commit from the develop branch. If that doesn't work
would you send me the validation rule you've build and the assserted value
so I can create a new test case?

Thank you!

Reply to this email directly or view it on GitHub:
#5 (comment)

Michael Bcker-Larsen

e: mblarsen@gmail.com
m: +9779840050779
w: codeboutique.com
p: +--[ RSA 2048]----+
| |
| . |
| * |
| B o |
| . S * |
| . o. o o |
| = .E |
| . ++ |
| oB
|
+-----------------+

@alganet
Copy link
Member

alganet commented Apr 13, 2011

=D

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

No branches or pull requests

2 participants