Skip to content

Commit 2ec181f

Browse files
committed
refactor wip
1 parent 43bb88b commit 2ec181f

File tree

297 files changed

+25829
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+25829
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
composer.phar
2+
composer.lock
3+
.git
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Contributing to php-crud-api
2+
3+
Pull requests are welcome.
4+
5+
## Use phpfmt
6+
7+
Please use "phpfmt" to ensure consistent formatting.
8+
9+
## Run the tests
10+
11+
Before you do a PR, you should ensure any new functionality has test cases and that all existing tests are succeeding.
12+
13+
## Run the build
14+
15+
Since this project is a single file application, you must ensure that classes are loaded in the correct order.
16+
This is only important for the "extends" and "implements" relations. The 'build.php' script appends the classes in
17+
alphabetical order (directories first). The path of the class that is extended or implemented (parent) must be above
18+
the extending or implementing (child) class when listing the contents of the 'src' directory in this order. If you
19+
get this order wrong you will see the build will fail with a "Class not found" error message. The solution is to
20+
rename the child class so that it starts with a later letter in the alphabet than the parent class or that you move
21+
the parent class to a subdirectory (directories are scanned first).

vendor/mevdschee/php-crud-api/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Maurits van der Schee
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)