Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 17f6c56

Browse files
committed
Add license, readme and composer.json for stubs [skip ci]
We need this to `git subsplit` stubs to let users require stubs with composer easily
1 parent bf76905 commit 17f6c56

File tree

4 files changed

+61
-1
lines changed

4 files changed

+61
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2016 Bogdan Padalko <[email protected]>
3+
Copyright (c) 2015-2016 Bogdan Padalko <[email protected]>
44

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

stubs/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2015-2016 Bogdan Padalko <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9+
of the Software, and to permit persons to whom the Software is furnished to do
10+
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.

stubs/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Stub files for [php-v8](https://github.com/pinepain/php-v8) PHP extension
2+
3+
This is a git subtree split of [php-v8](https://github.com/pinepain/php-v8) extension stub files.
4+
5+
**All issues and pull-requests should be submitted to the original [php-v8](https://github.com/pinepain/php-v8) repository.**
6+
7+
8+
## Installation
9+
10+
If you are also using Composer, it is recommended that you add the [php-v8-stub](https://github.com/pinepain/php-v8-stubs)
11+
package as a dev-mode requirement. This provides skeleton definitions and annotations to enable support for auto-completion
12+
in your IDE and other code-analysis tools.
13+
14+
composer require --dev pinepain/php-v8-stubs
15+
16+
17+
## License
18+
19+
Copyright (c) 2015-2016 Bogdan Padalko &lt;[email protected]&gt;
20+
21+
[php-v8](https://github.com/pinepain/php-v8) PHP extension is licensed under the [MIT license](http://opensource.org/licenses/MIT).

stubs/composer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "pinepain/php-v8-stubs",
3+
"type": "library",
4+
"description": "Stub files for pinepain/php-v8 php extension",
5+
"keywords": ["dev", "stub", "php-v8", "v8", "js", "javascript"],
6+
"homepage": "https://github.com/pinepain/php-weak-stubs",
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "Bogdan Padalko",
11+
"email": "[email protected]",
12+
"homepage": "https://github.com/pinepain"
13+
}
14+
],
15+
"require": {
16+
"php": "~7.0"
17+
}
18+
}

0 commit comments

Comments
 (0)