File tree 5 files changed +67
-0
lines changed
5 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ vendor
2
+ composer.lock
Original file line number Diff line number Diff line change
1
+ # CD2 Base PHP Project (Experimental)
2
+
3
+ This is a 2017 effort to simplify the framework-based approach coming back to basics for PHP applications.
4
+
5
+ * No front-controller (at least to start with)
6
+ * Loads Bootstrap / Autoloader before doing anything
7
+ * Configures system
8
+
9
+ ## Motivation(s)
10
+
11
+ * Lean approach to systems design
12
+ * Cross-technology approach (something we are trying for 2017)
13
+ * Well documented / tested from beginning
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " codesign2/project" ,
3
+ "description" : " Base Project for CODESIGN2 PHP work 2017" ,
4
+ "type" : " project" ,
5
+ "require-dev" : {
6
+ "phpunit/phpunit" : " ^5.7" ,
7
+ "hamcrest/hamcrest-php" : " ^2.0" ,
8
+ "fzaninotto/faker" : " ^1.6"
9
+ },
10
+ "license" : " AGPL" ,
11
+ "authors" : [
12
+ {
13
+ "name" : " Lewis Cowles" ,
14
+ "email" : " lewiscowles@me.com"
15
+ }
16
+ ],
17
+ "minimum-stability" : " stable" ,
18
+ "require" : {}
19
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <phpunit colors =" true" bootstrap =" vendor/autoload.php" >
4
+ <testsuites >
5
+ <testsuite >
6
+ <directory prefix =" Test" suffix =" .php" >tests/</directory >
7
+ </testsuite >
8
+ </testsuites >
9
+ <filter >
10
+ <blacklist >
11
+ <directory suffix =" .php" >vendor/</directory >
12
+ </blacklist >
13
+ <whitelist addUncoveredFilesFromWhitelist =" true" >
14
+ <directory suffix =" .php" >private/</directory >
15
+ </whitelist >
16
+ <whitelist addUncoveredFilesFromWhitelist =" true" >
17
+ <directory suffix =" .php" >public/</directory >
18
+ </whitelist >
19
+ </filter >
20
+ </phpunit >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace cd2 \tests ;
4
+
5
+ use PHPUnit \Framework \TestCase ;
6
+
7
+ class TestPreFlight extends TestCase
8
+ {
9
+ public function testShouldAlwaysBeTrue () {
10
+ $ this ->assertTrue (true );
11
+ }
12
+ }
13
+
You can’t perform that action at this time.
0 commit comments