-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dad5ede
commit 0e5e6bc
Showing
13 changed files
with
133 additions
and
43 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
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,22 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:dispatch\\(\\) invoked with 2 parameters, 1 required\\.$#" | ||
count: 2 | ||
path: src/BarcodeChecker/BarcodeChecker.php | ||
|
||
- | ||
message: "#^Call to function method_exists\\(\\) with 'Symfony\\\\\\\\Component\\\\\\\\Config\\\\\\\\Definition\\\\\\\\Builder\\\\\\\\TreeBuilder' and 'getRootNode' will always evaluate to true\\.$#" | ||
count: 1 | ||
path: src/DependencyInjection/Configuration.php | ||
|
||
- | ||
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" | ||
count: 1 | ||
path: src/DependencyInjection/Configuration.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$configuration of method Symfony\\\\Component\\\\DependencyInjection\\\\Extension\\\\Extension\\:\\:processConfiguration\\(\\) expects Symfony\\\\Component\\\\Config\\\\Definition\\\\ConfigurationInterface, Symfony\\\\Component\\\\Config\\\\Definition\\\\ConfigurationInterface\\|null given\\.$#" | ||
count: 1 | ||
path: src/DependencyInjection/LoevgaardSyliusBarcodeExtension.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,17 +1,12 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-doctrine/extension.neon | ||
- vendor/phpstan/phpstan-webmozart-assert/extension.neon | ||
- vendor/phpstan/phpstan-strict-rules/rules.neon | ||
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
reportUnmatchedIgnoredErrors: true | ||
checkMissingIterableValueType: false | ||
|
||
excludes_analyse: | ||
# Makes PHPStan crash | ||
- 'src/DependencyInjection/Configuration.php' | ||
level: max | ||
|
||
paths: | ||
- src/ | ||
|
||
ignoreErrors: | ||
- '/Parameter #1 \$configuration of method .+processConfiguration\(\) expects .+ConfigurationInterface, .+ConfigurationInterface\|null given\./' | ||
- '/Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface\:\:dispatch\(\) invoked with 2 parameters, 1 required\./' | ||
reportUnmatchedIgnoredErrors: 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
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 |
---|---|---|
|
@@ -21,3 +21,11 @@ DATABASE_URL=mysql://[email protected]/sylius_barcode_%kernel.environment%?serverVe | |
# Delivery is disabled by default via "null://localhost" | ||
MAILER_URL=smtp://localhost | ||
###< symfony/swiftmailer-bundle ### | ||
|
||
###> lexik/jwt-authentication-bundle ### | ||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem | ||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem | ||
JWT_PASSPHRASE=acme_plugin_development | ||
###< lexik/jwt-authentication-bundle ### | ||
|
||
SYLIUS_ADMIN_ROUTING_PATH_NAME=admin |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
doctrine_migrations: | ||
dir_name: "%kernel.project_dir%/src/Migrations" | ||
|
||
# Namespace is arbitrary but should be different from App\Migrations as migrations classes should NOT be autoloaded | ||
namespace: DoctrineMigrations | ||
migrations_paths: | ||
# namespace is arbitrary but should be different from App\Migrations | ||
# as migrations classes should NOT be autoloaded | ||
'DoctrineMigrations': '%kernel.project_dir%/src/Migrations' | ||
storage: | ||
table_storage: | ||
table_name: 'migration_versions' |
4 changes: 4 additions & 0 deletions
4
tests/Application/config/packages/lexik_jwt_authentication.yaml
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,4 @@ | ||
lexik_jwt_authentication: | ||
secret_key: '%env(resolve:JWT_SECRET_KEY)%' | ||
public_key: '%env(resolve:JWT_PUBLIC_KEY)%' | ||
pass_phrase: '%env(JWT_PASSPHRASE)%' |
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,3 @@ | ||
sylius_api: | ||
resource: "@SyliusApiBundle/Resources/config/routing.yml" | ||
prefix: "%sylius.security.new_api_route%" |
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