1
0
mirror of https://github.com/danog/class-finder.git synced 2024-12-02 17:37:57 +01:00
Commit Graph

162 Commits

Author SHA1 Message Date
Hayden Pierce
03250429b9 Install PHPUnit in ClassFinder container 2018-09-03 11:33:19 -05:00
Hayden Pierce
b5ef80c01f Correct paths 2018-09-03 11:17:17 -05:00
Hayden Pierce
47d7068113 Change permissions on php72.sh 2018-09-03 11:11:54 -05:00
Hayden Pierce
3df580a444 Add new PHP 7.2 stuff (since the PHP5.3 stuff will never work due to PHPUnit being too new) 2018-09-03 11:08:37 -05:00
Hayden Pierce
98e6d318a6 Attempt to use my own container? 2018-09-02 20:50:17 -05:00
Hayden Pierce
6428ce7d6f Make file exeuctable 2018-09-02 20:43:52 -05:00
Hayden Pierce
95cc8109b4 Push some random stuff up to gitlab and see what happens. 2018-09-02 20:38:07 -05:00
Hayden Pierce
b1c98ad6cd Cleanup changelog #2 2018-09-02 19:49:37 -05:00
Hayden Pierce
43e3f3aff5 Cleanup changelog 2018-09-02 19:48:42 -05:00
Hayden Pierce
155f902fa0 Update docs 2018-09-02 19:47:08 -05:00
Hayden Pierce
e18e1821a6 Add version 2018-09-02 19:35:17 -05:00
Hayden Pierce
5fc9fa77eb Add composer.lock files. oops. 2018-09-02 19:34:21 -05:00
Hayden Pierce
329e2a6950 test for multiple directories multiple levels deep. 2018-09-02 19:18:44 -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
88b389e489 Add test case for 3rd party root level namespaces; Add test case for 1st party multi namespaces (failing!) 2018-09-02 10:31:45 -05:00
Hayden Pierce
69ef5ca1f7 Add test cases confirming that 3rd party class loading works. 2018-09-02 10:11:34 -05:00
Hayden Pierce
c72ffabf40 Update haydenpierce/sandbox-app to 0.1.2 2018-09-02 10:04:16 -05:00
Hayden Pierce
169bedf289 Add error messages 2018-08-31 21:22:28 -05:00
Hayden Pierce
6902be8c37 Add test confirming that loading classes from composer is working. 2018-08-31 21:17:33 -05:00
Hayden Pierce
d037898a6e Add haydenpierce/sandbox-app 2018-08-31 21:17:04 -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
7193ca7858 Add notes about how the stupid testing harness works. 2018-08-04 20:22:43 -05:00
Hayden Pierce
20a3498c60 Invite people to submit issues. 2018-08-04 20:07:55 -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
db2d84eaf4 Add docs explaining how to fix an Unknown namespace error 2018-08-04 19:39:28 -05:00
Hayden Pierce
797c81d41a Add limitations block to readme 2018-08-04 19:18:02 -05:00
Hayden Pierce
d335758e48 Add a test confirming that empty directories don't throw an exception. 2018-08-04 15:30:41 -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
61528d7e87 Add a test that will add a more help error message. 2018-08-04 15:15:50 -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
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