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

original zf1 tests #3

Merged
merged 4 commits into from
May 17, 2019
Merged

original zf1 tests #3

merged 4 commits into from
May 17, 2019

Conversation

falkenhawk
Copy link
Member

Original zf1 test suite

  • commented out "requires" pointing to ZF classes (composer autoloader will load them)

- leave out those importing classes and files from tests - they will use include path from tests bootstrap
- also fix signatures of some methods conflicting with parents
@falkenhawk falkenhawk merged commit a87da6c into master May 17, 2019
@falkenhawk falkenhawk deleted the tests-original branch May 17, 2019 20:08
falkenhawk added a commit that referenced this pull request Sep 26, 2021
(which never worked properly anyway because of that `if ($value !== '...') return` condition)
into an inline foreach loop which discards '..' values from path parts array, in a way that also previous part is discarded when '..' is found.

This also fixes `Zend_Loader_ClassMapAutoloader::resolvePharParentPath(): Argument #3 ($parts) must be passed by reference, value given` error on php8.
falkenhawk added a commit that referenced this pull request Oct 1, 2021
(which never worked properly anyway because of that `if ($value !== '...') return` condition)
into an inline foreach loop which discards '..' values from path parts array, in a way that also previous part is discarded when '..' is found.

This also fixes `Zend_Loader_ClassMapAutoloader::resolvePharParentPath(): Argument #3 ($parts) must be passed by reference, value given` error on php8.
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.

None yet

1 participant