Browse Source

Code formatting

main
Cédric Belin 2 months ago
parent
commit
a8fc628f19
3 changed files with 4 additions and 6 deletions
  1. +0
    -2
      .editorconfig
  2. +1
    -1
      doc/index.md
  3. +3
    -3
      doc/installation.md

+ 0
- 2
.editorconfig View File

@@ -5,8 +5,6 @@ root = true
charset = utf-8
indent_style = tab
insert_final_newline = true
max_line_length = 200
quote_type = double
tab_width = 2
trim_trailing_whitespace = true



+ 1
- 1
doc/index.md View File

@@ -11,7 +11,7 @@
## Quick start
Install the latest version of **Gitea for Yii** with [Composer](https://getcomposer.org):

```shell
``` shell
composer require cedx/yii2-gitea
```



+ 3
- 3
doc/installation.md View File

@@ -6,7 +6,7 @@ and [Composer](https://getcomposer.org), the PHP package manager, up and running
You can verify if you're already good to go with the following commands:

```shell
``` shell
php --version
# PHP 7.4.5 (cli) (built: Apr 14 2020 16:17:19) ( NTS Visual C++ 2017 x64 )

@@ -23,14 +23,14 @@ composer --version
### 1. Install it
From a command prompt, run:

```shell
``` shell
composer require cedx/yii2-gitea
```

### 2. Import it
Now in your [PHP](https://www.php.net) code, you can use:

```php
``` php
<?php
use yii\gitea\models\{
Repository,


Loading…
Cancel
Save