Skip to content

Commit 7562ca5

Browse files
committed
Add v2
1 parent 6cc74c6 commit 7562ca5

File tree

232 files changed

+11723
-7738
lines changed

Some content is hidden

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

232 files changed

+11723
-7738
lines changed

.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

CONTRIBUTING.md

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).

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2016 Maurits van der Schee
3+
Copyright (c) 2018 Maurits van der Schee
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)