Skip to content

Commit

Permalink
Merge pull request #2 from rocketfellows/CVFV-63
Browse files Browse the repository at this point in the history
  • Loading branch information
arslanim committed May 7, 2023
2 parents 6604e74 + 91cf08c commit 3675a82
Show file tree
Hide file tree
Showing 4 changed files with 699 additions and 45 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,27 @@ jobs:
run-phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v5
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- name: PHPCS analyze
run: ./vendor/bin/phpcs -p -s --standard=phpcs.xml src tests
run-php-stan:
needs: run-phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v5
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- name: PHPStan Static Analysis source code
uses: php-actions/phpstan@v3
with:
version: 1.10.14
configuration: ./phpstan.neon.dist
run-php-unit-tests:
needs: run-php-stan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v5
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
with:
version: 9.5.28
Expand All @@ -36,8 +37,8 @@ jobs:
needs: run-php-unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v5
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- name: Run PHPUnit Tests
uses: php-actions/phpunit@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1678122464">
<project timestamp="1678122464">
<coverage generated="1683462557">
<project timestamp="1683462557">
<file name="/app/src/EEVatFormatValidator.php">
<class name="rocketfellows\EEVatFormatValidator\EEVatFormatValidator" namespace="global">
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/>
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpstan/phpstan": "^0.12.90",
"squizlabs/php_codesniffer": "3.6.2"
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "3.6.2",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 3675a82

Please sign in to comment.