Skip to content

Commit fb6735b

Browse files
committed
Add license information
1 parent f73962d commit fb6735b

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

LICENSE

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

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
# PHPCodeGenerator
2+
A library to generate PHP 7.4 code
3+
14
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/badges/quality-score.png?b=0.1)](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/?branch=0.1)
25
[![Code Coverage](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/badges/coverage.png?b=0.1)](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/?branch=0.1)
36
[![Build Status](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/badges/build.png?b=0.1)](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/build-status/0.1)
47
[![Code Intelligence Status](https://scrutinizer-ci.com/g/murtukov/PHPCodeGenerator/badges/code-intelligence.svg?b=0.1)](https://scrutinizer-ci.com/code-intelligence)
5-
6-
# PHPCodeGenerator
7-
A library to generate PHP 7.4 code
8+
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)]()
89

910
- [Installation](#installation)
1011
- [File](#file)
@@ -590,7 +591,7 @@ class MyClass
590591
}
591592
```
592593

593-
However class qualifiers are NOT resolved from scalaras and arrays, unless unwrapped in special objects:
594+
However class qualifiers are NOT resolved from scalaras and arrays, unless wrapped in special objects:
594595
```php
595596
use Murtukov\PHPCodeGenerator\Collection;
596597
use Murtukov\PHPCodeGenerator\Literal;
@@ -649,7 +650,7 @@ $method->append('return ', Instance::new('App\MyClass'));
649650
```
650651

651652
## Global Configs
652-
All global configs are stored as static properties of the `Config` class.
653+
All global configs are stored as static properties in the `Config` class.
653654

654655
#### Indent
655656
Default indent contains 4 spaces. You can change it by rewriting the `$indent` property:

0 commit comments

Comments
 (0)