composer upgrade, prevent dbal upgrade, new phpstan version (#2900)

This commit is contained in:
Kevin Papst
2021-11-03 14:58:10 +01:00
committed by GitHub
parent eb63dae405
commit d4278996ae
7 changed files with 324 additions and 380 deletions

View File

@@ -29,6 +29,7 @@ class DemoFull
protected $protectedProperty = false;
/**
* @Exporter\Expose(label="label.Private-Property", type="integer")
* @phpstan-ignore-next-line
*/
private $privateProperty = 123;
@@ -63,6 +64,7 @@ class DemoFull
/**
* @Exporter\Expose(name="fake-method", label="label.Private-Method", type="boolean")
* @phpstan-ignore-next-line
*/
private function privateMethod(): bool
{

View File

@@ -15,6 +15,7 @@ class ExpressionOnProperty
{
/**
* @Exporter\Expose("accessor", label="label.accessor", exp="object.foo")
* @phpstan-ignore-next-line
*/
private $foo;
}

View File

@@ -20,8 +20,6 @@ use Symfony\Component\Security\Http\HttpUtils;
*/
class SamlAuthenticationSuccessHandlerTest extends TestCase
{
private $handler;
public function testWithAlwaysUseDefaultTargetPath()
{
$httpUtils = new HttpUtils($this->getUrlGenerator());

View File

@@ -7,6 +7,6 @@ parameters:
tmpDir: %rootDir%/../../../var/cache/phpstan
ignoreErrors:
- '#Call to static method PHPUnit\\Framework\\Assert::assertSame\(\) with App\\Entity\\[a-zA-Z0-9]+ and null will always evaluate to false.#'
excludes_analyse:
excludePaths:
- %rootDir%/../../../tests/Ldap/LdapDriverTest.php
inferPrivatePropertyTypeFromConstructor: true