-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from baraja-core/master
Big strict update!
- Loading branch information
Showing
40 changed files
with
2,173 additions
and
2,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Integrity check | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Install PHP | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: 7.4 | ||
|
||
- name: Install composer deps | ||
run: | | ||
composer create-project nette/code-checker temp/code-checker ^3 --no-progress | ||
composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress | ||
# Install app deps | ||
composer install --no-interaction --prefer-dist | ||
# Check code checker and coding standards | ||
- name: Check coding standards | ||
run: | | ||
php temp/code-checker/code-checker --short-arrays --strict-types --fix --no-progress | ||
php temp/coding-standard/ecs check src --config temp/coding-standard/coding-standard-php71.yml | ||
- name: Check PHPStan rules | ||
run: composer phpstan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
/test/config.json | ||
.idea | ||
/vendor/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,46 @@ | ||
{ | ||
"name": "salamek/zasilkovna", | ||
"description": "Zasilkovna SOAP and REST client in PHP", | ||
"keywords": [ | ||
"Zasilkovna", | ||
"SOAP", | ||
"API", | ||
"REST" | ||
], | ||
"homepage": "https://github.com/Salamek/zasilkovna", | ||
"license": ["LGPL-3.0"], | ||
"authors": [ | ||
{ | ||
"name": "Adam Schubet", | ||
"homepage": "https://github.com/Salamek/zasilkovna" | ||
} | ||
], | ||
"autoload": { | ||
"classmap": ["src/"] | ||
}, | ||
"require": { | ||
"php": ">=5.4.0", | ||
"spatie/array-to-xml": "2.2.1|^2.7.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^5.8" | ||
} | ||
"name": "salamek/zasilkovna", | ||
"description": "Zasilkovna SOAP and REST client in PHP", | ||
"keywords": [ | ||
"Zasilkovna", | ||
"SOAP", | ||
"API", | ||
"REST" | ||
], | ||
"homepage": "https://github.com/salamek/zasilkovna", | ||
"license": [ | ||
"LGPL-3.0" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Adam Schubet", | ||
"homepage": "https://github.com/Salamek/zasilkovna" | ||
}, | ||
{ | ||
"name": "Jan Barášek", | ||
"homepage": "https://baraja.cz" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.4.0", | ||
"tecnickcom/tcpdf": "^6.3", | ||
"spatie/array-to-xml": "^2.15" | ||
}, | ||
"require-dev": { | ||
"phpstan/phpstan": "^0.12.18", | ||
"tracy/tracy": "^2.7", | ||
"phpstan/phpstan-nette": "^0.12.6", | ||
"symplify/easy-coding-standard": "^7.2" | ||
}, | ||
"autoload": { | ||
"classmap": [ | ||
"src/" | ||
] | ||
}, | ||
"scripts": { | ||
"phpstan": [ | ||
"vendor/bin/phpstan analyse src -c phpstan.neon --level 6 --no-progress" | ||
] | ||
}, | ||
"minimum-stability": "stable" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-nette/extension.neon | ||
- vendor/phpstan/phpstan-nette/rules.neon | ||
|
||
parameters: | ||
ignoreErrors: | ||
- '#Call to an undefined method SoapClient::.+\(\).#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
<directory>test</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> | ||
</phpunit> |
Oops, something went wrong.