Hayden Pierce
|
31a4b109ae
|
Add FilesFinder to ClassFinder.
|
2018-09-29 14:04:35 -05:00 |
|
Hayden Pierce
|
2a7c2dacce
|
Refactor ClassFinder to prepare to add a 3rd finder.
|
2018-09-29 13:52:24 -05:00 |
|
Hayden Pierce
|
f56e0b26d4
|
Bootstrap files finder and supporting classes.
|
2018-09-29 13:00:26 -05:00 |
|
Hayden Pierce
|
74d70a30c3
|
Update documentation.
|
2018-09-16 12:34:30 -05:00 |
|
Hayden Pierce
|
7f72d3f344
|
Add tests confirming isAcceptableNamespace is working correctly.
|
2018-09-09 16:14:36 -05:00 |
|
Hayden Pierce
|
f56e335fa5
|
Add tests confirming isAcceptableNamespace is working correctly.
|
2018-09-09 13:43:52 -05:00 |
|
Hayden Pierce
|
dcd38681b2
|
Improve countMatchingSegments to report matches segments for unacceptable matches.
|
2018-09-09 13:33:23 -05:00 |
|
Hayden Pierce
|
aa77f1f042
|
Since multiple autoloading strategies were checked, we can't point out that PSR4 is the problem.
|
2018-09-08 20:51:48 -05:00 |
|
Hayden Pierce
|
db36194aa1
|
Prevent PSR4 Finder from raise exceptions when a namespace isn't raised.
Technically, the namespace can exist and still lack registration.
|
2018-09-08 20:33:16 -05:00 |
|
Hayden Pierce
|
d60a47a55e
|
Implement isNamespaceKnown on ClassmapFinder
|
2018-09-08 20:10:11 -05:00 |
|
Hayden Pierce
|
f92b617082
|
Add functionality to better determine if a namespace is known. Pull exception message out to top level, since other Finders may be aware of the namespace.
|
2018-09-08 15:41:58 -05:00 |
|
Hayden Pierce
|
c12a9779cc
|
Add support for finding classes declared in a classmap
|
2018-09-08 11:01:08 -05:00 |
|
Hayden Pierce
|
67831937e3
|
Bootstrap classmap files
|
2018-09-08 10:40:19 -05:00 |
|
Hayden Pierce
|
d1ffd7919f
|
Remove short array syntax introduced in PHP 5.4
|
2018-09-03 16:36:05 -05:00 |
|
Hayden Pierce
|
46a1565cda
|
Expose variable for PHP 5.3
|
2018-09-03 16:34:14 -05:00 |
|
Hayden Pierce
|
4641b3968c
|
Change visibility of method for PHP 5.3
|
2018-09-03 16:31:59 -05:00 |
|
Hayden Pierce
|
d1d350d304
|
Downgrade to PHPUnit 4.8.36 for backwards compatibility with PHP 5.3
|
2018-09-03 16:18:49 -05:00 |
|
Hayden Pierce
|
5463654340
|
Address a linux specific bug in where paths with a backslash wouldn't resolve correctly.
Example: realpath(/builds/hpierce1102/ClassFinder/test/app1/src/Foo\Loo) -> false
|
2018-09-03 12:26:37 -05:00 |
|
Hayden Pierce
|
083acd879a
|
Fix first party, multiple directory namespace mapping for PSR4.
|
2018-09-02 19:12:15 -05:00 |
|
Hayden Pierce
|
b74b0b02c1
|
Select the best possible namespace instead of the last one to match any of the elements.
|
2018-09-02 11:14:22 -05:00 |
|
Hayden Pierce
|
0d9ef31a49
|
Prevent fatal errors on namespaced functions
|
2018-08-31 20:42:17 -05:00 |
|
Hayden Pierce
|
47e90d2601
|
lol it worked fine
|
2018-08-27 20:28:52 -05:00 |
|
Hayden Pierce
|
1ca1269720
|
Refactor PSR4 stuff into PSR4 directory
|
2018-08-27 20:26:52 -05:00 |
|
Hayden Pierce
|
4543fdde06
|
Refactor for law of demiter
|
2018-08-27 20:23:04 -05:00 |
|
Hayden Pierce
|
a1a1926351
|
Refactor agressively to namespaces that map to multiple directories.
|
2018-08-27 20:15:12 -05:00 |
|
Hayden Pierce
|
f0423a39d4
|
Refactor to account for psr4 namespaces from dependencies
|
2018-08-22 19:43:19 -05:00 |
|
Hayden Pierce
|
387434def0
|
Rename method
|
2018-08-22 19:27:58 -05:00 |
|
Hayden Pierce
|
6dbbd2c7ef
|
Refactor Exception into a new directory
|
2018-08-18 11:12:43 -05:00 |
|
Hayden Pierce
|
9254ea27a7
|
Refactor Finders into a new directory
|
2018-08-18 11:09:31 -05:00 |
|
Hayden Pierce
|
ddba32ed77
|
Add an interface for Finders and implement it for PSR4
|
2018-08-18 11:07:56 -05:00 |
|
Hayden Pierce
|
38a1c6a8c2
|
Refactor some PSR4 specific stuff into a PSR4 class
|
2018-08-18 11:00:38 -05:00 |
|
Hayden Pierce
|
8b8404cf82
|
Move initialize to the top because it's basically a constructor in disguise
|
2018-08-18 10:48:55 -05:00 |
|
Hayden Pierce
|
83dab4b8a0
|
Refactor to make AppConfig an instance object; move another method into the class.
|
2018-08-18 10:42:54 -05:00 |
|
Hayden Pierce
|
4ccbaf74bb
|
Refactor to move configuration stuff to a new class
|
2018-08-18 10:22:29 -05:00 |
|
Hayden Pierce
|
3df6a82623
|
Add more helpful link to error explanation - missing composer config
|
2018-08-04 20:06:24 -05:00 |
|
Hayden Pierce
|
f7d3eeac21
|
Add more helpful link to error explanation - unknown sub-namespace (I totally just made up that name - I don't think a "sub-namespace" is a thing.)
|
2018-08-04 19:52:29 -05:00 |
|
Hayden Pierce
|
fbeb761894
|
Add more helpful link to error explanation
|
2018-08-04 19:41:04 -05:00 |
|
Hayden Pierce
|
229edca220
|
Show a more helpful error message when a root a namespace is registered, but the child components point to a directory that doesn't exist.
|
2018-08-04 15:27:52 -05:00 |
|
Hayden Pierce
|
0328bd9501
|
Add a more helpful error message when composer.json is lost.
|
2018-08-04 15:05:51 -05:00 |
|
Hayden Pierce
|
531d9d02db
|
Use correct path that composer will install.
|
2018-08-04 14:49:23 -05:00 |
|
Hayden Pierce
|
7f23741fd7
|
Use correct path that composer will install.
|
2018-08-04 11:03:21 -05:00 |
|
Hayden Pierce
|
dfb8db82e0
|
Skip skip out of the vendor directory to avoid finding my own composer.json
|
2018-08-04 10:29:00 -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
|
b5ccf31bc3
|
Make tests pass.
|
2018-07-21 16:38:22 -05:00 |
|
Hayden Pierce
|
d901b1171d
|
Add a test app.
|
2018-07-21 10:26:01 -05:00 |
|
Hayden Pierce
|
0f952b48d1
|
Dynamically discover the application root
|
2018-07-14 08:41:26 -05:00 |
|
Hayden Pierce
|
d5fb2dcee6
|
Initial commit - copy content from Stack Overflow
|
2018-07-14 08:27:13 -05:00 |
|