-
Notifications
You must be signed in to change notification settings - Fork 0
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 #5 from answear/support-symfony6
Support Symfony6
- Loading branch information
Showing
13 changed files
with
110 additions
and
62 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 |
---|---|---|
|
@@ -12,6 +12,8 @@ jobs: | |
matrix: | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
deps: | ||
- "normal" | ||
include: | ||
|
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 |
---|---|---|
|
@@ -12,6 +12,8 @@ jobs: | |
matrix: | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
|
||
steps: | ||
- name: "Checkout" | ||
|
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,5 +1,5 @@ | ||
/vendor/ | ||
\.php_cs\.cache | ||
*.cache | ||
.phpunit.result.cache | ||
composer.lock | ||
/.idea |
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,50 +1,53 @@ | ||
{ | ||
"name": "answear/speedy-pickup-point-bundle", | ||
"description": "API Client for Speedy.bg.", | ||
"type": "symfony-bundle", | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=7.4", | ||
"ext-json": "*", | ||
"guzzlehttp/guzzle": "^6.0", | ||
"marc-mabe/php-enum": "^3.0|^4.3", | ||
"symfony/http-kernel": "^4.4|^5.0", | ||
"symfony/serializer": "^4.4|^5.0", | ||
"webmozart/assert": "^1.3" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^2.16", | ||
"phpro/grumphp": "^1.3.0", | ||
"phpstan/phpstan": "^0.12.32", | ||
"phpstan/phpstan-webmozart-assert": "^0.12.2", | ||
"phpunit/phpunit": "^8.4", | ||
"roave/security-advisories": "dev-master", | ||
"symfony/phpunit-bridge": "^5.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Answear\\SpeedyBundle\\": "src/" | ||
"name": "answear/speedy-pickup-point-bundle", | ||
"description": "API Client for Speedy.bg.", | ||
"type": "symfony-bundle", | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=7.4|^8.0", | ||
"ext-json": "*", | ||
"guzzlehttp/guzzle": "^6.0|^7.0", | ||
"marc-mabe/php-enum": "^3.0|^4.3", | ||
"symfony/http-kernel": "^5.4|^6.0", | ||
"symfony/serializer": "^5.4|^6.0", | ||
"webmozart/assert": "^1.3" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^3.4", | ||
"phpro/grumphp": "^1.5.0", | ||
"phpstan/phpstan": "^1.4", | ||
"phpstan/phpstan-webmozart-assert": "^1.0", | ||
"phpunit/phpunit": "^9.5", | ||
"roave/security-advisories": "dev-master", | ||
"symfony/phpunit-bridge": "6.1.*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Answear\\SpeedyBundle\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Answear\\SpeedyBundle\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate" | ||
], | ||
"post-update-cmd": [ | ||
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate" | ||
] | ||
}, | ||
"extra": { | ||
"grumphp": { | ||
"config-default-path": "grumphp.yaml" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"phpro/grumphp": true | ||
} | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Answear\\SpeedyBundle\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate" | ||
], | ||
"post-update-cmd": [ | ||
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate" | ||
] | ||
}, | ||
"extra": { | ||
"grumphp": { | ||
"config-default-path": "grumphp.yaml" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Property Answear\\\\SpeedyBundle\\\\Client\\\\Client\\:\\:\\$configuration is never read, only written\\.$#" | ||
count: 1 | ||
path: src/Client/Client.php | ||
|
||
- | ||
message: "#^Property Answear\\\\SpeedyBundle\\\\Request\\\\FindOfficeRequest\\:\\:\\$countryId is never read, only written\\.$#" | ||
count: 1 | ||
path: src/Request/FindOfficeRequest.php | ||
|
||
- | ||
message: "#^Property Answear\\\\SpeedyBundle\\\\Request\\\\FindOfficeRequest\\:\\:\\$limit is never read, only written\\.$#" | ||
count: 1 | ||
path: src/Request/FindOfficeRequest.php | ||
|
||
- | ||
message: "#^Property Answear\\\\SpeedyBundle\\\\Request\\\\FindOfficeRequest\\:\\:\\$name is never read, only written\\.$#" | ||
count: 1 | ||
path: src/Request/FindOfficeRequest.php | ||
|
||
- | ||
message: "#^Property Answear\\\\SpeedyBundle\\\\Request\\\\FindOfficeRequest\\:\\:\\$siteId is never read, only written\\.$#" | ||
count: 1 | ||
path: src/Request/FindOfficeRequest.php |
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,5 +1,6 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-webmozart-assert/extension.neon | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: 5 | ||
|
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
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
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