-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI and dev environment configuration
Subset of #663
- Loading branch information
Showing
8 changed files
with
58 additions
and
38 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
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 was deleted.
Oops, something went wrong.
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,29 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-phpunit/extension.neon | ||
- vendor/phpstan/phpstan-symfony/extension.neon | ||
- vendor/phpstan/phpstan-symfony/rules.neon | ||
parameters: | ||
checkMissingIterableValueType: false | ||
excludes_analyse: | ||
- vendor/ | ||
# Propel stuff seems broken as-is, ignoring for now | ||
- Propel/ | ||
- Tests/Propel/ | ||
ignoreErrors: | ||
# temporary | ||
- '#Parameter \#1 \$httpStatusCode of class OAuth2\\OAuth2ServerException constructor expects string, int given#' | ||
- '#Parameter \#1 \$httpCode of class OAuth2\\OAuth2AuthenticateException constructor expects string, int given#' | ||
# how to avoid excluding these? | ||
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::scalarNode\(\)#' | ||
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\).#' | ||
# expected | ||
- '#Parameter \#2 \$requestStack of class FOS\\OAuthServerBundle\\Form\\Handler\\AuthorizeFormHandler constructor expects Symfony\\Component\\HttpFoundation\\Request\|Symfony\\Component\\HttpFoundation\\RequestStack\|null, stdClass given.#' | ||
# Nothing wrong with unit testing things that PHPStan is also checking | ||
- '#Call to method PHPUnit\\Framework\\Assert::assert.*will always evaluate to.*#' | ||
# Assertions that the result of void methods are null | ||
- | ||
message: '#Result of method .*\(\) \(void\) is used#' | ||
paths: ['Tests/*'] | ||
level: 6 | ||
parallel: | ||
maximumNumberOfProcesses: 1 |
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