elastic / ecs-logging-php

Apache License 2.0
19 stars 35 forks source link

Missing src/Elastic/Types after composer require #12

Open thinkspill opened 4 years ago

thinkspill commented 4 years ago

I'm not sure how these files could be missing, but I've tried both in my main project and a default empty composer init project, and once installed, the only actual file present under src is src/Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php.

src/Elastic/Types does not exist.

Reproduction:

mkdir emptyproject && cd emptyproject
composer init
[... hit enter to accept all defaults ...]
composer require elastic/ecs-logging
ls -la vendor/elastic/ecs-logging/src/Elastic/Monolog # exists
ls -la vendor/elastic/ecs-logging/src/Elastic/Types # does not exist

Do you get the same result?

thinkspill commented 4 years ago

I see what I did wrong... The tagged version 1.0.1 does not have these files. They are only present in the master branch.

SergeyKleyman commented 3 years ago

Could you please try the latest release (1.0.2)?