File tree Expand file tree Collapse file tree 8 files changed +43
-24
lines changed Expand file tree Collapse file tree 8 files changed +43
-24
lines changed Original file line number Diff line number Diff line change 11/.github export-ignore
2- /build export-ignore
32/tests export-ignore
4- /vendor export-ignore
53.gitattributes export-ignore
64.gitignore export-ignore
75phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 1+ {
2+ "package.name" : " Polymorphine/Message" ,
3+ "repository.name" : " polymorphine/message" ,
4+ "package.description" : " PSR-7 Http message implementation" ,
5+ "namespace.src" : " Polymorphine\\ Message" ,
6+ "author.name" : " Shudd3r" ,
7+ "author.email" : " q3.shudder@gmail.com"
8+ }
Original file line number Diff line number Diff line change 5050 - name : " Coding standard CodeSniffer checks"
5151 run : |
5252 vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src
53- vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/CodeSamples/* tests
53+ vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/code-samples/* tests
54+ - name : " Package skeleton validation"
55+ run : vendor/bin/polymorphine-skeleton check
5456 - name : " Run PhpUnit tests with coverage"
5557 run : |
5658 mkdir -p build/logs
Original file line number Diff line number Diff line change 1- .idea /
2- vendor /
3- build /
4- temp /
1+ /.dev /
2+ /vendor /
53/composer.lock
Original file line number Diff line number Diff line change 11# Polymorphine/Message
2- [ ![ Latest Stable Version ] ( https://poser.pugx.org/polymorphine/message/version )] ( https://packagist.org/packages/polymorphine/message )
2+ [ ![ Latest stable release ] ( https://poser.pugx.org/polymorphine/message/version )] ( https://packagist.org/packages/polymorphine/message )
33[ ![ Build status] ( https://github.com/polymorphine/message/workflows/build/badge.svg )] ( https://github.com/polymorphine/message/actions )
4- [ ![ Coverage Status ] ( https://coveralls.io/repos/github/polymorphine/message/badge.svg?branch=master )] ( https://coveralls.io/github/polymorphine/message?branch=master )
4+ [ ![ Coverage status ] ( https://coveralls.io/repos/github/polymorphine/message/badge.svg?branch=develop )] ( https://coveralls.io/github/polymorphine/message?branch=develop )
55[ ![ PHP version] ( https://img.shields.io/packagist/php-v/polymorphine/message.svg )] ( https://packagist.org/packages/polymorphine/message )
66[ ![ LICENSE] ( https://img.shields.io/github/license/polymorphine/message.svg?color=blue )] ( LICENSE )
77### PSR-7 Http message implementation
88
99### Installation with [ Composer] ( https://getcomposer.org/ )
10- php composer.phar require polymorphine/message
10+ ``` bash
11+ composer require polymorphine/message
12+ ```
1113
1214### Basic usage
1315
Original file line number Diff line number Diff line change 22 "name" : " polymorphine/message" ,
33 "description" : " PSR-7 Http message implementation" ,
44 "type" : " library" ,
5+ "license" : " MIT" ,
6+ "authors" : [
7+ {
8+ "name" : " Shudd3r" ,
9+ "email" : " q3.shudder@gmail.com"
10+ }
11+ ],
512 "minimum-stability" : " dev" ,
613 "prefer-stable" : true ,
714 "require" : {
1118 "psr/http-factory" : " ^1.0"
1219 },
1320 "require-dev" : {
14- "polymorphine/dev" : " 0.1 .*"
21+ "polymorphine/dev" : " 0.2 .*"
1522 },
16- "license" : " MIT" ,
17- "authors" : [
18- {
19- "name" : " Shudd3r" ,
20- "email" : " q3.shudder@gmail.com"
21- }
22- ],
2323 "autoload" : {
2424 "psr-4" : {
2525 "Polymorphine\\ Message\\ " : " src/"
3232 },
3333 "scripts" : {
3434 "test-cs" : [
35- " vendor/bin/php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests" ,
36- " vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src" ,
37- " vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/CodeSamples/* tests"
38- ]
35+ " php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests" ,
36+ " phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src" ,
37+ " phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/code-samples/* tests"
38+ ],
39+ "test-php" : " phpunit" ,
40+ "test-skeleton" : " polymorphine-skeleton check"
3941 }
4042}
Original file line number Diff line number Diff line change 1- <?php
1+ <?php declare(strict_types=1);
2+
3+ /*
4+ * This file is part of Polymorphine/Message package.
5+ *
6+ * (c) Shudd3r <q3.shudder@gmail.com>
7+ *
8+ * This source file is subject to the MIT license that is bundled
9+ * with this source code in the file LICENSE.
10+ */
211
312use Polymorphine\Dev\FixerFactory;
413
Original file line number Diff line number Diff line change 22<phpunit
33 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
44 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5/phpunit.xsd"
5- cacheResultFile =" temp/.phpunit.result.cache"
5+ cacheResultFile =" .dev/ temp/.phpunit.result.cache"
66 colors =" true"
77 bootstrap =" vendor/autoload.php"
88>
You can’t perform that action at this time.
0 commit comments