phpbb / epv

Extension Pre-Validator
GNU General Public License v2.0
9 stars 17 forks source link

Check for presence of composer.json fails in Titania #24

Closed prototech closed 10 years ago

prototech commented 10 years ago

When using Titania, EPV checks that the composer.json is located under {vendor}/{extension}: $ns . 'composer.json' => Output::FATAL, https://github.com/phpbb/epv/blob/master/src/Tests/Tests/epv_test_validate_directory_structure.php#L38

The comparison of the file names does not take this into account (using basename()) causing it to fail. https://github.com/phpbb/epv/blob/master/src/Tests/Tests/epv_test_validate_directory_structure.php#L62