1
0
mirror of https://github.com/danog/class-finder.git synced 2024-11-27 04:24:41 +01:00
Commit Graph

61 Commits

Author SHA1 Message Date
Hayden Pierce
0328bd9501 Add a more helpful error message when composer.json is lost. 2018-08-04 15:05:51 -05:00
Hayden Pierce
07ea6a52ba Add failing test that demonstrating a missing composer.json file. 2018-08-04 14:58:00 -05:00
Hayden Pierce
531d9d02db Use correct path that composer will install. 2018-08-04 14:49:23 -05:00
Hayden Pierce
c1070db5cd Add failing test to improve error messages. 2018-08-04 14:43:50 -05:00
Hayden Pierce
93e95fec33 Make test app include the package from packagist.
This is done to allow the test app to autoloading classes because composer will
now autoload from the HaydenPierce/ClassFinder namespace.
2018-08-04 14:41:48 -05:00
Hayden Pierce
7f23741fd7 Use correct path that composer will install. 2018-08-04 11:03:21 -05:00
Hayden Pierce
90d821c6e8 Ensure that the test has a prank composer.json, like a real application would.
This is the result of discovering that ClassFinder will find it's own composer.json and use that
as the application root. Which is kind of hilarious.
2018-08-04 10:20:34 -05:00
Hayden Pierce
c3f06b56bd Change namespace from hpierce1102 to haydenpierce 2018-07-28 14:22:35 -05:00
Hayden Pierce
f4c2bf85e6 Fix a bug where a nested assumed namespace would get backwards and prevent classes from being found. 2018-07-28 11:42:51 -05:00
Hayden Pierce
93e08261b7 get test working. Note: working is not passing. 2018-07-21 16:36:21 -05:00
Hayden Pierce
d901b1171d Add a test app. 2018-07-21 10:26:01 -05:00