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

"Notice: Trying to get property of non-object" when run in container #244

Closed
aphofstede opened this issue Apr 4, 2018 · 1 comment
Closed
Labels

Comments

@aphofstede
Copy link

aphofstede commented Apr 4, 2018

I'm getting similar errors to #162 when running in a Docker container set up by my CI platform. (http://buddy.works)

./vendor/phpunit/phpunit/phpunit --bootstrap ./application/tests/Bootstrap.php --configuration ./application/tests/phpunit.xml --teamcity
Notice: Trying to get property of non-object in /buddy/oris/application/tests/_ci_phpunit_test/replacing/core/Common.php on line 269
Warning: Creating default object from empty value in /buddy/oris/application/tests/_ci_phpunit_test/replacing/core/Common.php on line 270
The configuration file does not exist.

I don't have config subdirectories, but the test suite works locally so I don't think that's the problem here. Any ideas?

PHPUnit 6.5.7
PHP 7.1.11
kenjis/ci-phpunit-test v0.16.0

@kenjis kenjis added the question label Apr 8, 2018
@kenjis
Copy link
Owner

kenjis commented Feb 20, 2021

If you have still this problem, feel free to reopen.

@kenjis kenjis closed this as completed Feb 20, 2021
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