File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 restore-keys : |
8686 php${{ matrix.php }}-composer-
8787
88+ - name : Update composer
89+ run : composer self-update
90+
8891 - name : Install dependencies with composer php 7.4
8992 if : matrix.php == '7.4'
9093 run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
Original file line number Diff line number Diff line change 5858 restore-keys : |
5959 php${{ matrix.php }}-composer-
6060
61+ - name : Update composer
62+ run : composer self-update
63+
6164 - name : Install dependencies with composer
6265 run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
6366
Original file line number Diff line number Diff line change 4444 restore-keys : |
4545 php${{ matrix.php }}-composer-
4646
47+ - name : Update composer
48+ run : composer self-update
49+
4750 - name : Install dependencies with composer
4851 run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4952
Original file line number Diff line number Diff line change 55 paths :
66 - " src/*"
77
8+ tools :
9+ php_code_coverage :
10+ enabled : true
11+
812build :
913 nodes :
1014 analysis :
@@ -14,23 +18,3 @@ build:
1418 tests :
1519 override :
1620 - php-scrutinizer-run
17-
18- tests-and-coverage :
19- environment :
20- php : 7.4.12
21-
22- dependencies :
23- override :
24- - composer self-update
25- - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
26-
27- tests :
28- override :
29- -
30- command : " ./vendor/bin/phpunit --coverage-clover ./coverage.xml"
31- on_node : 1
32- coverage :
33- file : coverage.xml
34- format : php-clover
35-
36-
Original file line number Diff line number Diff line change @@ -72,28 +72,45 @@ return [
7272];
7373```
7474
75- ## Unit testing
75+ ### Unit testing
7676
7777The package is tested with [ PHPUnit] ( https://phpunit.de/ ) . To run tests:
7878
79- ``` php
79+ ``` shell
8080./vendor/bin/phpunit
8181```
8282
83- Note: You must have PGSQL installed to run the tests, it supports all PGSQL versions.
84-
85- ## Mutation testing
83+ ### Mutation testing
8684
8785The package tests are checked with [ Infection] ( https://infection.github.io/ ) mutation framework. To run it:
8886
89- ``` php
87+ ``` shell
9088./vendor/bin/infection
9189```
9290
93- ## Static analysis
91+ ### Static analysis
9492
95- The code is statically analyzed with [ Psalm] ( https://psalm.dev/docs/ ) . To run static analysis:
93+ The code is statically analyzed with [ Psalm] ( https://psalm.dev/ ) . To run static analysis:
9694
97- ``` php
95+ ``` shell
9896./vendor/bin/psalm
9997```
98+
99+ ### Support the project
100+
101+ [ ![ Open Collective] ( https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective&logoColor=7eadf1&labelColor=555555 )] ( https://opencollective.com/yiisoft )
102+
103+ ### Follow updates
104+
105+ [ ![ Official website] ( https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat )] ( https://www.yiiframework.com/ )
106+ [ ![ Twitter] ( https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter&logoColor=1DA1F2&labelColor=555555?style=flat )] ( https://twitter.com/yiiframework )
107+ [ ![ Telegram] ( https://img.shields.io/badge/telegram-join-1DA1F2?style=flat&logo=telegram )] ( https://t.me/yii3en )
108+ [ ![ Facebook] ( https://img.shields.io/badge/facebook-join-1DA1F2?style=flat&logo=facebook&logoColor=ffffff )] ( https://www.facebook.com/groups/yiitalk )
109+ [ ![ Slack] ( https://img.shields.io/badge/slack-join-1DA1F2?style=flat&logo=slack )] ( https://yiiframework.com/go/slack )
110+
111+ ## License
112+
113+ The Yii DataBase PostgreSQL Extension is free software. It is released under the terms of the BSD License.
114+ Please see [ ` LICENSE ` ] ( ./LICENSE.md ) for more information.
115+
116+ Maintained by [ Yii Software] ( https://www.yiiframework.com/ ) .
Original file line number Diff line number Diff line change 2424 "yiisoft/arrays" : " ^3.0@dev" ,
2525 "yiisoft/db" : " ^3.0@dev" ,
2626 "yiisoft/json" : " ^1.0" ,
27- "yiisoft/strings" : " ^1.0 "
27+ "yiisoft/strings" : " ^1.1 "
2828 },
2929 "require-dev" : {
3030 "phpunit/phpunit" : " ^9.4" ,
31- "roave/infection-static-analysis-plugin" : " ^1.3 " ,
31+ "roave/infection-static-analysis-plugin" : " ^1.4 " ,
3232 "vimeo/psalm" : " ^4.1" ,
33- "yiisoft/aliases" : " ^1.0 " ,
33+ "yiisoft/aliases" : " ^1.1 " ,
3434 "yiisoft/cache" : " ^3.0@dev" ,
3535 "yiisoft/di" : " ^3.0@dev" ,
3636 "yiisoft/log" : " ^3.0@dev"
You can’t perform that action at this time.
0 commit comments