Skip to content

Fixing URI error on installation#371

Merged
kenjis merged 1 commit intokenjis:3.xfrom
aeanez:3.x
Apr 22, 2021
Merged

Fixing URI error on installation#371
kenjis merged 1 commit intokenjis:3.xfrom
aeanez:3.x

Conversation

@aeanez
Copy link
Contributor

@aeanez aeanez commented Apr 21, 2021

When executing:

$ php vendor/kenjis/ci-phpunit-test/install.php --from-composer

The following error message is shown:

PHP Fatal error:  Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(application/application/tests/_ci_phpunit_test): failed to open dir: No such file or directory in /home/vagrant/test/vendor/kenjis/ci-phpunit-test/lib/Installer.php:214
Stack trace:
#0 /home/vagrant/test/vendor/kenjis/ci-phpunit-test/lib/Installer.php(214): RecursiveDirectoryIterator->__construct()
#1 /home/vagrant/test/vendor/kenjis/ci-phpunit-test/lib/Installer.php(99): Installer->recursiveUnlink()
#2 /home/vagrant/test/vendor/kenjis/ci-phpunit-test/install.php(14): Installer->install()
#3 {main}
  thrown in /home/vagrant/test/vendor/kenjis/ci-phpunit-test/lib/Installer.php on line 214

This was tested either in Debian 9 and Windows with different CI versions.

This pull request aims to solve this situation.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 70.104% when pulling 6840917 on aeanez:3.x into 214713b on kenjis:3.x.

@kenjis kenjis merged commit 059084c into kenjis:3.x Apr 22, 2021
@kenjis
Copy link
Owner

kenjis commented Apr 22, 2021

@aeanez Thank you!

@kenjis kenjis added the bug label Apr 22, 2021
kenjis added a commit that referenced this pull request Jul 13, 2021
Fixing URI error on installation
kenjis added a commit that referenced this pull request Jul 13, 2021
Fixing URI error on installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants