Revert "Use pathinfo() in AutoLoaderStructureTest::testPSR4Completeness"
authorHashar <hashar@free.fr>
Mon, 25 Jun 2018 12:38:07 +0000 (12:38 +0000)
committerHashar <hashar@free.fr>
Mon, 25 Jun 2018 12:38:07 +0000 (12:38 +0000)
commitafb2269cb95d1c09291515c5f72c4e425ec999ac
tree3762abb43e63974b714fd7feccc968c56f69d13c
parent634c2ec2afd93827e5aaf571396eb76d35948188
Revert "Use pathinfo() in AutoLoaderStructureTest::testPSR4Completeness"

This reverts commit 634c2ec2afd93827e5aaf571396eb76d35948188.

Reason for revert: that strips the PSR4 directories from the class.

Example:
$dir BlueSpiceFoundation/src/"
$file BlueSpiceFoundation/src/ConfigDefinition/IntSetting.php

$abbrFileName: IntSetting
$expectedClassName: BlueSpice\IntSetting

$abbrFileName should be relative to $dir and not just the filename.

Bug: T198077
Change-Id: Ie934e309fee0392439b4e26d86249f0650e5ea67
tests/phpunit/structure/AutoLoaderStructureTest.php