1
0
mirror of https://github.com/danog/class-finder.git synced 2024-12-13 01:47:23 +01:00
Commit Graph

155 Commits

Author SHA1 Message Date
Hayden Pierce
0cceace69e Allow CI to execute the shell script 2019-02-25 18:28:38 -06:00
Hayden Pierce
c6fe61af45 Add failing tests 2019-02-25 18:24:44 -06:00
Hayden Pierce
ee813f453d Update version to v0.3.0 2019-02-18 17:48:58 -06:00
Hayden Pierce
1104d16539 Add a description to composer.json 2019-02-18 17:48:35 -06:00
Hayden Pierce
75cbe6e102 Updated changelog for v0.3.0 2019-02-18 17:46:24 -06:00
Hayden Pierce
1e68c78f5b Attempt to check more directories if an app root isn't found. 2019-02-18 17:38:36 -06:00
Hayden Pierce
30c4182c47 Merge branch 'fix-CI-on-forks' into 'master'
Fix CI pipelines on forked projects

See merge request hpierce1102/ClassFinder!7
2019-02-18 23:23:23 +00:00
Hayden Pierce
333817fc02 Remove another hardcoded hpierce1102 2019-02-03 09:55:04 -06:00
Hayden Pierce
2f81fac230 Fix PHP 5.3 compatibility 2019-02-03 09:45:41 -06:00
Hayden Pierce
1428e1a0a6 Downgrade components to get 5.3 compatibility again 2019-02-03 09:41:28 -06:00
Hayden Pierce
2bafb5a20c Cause a failing build hopefully 2019-02-03 08:50:13 -06:00
Hayden Pierce
00ce83bdcb Comment out correct CI job 2019-02-03 08:44:35 -06:00
Hayden Pierce
c8908237e3 show total path 2019-02-03 08:43:56 -06:00
Hayden Pierce
bcee6be6b5 Test CI for forked repos 2019-02-03 08:41:40 -06:00
Hayden Pierce
4d57ebc353 Merge branch 'master' into 'master'
Fix to remove warnings if classmap is empty

Closes #4

See merge request hpierce1102/ClassFinder!6
2019-01-15 00:52:22 +00:00
Marian Sievers
ebd9429717 Fix to remove warnings if classmap is empty 2019-01-15 00:52:22 +00:00
Hayden Pierce
bc50571d29 Bump composer version. 2018-12-31 21:10:02 -06:00
Hayden Pierce
cdc8b1473b Merge branch 'recursive-mode' into 'master'
Recursive mode

See merge request hpierce1102/ClassFinder!4
2019-01-01 03:01:05 +00:00
Hayden Pierce
d6c50baec9 remove TODOs that were completed or no longer planned. 2018-12-31 20:54:48 -06:00
Hayden Pierce
72f453486c Cleanup some comments 2018-12-31 20:51:21 -06:00
Hayden Pierce
8aede23ac8 Disable classmap support for some PSR4 tests. 2018-12-31 20:35:27 -06:00
Hayden Pierce
f7fca13795 Update docs 2018-12-31 19:52:49 -06:00
Hayden Pierce
4a5e77632d Add test confirming that recursive namespaces work 2018-12-31 19:18:07 -06:00
Hayden Pierce
16548ebd82 Add failing unit test for classmap recursive mode 2018-12-31 13:33:39 -06:00
Hayden Pierce
b5a075ffd6 Add failing unit test for classmap recursive mode 2018-12-31 12:54:44 -06:00
Hayden Pierce
7b187f1564 Use all compatible registered namespaces in recursive mode. 2018-12-09 11:56:42 -06:00
Hayden Pierce
4bcdcad244 Remove duplicate test that was testing checking for a fatal error in a circumstance 2018-11-29 20:16:07 -06:00
Hayden Pierce
76a491b7ad Only look at direct classes when in recursive mode; make namespaces consistently end in a \ 2018-11-29 20:06:48 -06:00
Hayden Pierce
f80f856a9d Create PSR4Namespaces with their direct subnamespaces 2018-11-29 18:47:29 -06:00
Hayden Pierce
0c7e79a719 remove extra array element that caused an error. 2018-11-24 19:44:47 -06:00
Hayden Pierce
f0bfdb3ce6 Add recursive mode; fix up some PHPDocs
PHPStorm was complaining about the PHPDocs.
2018-11-24 19:40:35 -06:00
Hayden Pierce
7aa245e68e Add failing tests for PSR4 2018-11-24 19:39:48 -06:00
Hayden Pierce
a62f18ef33 Merge branch 'files' into 'master'
Files Support

See merge request hpierce1102/ClassFinder!3
2018-11-24 17:01:57 +00:00
Hayden Pierce
6707a75a8c Update documentation 2018-11-24 10:56:55 -06:00
Hayden Pierce
0ef031afe5 Add test case to test for 3rd party files 2018-11-24 10:52:01 -06:00
Hayden Pierce
baff32f2f5 Add "Experimental" to the flag.
Hopefully people that don't need it won't use it.
2018-11-24 10:14:55 -06:00
Hayden Pierce
999f912403 Include file integration tests in all test suites 2018-10-21 15:34:30 -05:00
Hayden Pierce
eb27cbfe15 Add a unit test around FilesEntry::knowsNamespace 2018-10-21 15:22:52 -05:00
Hayden Pierce
1e66935193 Make a function private that should have always been private 2018-10-21 15:16:50 -05:00
Hayden Pierce
161825c1ea Add more test cases 2018-10-21 15:14:26 -05:00
Hayden Pierce
bb063b32bb Add a unit test for FilesEntry; reset the index on items coming out of FilesEntry. 2018-10-21 15:07:00 -05:00
Hayden Pierce
7f187675fb Add test confirming that support must be enabled. 2018-10-21 14:30:53 -05:00
Hayden Pierce
39676ce186 Add documentation for "Could not locate PHP" exception. 2018-10-21 10:00:28 -05:00
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