Hayden Pierce
|
631e09d802
|
Provide a more helpful error message if files support fails due to exec() being disabled.
|
2018-10-21 09:39:21 -05:00 |
|
Hayden Pierce
|
6af0937964
|
Add a test case
|
2018-10-21 09:14:41 -05:00 |
|
Hayden Pierce
|
2a9d51931a
|
Dont identify sub-namespaces (intended for later)
|
2018-10-20 21:33:55 -05:00 |
|
Hayden Pierce
|
ea97ae9550
|
use defined() correctly.
|
2018-10-20 21:32:25 -05:00 |
|
Hayden Pierce
|
d5fd7fb8ca
|
Prevent "which is not a batch file or whatever" error that appeared in cmd.exe on Windows machines.
|
2018-10-20 21:30:20 -05:00 |
|
Hayden Pierce
|
bf38e41718
|
Find classes in FileEntry
|
2018-10-20 21:22:19 -05:00 |
|
Hayden Pierce
|
4a91665f3a
|
Implement the mechanism that determines the classes in a file; implement FileEntry::knowsNamespace.
|
2018-10-20 20:57:53 -05:00 |
|
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
|
77aa8b9460
|
Add some minimal test harness.
|
2018-09-29 13:27:19 -05:00 |
|
Hayden Pierce
|
f56e0b26d4
|
Bootstrap files finder and supporting classes.
|
2018-09-29 13:00:26 -05:00 |
|
Hayden Pierce
|
8a653d80ba
|
Bump composer version.
|
2018-09-23 12:59:52 -05:00 |
|
Hayden Pierce
|
6ea71eee46
|
Merge branch 'classmap' into 'master'
Support classmap declarations
See merge request hpierce1102/ClassFinder!2
|
2018-09-23 17:58:54 +00:00 |
|
Hayden Pierce
|
5a9732f72d
|
Update composer lock files.
PHP 5.3 couldn't install some new version of Symfony/yaml or something.
|
2018-09-22 15:24:53 -05:00 |
|
Hayden Pierce
|
74d70a30c3
|
Update documentation.
|
2018-09-16 12:34:30 -05:00 |
|
Hayden Pierce
|
4ecfb28c51
|
Add classmap unit tests; Fix namespace in PSR4Namespace test.
|
2018-09-16 11:52:28 -05:00 |
|
Hayden Pierce
|
c161c74a97
|
Add test confirming loading classes from a 3rd party packages works.
|
2018-09-11 20:26:46 -05:00 |
|
Hayden Pierce
|
8bf7e0fb4e
|
Update test app to 0.2.0
|
2018-09-11 20:21:55 -05:00 |
|
Hayden Pierce
|
17ac97c530
|
Add tests to "all" test suite.
|
2018-09-09 16:15:33 -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
|
8b67568fcd
|
Add failing unit test proving that countMatchingSegments is misbehaving
|
2018-09-09 12:47:24 -05:00 |
|
Hayden Pierce
|
5a71485482
|
Update CI to run on all tests
|
2018-09-08 21:07:36 -05:00 |
|
Hayden Pierce
|
45edfbdc56
|
Move tests that are specific to the PSR4 module to a new file
|
2018-09-08 21:06:40 -05:00 |
|
Hayden Pierce
|
f21e20df18
|
Add test covering that entirely unknown namespaces throw an exception.
|
2018-09-08 21:02: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
|
aeb1ce05cc
|
Remove the exception that gets thrown when a bad namespace is specified.
Unknown namespaces are known to contain nothing.
|
2018-09-08 20:39:18 -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
|
0fd843fff3
|
start adding tests for classmap
|
2018-09-08 14:48:10 -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
|
5772bca25d
|
Update changelog
|
2018-09-05 18:36:46 -05:00 |
|
Hayden Pierce
|
af4e00691a
|
Fix composer.json so that it can be installed by PHP 7.
|
2018-09-05 18:31:15 -05:00 |
|
Hayden Pierce
|
996911e775
|
Merge branch 'ci' into 'master'
Add support for CI; Fix PHP 5.3; Fix bug on Linux
See merge request hpierce1102/ClassFinder!1
|
2018-09-03 21:59:57 +00:00 |
|
Hayden Pierce
|
e824be069c
|
Update changelog
|
2018-09-03 16:57:29 -05:00 |
|
Hayden Pierce
|
4b19db708f
|
Add PHP version to CI output
|
2018-09-03 16:53:13 -05:00 |
|
Hayden Pierce
|
6f4a2013b6
|
Explictly list out PHP requirements.
|
2018-09-03 16:51:23 -05:00 |
|
Hayden Pierce
|
6bf3fca701
|
Add some notes about CI stuff.
|
2018-09-03 16:48:35 -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
|
7e391ec397
|
Get more interesting information first.
|
2018-09-03 16:30:30 -05:00 |
|
Hayden Pierce
|
0c3b4c1ac1
|
Add PHP 5.3 tests
|
2018-09-03 16:25:03 -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
|
a3917e50a3
|
Update job names
|
2018-09-03 12:34:19 -05:00 |
|
Hayden Pierce
|
d8fc8bdbcf
|
Silence composer install script
|
2018-09-03 12:30:59 -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 |
|