File tree Expand file tree Collapse file tree 6 files changed +23
-19
lines changed Expand file tree Collapse file tree 6 files changed +23
-19
lines changed Original file line number Diff line number Diff line change 33.gitattributes export-ignore
44.gitignore export-ignore
55phpunit.xml.dist export-ignore
6- phpcs.xml.dist export-ignore
76cs-fixer.php.dist export-ignore
7+ phpcs.xml.dist export-ignore
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 11The MIT License (MIT)
22
3- Copyright (c) 2020 Shudd3r <q3.shudder@gmail.com>
3+ Copyright (c) 2022 Shudd3r <q3.shudder@gmail.com>
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 66[ ![ LICENSE] ( https://img.shields.io/github/license/polymorphine/dev.svg?color=blue )] ( LICENSE )
77### Development tools & coding standard scripts for Polymorphine libraries
88
9- ## Coding Standards
10- Combination of [ PHP-CS-Fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer )
11- and [ CodeSniffer] ( https://github.com/squizlabs/PHP_CodeSniffer ) with custom
12- settings added as dev dependency of Polymorphine packages.
9+ - [ PHPUnit] ( https://github.com/sebastianbergmann/phpunit ) testing library.
10+ - Combination of [ PHP-CS-Fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer )
11+ and [ CodeSniffer] ( https://github.com/squizlabs/PHP_CodeSniffer ) with custom
12+ settings added as dev dependency of Polymorphine packages.
13+ - Package skeleton scripted with [ Skeletons] ( https://github.com/shudd3r/skeletons ) engine.
14+
15+ ### Installation with [ Composer] ( https://getcomposer.org/ )
16+ ``` bash
17+ composer require --dev polymorphine/dev
18+ ```
1319
1420#### PHP-CS-Fixer
1521` PHP-CS-Fixer ` will automatically fix code formatting, and ` CodeSniffer `
Original file line number Diff line number Diff line change 99 "email" : " q3.shudder@gmail.com"
1010 }
1111 ],
12+ "minimum-stability" : " stable" ,
13+ "require" : {
14+ "php" : " ^7.4 || ^8.0" ,
15+ "friendsofphp/php-cs-fixer" : " 3.9.*" ,
16+ "squizlabs/php_codesniffer" : " ^3.7.1" ,
17+ "phpunit/phpunit" : " ^9.5.21" ,
18+ "php-coveralls/php-coveralls" : " ^2.5.2"
19+ },
1220 "autoload" : {
1321 "psr-4" : {
1422 "Polymorphine\\ Dev\\ " : " src/"
1927 "Polymorphine\\ Dev\\ Tests\\ " : " tests/"
2028 }
2129 },
22- "minimum-stability" : " stable" ,
23- "require" : {
24- "php" : " ^7.4 || ^8.0" ,
25- "friendsofphp/php-cs-fixer" : " 3.9.*" ,
26- "squizlabs/php_codesniffer" : " ^3.7.1" ,
27- "phpunit/phpunit" : " ^9.5.21" ,
28- "php-coveralls/php-coveralls" : " ^2.5.2"
29- },
3030 "scripts" : {
3131 "test-cs" : [
3232 " php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests" ,
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