diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index aeb77f59b..ad6a7ae9f 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -76,6 +76,10 @@ jobs: with: composer-options: "--prefer-dist --no-progress" + - name: Install sqlftw/sqlftw + run: composer require sqlftw/sqlftw --ignore-platform-req=php+ + if: "${{matrix.php-version != '7.3'}}" + - name: Enable phpstan@dev if: "${{matrix.phpstan-version != ''}}" run: | @@ -123,4 +127,8 @@ jobs: with: composer-options: "--prefer-dist --no-progress" + - name: Install sqlftw/sqlftw + run: composer require sqlftw/sqlftw --ignore-platform-req=php+ + if: "${{matrix.php-version != '7.3'}}" + - run: composer phpstan diff --git a/.github/workflows/tests-postgres.yml b/.github/workflows/tests-postgres.yml index 8a2ca57d0..cf7556ace 100644 --- a/.github/workflows/tests-postgres.yml +++ b/.github/workflows/tests-postgres.yml @@ -51,7 +51,11 @@ jobs: - uses: "ramsey/composer-install@v2" with: - composer-options: "--prefer-dist --no-progress" + composer-options: "--prefer-dist --no-progress" + + - name: Install sqlftw/sqlftw + run: composer require sqlftw/sqlftw --ignore-platform-req=php+ + if: "${{matrix.php-version != '7.3'}}" - name: Setup Problem Matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f95b8af77..438106d4a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -96,6 +96,10 @@ jobs: # ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033 composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+" + - name: Install sqlftw/sqlftw + run: composer require sqlftw/sqlftw --ignore-platform-req=php+ + if: "${{matrix.php-version != '7.3'}}" + - name: Setup Problem Matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" @@ -144,6 +148,10 @@ jobs: # ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033 composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+" + - name: Install sqlftw/sqlftw + run: composer require sqlftw/sqlftw --ignore-platform-req=php+ + if: "${{matrix.php-version != '7.3'}}" + - name: Setup Problem Matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" diff --git a/.phpstan-dba-mysqli.cache b/.phpstan-dba-mysqli.cache index e2ac25a17..9d6a76cb8 100644 --- a/.phpstan-dba-mysqli.cache +++ b/.phpstan-dba-mysqli.cache @@ -1,6 +1,6 @@ 'v11-phpstan1_9_3-update', - 'schemaHash' => '978ac93a0dacd29d0a93b7827aa3319c', + 'schemaHash' => '436d43fc96b9dd0cfad4bbc2837886e4', 'records' => array ( 'SELECT @@ -20,6 +20,7 @@ 'cachedDescriptions' => array ( 2 => '0|1|2|\'COLUMN_NAME\'|\'COLUMN_TYPE\'|\'EXTRA\'', + 1 => 'int|string', ), 'types' => array ( @@ -38,21 +39,57 @@ 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), 'value' => 'COLUMN_NAME', 'isClassString' => false, )), 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), 'value' => 'COLUMN_TYPE', 'isClassString' => false, )), 5 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'EXTRA', + 'isClassString' => false, + )), + 'value' => 'EXTRA', + 'isClassString' => false, + )), 'value' => 'EXTRA', 'isClassString' => false, )), @@ -72,7 +109,19 @@ 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), 'value' => 'COLUMN_NAME', 'isClassString' => false, )), @@ -83,7 +132,19 @@ 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'EXTRA', + 'isClassString' => false, + )), + 'value' => 'EXTRA', + 'isClassString' => false, + )), 'value' => 'EXTRA', 'isClassString' => false, )), @@ -94,7 +155,19 @@ 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), 'value' => 'COLUMN_TYPE', 'isClassString' => false, )), @@ -200,7 +273,9 @@ PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 2 => PHPStan\Type\NullType::__set_state(array( @@ -275,10 +350,14 @@ 'normalized' => true, )), 2 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 3 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -326,7 +405,9 @@ PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 2 => PHPStan\Type\NullType::__set_state(array( @@ -376,7 +457,9 @@ 'normalized' => true, )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -399,7 +482,7 @@ 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|\'COLUMN_DEFAULT\'|\'COLUMN_NAME\'|\'IS_NULLABLE\'', + 2 => '0|1|2|\'column_default\'|\'column_name\'|\'is_nullable\'', ), 'types' => array ( @@ -419,21 +502,21 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'COLUMN_DEFAULT', + 'value' => 'column_default', 'isClassString' => false, )), 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'COLUMN_NAME', + 'value' => 'column_name', 'isClassString' => false, )), 5 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'IS_NULLABLE', + 'value' => 'is_nullable', 'isClassString' => false, )), ), @@ -467,7 +550,7 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'COLUMN_NAME', + 'value' => 'column_name', 'isClassString' => false, )), 1 => @@ -478,7 +561,7 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'COLUMN_DEFAULT', + 'value' => 'column_default', 'isClassString' => false, )), 3 => @@ -489,7 +572,7 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'IS_NULLABLE', + 'value' => 'is_nullable', 'isClassString' => false, )), 5 => @@ -553,185 +636,6 @@ )), ), ), - 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => - array ( - 'result' => - array ( - 5 => - PHPStan\Type\Constant\ConstantArrayType::__set_state(array( - 'keyType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 2 => '0|1|2|3|\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', - ), - 'types' => - array ( - 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - ), - 'normalized' => false, - )), - 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - ), - 'normalized' => true, - )), - 'allArrays' => NULL, - 'nextAutoIndexes' => - array ( - 0 => 4, - ), - 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - ), - 'valueTypes' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 4 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 5 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 6 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 7 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - ), - 'optionalKeys' => - array ( - ), - 'isList' => false, - )), - ), - ), ), 'runtimeConfig' => array ( diff --git a/.phpstan-dba-pdo-mysql.cache b/.phpstan-dba-pdo-mysql.cache index 6c0e60b9b..1ba93a9fb 100644 --- a/.phpstan-dba-pdo-mysql.cache +++ b/.phpstan-dba-pdo-mysql.cache @@ -20,6 +20,7 @@ 'cachedDescriptions' => array ( 2 => '0|1|2|\'COLUMN_NAME\'|\'COLUMN_TYPE\'|\'EXTRA\'', + 1 => 'int|string', ), 'types' => array ( @@ -38,21 +39,57 @@ 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), 'value' => 'COLUMN_NAME', 'isClassString' => false, )), 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), 'value' => 'COLUMN_TYPE', 'isClassString' => false, )), 5 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'EXTRA', + 'isClassString' => false, + )), + 'value' => 'EXTRA', + 'isClassString' => false, + )), 'value' => 'EXTRA', 'isClassString' => false, )), @@ -72,7 +109,19 @@ 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), + 'value' => 'COLUMN_NAME', + 'isClassString' => false, + )), 'value' => 'COLUMN_NAME', 'isClassString' => false, )), @@ -83,7 +132,19 @@ 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'EXTRA', + 'isClassString' => false, + )), + 'value' => 'EXTRA', + 'isClassString' => false, + )), 'value' => 'EXTRA', 'isClassString' => false, )), @@ -94,7 +155,19 @@ 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), + 'value' => 'COLUMN_TYPE', + 'isClassString' => false, + )), 'value' => 'COLUMN_TYPE', 'isClassString' => false, )), @@ -396,6 +469,173 @@ )), ), ), + 'SELECT column_name, column_default, is_nullable + FROM information_schema.columns + WHERE table_name = \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|2|\'column_default\'|\'column_name\'|\'is_nullable\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'column_default', + 'isClassString' => false, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'column_name', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'is_nullable', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 3, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'column_name', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'column_default', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'is_nullable', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 4 => + PHPStan\Type\StringType::__set_state(array( + )), + 5 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT column_name, column_default, is_nullable FROM information_schema.columns WHERE table_name = \'1970-01-01\'' => diff --git a/README.md b/README.md index b8ad8fb9e..b3677f288 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ $config = new RuntimeConfiguration(); // $config->debugMode(true); // $config->stringifyTypes(true); // $config->analyzeQueryPlans(true); +// $config->utilizeSqlAst(true); // TODO: Put your database credentials here $mysqli = new mysqli('hostname', 'username', 'password', 'database'); diff --git a/composer.json b/composer.json index 76737422a..a329dbc53 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "tomasvotruba/unused-public": "^0.0.34", "vlucas/phpdotenv": "^5.4" }, - "conflicts": { - "phpstan/phpstan": "1.4.0" + "conflict": { + "sqlftw/sqlftw": "<0.1.6 || >0.1.6" }, "autoload": { "psr-4": { diff --git a/src/QueryReflection/QueryReflection.php b/src/QueryReflection/QueryReflection.php index 187401fbc..5166a5439 100644 --- a/src/QueryReflection/QueryReflection.php +++ b/src/QueryReflection/QueryReflection.php @@ -4,6 +4,7 @@ namespace staabm\PHPStanDba\QueryReflection; +use Composer\InstalledVersions; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Scalar\Encapsed; @@ -30,6 +31,8 @@ use staabm\PHPStanDba\DbaException; use staabm\PHPStanDba\Error; use staabm\PHPStanDba\PhpDoc\PhpDocUtil; +use staabm\PHPStanDba\SchemaReflection\SchemaReflection; +use staabm\PHPStanDba\SqlAst\ParserInference; use staabm\PHPStanDba\UnresolvableQueryException; final class QueryReflection @@ -50,6 +53,11 @@ final class QueryReflection */ private static $runtimeConfiguration; + /** + * @var SchemaReflection + */ + private $schemaReflection; + public function __construct(?DbaApi $dbaApi = null) { self::reflector()->setupDbaApi($dbaApi); @@ -104,11 +112,25 @@ public function getResultType(string $queryString, int $fetchType): ?Type } $resultType = self::reflector()->getResultType($queryString, $fetchType); - if ( - null !== $resultType - && self::getRuntimeConfiguration()->isStringifyTypes() - ) { - return $this->stringifyResult($resultType); + + if (null !== $resultType) { + if (!$resultType instanceof ConstantArrayType) { + throw new ShouldNotHappenException(); + } + + if ( + self::getRuntimeConfiguration()->isUtilizingSqlAst() + ) { + if (!InstalledVersions::isInstalled('sqlftw/sqlftw')) { + throw new \Exception('sqlftw/sqlftw is required to utilize the sql ast. Please install it via composer.'); + } + $parserInference = new ParserInference($this->getSchemaReflection()); + $resultType = $parserInference->narrowResultType($queryString, $resultType); + } + + if (self::getRuntimeConfiguration()->isStringifyTypes()) { + return $this->stringifyResult($resultType); + } } return $resultType; @@ -150,6 +172,17 @@ private function stringifyType(Type $type): Type return $type; } + private function getSchemaReflection(): SchemaReflection + { + if (null === $this->schemaReflection) { + $this->schemaReflection = new SchemaReflection(function ($queryString) { + return self::reflector()->getResultType($queryString, QueryReflector::FETCH_TYPE_ASSOC); + }); + } + + return $this->schemaReflection; + } + /** * @return iterable * diff --git a/src/QueryReflection/RuntimeConfiguration.php b/src/QueryReflection/RuntimeConfiguration.php index e66819980..08dd16a9e 100644 --- a/src/QueryReflection/RuntimeConfiguration.php +++ b/src/QueryReflection/RuntimeConfiguration.php @@ -47,6 +47,10 @@ final class RuntimeConfiguration * @var bool */ private $writableQueries = true; + /** + * @var bool + */ + private $utilizeSqlAst = false; /** * @var bool|0|positive-int */ @@ -121,6 +125,18 @@ public function analyzeWriteQueries(bool $enabled): self return $this; } + /** + * Enables experimental sql-ast type narrowing. + * + * Requires "sqlftw/sqlftw" to be additionally installed. + */ + public function utilizeSqlAst(bool $enabled): self + { + $this->utilizeSqlAst = $enabled; + + return $this; + } + /** * Enables query plan analysis, which indicates performance problems. * @@ -173,6 +189,11 @@ public function isAnalyzingWriteQueries(): bool return $this->writableQueries; } + public function isUtilizingSqlAst(): bool + { + return $this->utilizeSqlAst; + } + /** * @return QueryReflector::FETCH_TYPE* */ diff --git a/src/SchemaReflection/Column.php b/src/SchemaReflection/Column.php new file mode 100644 index 000000000..38247ea97 --- /dev/null +++ b/src/SchemaReflection/Column.php @@ -0,0 +1,38 @@ +name = $name; + $this->type = $type; + } + + public function getType(): Type + { + return $this->type; + } + + public function getName(): string + { + return $this->name; + } +} diff --git a/src/SchemaReflection/SchemaReflection.php b/src/SchemaReflection/SchemaReflection.php new file mode 100644 index 000000000..4b0387ff7 --- /dev/null +++ b/src/SchemaReflection/SchemaReflection.php @@ -0,0 +1,55 @@ + + */ + private $tables = []; + + /** + * @var callable(string):?\PHPStan\Type\Type + */ + private $queryResolver; + + /** + * @param callable(string):?\PHPStan\Type\Type $queryResolver + */ + public function __construct(callable $queryResolver) + { + $this->queryResolver = $queryResolver; + } + + public function getTable(string $tableName): ?Table + { + if (\array_key_exists($tableName, $this->tables)) { + return $this->tables[$tableName]; + } + + $resultType = ($this->queryResolver)('SELECT * FROM '.$tableName); + if (!$resultType instanceof ConstantArrayType) { + return $this->tables[$tableName] = null; + } + + $keyTypes = $resultType->getKeyTypes(); + $valueTypes = $resultType->getValueTypes(); + $columns = []; + foreach ($keyTypes as $i => $keyType) { + if (!$keyType instanceof ConstantStringType) { + throw new ShouldNotHappenException(); + } + + $columns[] = new Column($keyType->getValue(), $valueTypes[$i]); + } + + return $this->tables[$tableName] = new Table($tableName, $columns); + } +} diff --git a/src/SchemaReflection/Table.php b/src/SchemaReflection/Table.php new file mode 100644 index 000000000..b57127091 --- /dev/null +++ b/src/SchemaReflection/Table.php @@ -0,0 +1,42 @@ + + */ + private $columns = []; + + /** + * @param list $columns + */ + public function __construct(string $name, array $columns) + { + $this->name = $name; + $this->columns = $columns; + } + + public function getName(): string + { + return $this->name; + } + + /** + * @return list + */ + public function getColumns(): array + { + return $this->columns; + } +} diff --git a/src/SqlAst/AbsReturnTypeExtension.php b/src/SqlAst/AbsReturnTypeExtension.php new file mode 100644 index 000000000..7b1e175e8 --- /dev/null +++ b/src/SqlAst/AbsReturnTypeExtension.php @@ -0,0 +1,48 @@ +getFunction()->getName(), [BuiltInFunction::ABS], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): ?Type + { + $args = $expression->getArguments(); + + if (1 !== \count($args)) { + return null; + } + + $argType = $scope->getType($args[0]); + + if ($argType->isNull()->yes()) { + return new NullType(); + } + + $containedNull = TypeCombinator::containsNull($argType); + $argType = TypeCombinator::removeNull($argType); + + if ($argType instanceof IntegerRangeType) { + $argType = IntegerRangeType::fromInterval(0, $argType->getMax()); + } + + if ($containedNull) { + $argType = TypeCombinator::addNull($argType); + } + + return $argType; + } +} diff --git a/src/SqlAst/AvgReturnTypeExtension.php b/src/SqlAst/AvgReturnTypeExtension.php new file mode 100644 index 000000000..3848670da --- /dev/null +++ b/src/SqlAst/AvgReturnTypeExtension.php @@ -0,0 +1,29 @@ +getFunction()->getName(), [BuiltInFunction::AVG, BuiltInFunction::MIN, BuiltInFunction::MAX], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): ?Type + { + $args = $expression->getArguments(); + + if (1 !== \count($args)) { + return null; + } + + return TypeCombinator::addNull($scope->getType($args[0])->toNumber()); + } +} diff --git a/src/SqlAst/CoalesceReturnTypeExtension.php b/src/SqlAst/CoalesceReturnTypeExtension.php new file mode 100644 index 000000000..a6503b26c --- /dev/null +++ b/src/SqlAst/CoalesceReturnTypeExtension.php @@ -0,0 +1,41 @@ +getFunction()->getName(), [BuiltInFunction::COALESCE, BuiltInFunction::IFNULL, BuiltInFunction::NULLIF], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): Type + { + $args = $expression->getArguments(); + + $results = []; + $containsNonNullable = false; + foreach ($args as $arg) { + $argType = $scope->getType($arg); + + $results[] = $argType; + if (!TypeCombinator::containsNull($argType)) { + $containsNonNullable = true; + } + } + + $union = TypeCombinator::union(...$results); + if ($containsNonNullable) { + return TypeCombinator::removeNull($union); + } + + return $union; + } +} diff --git a/src/SqlAst/ConcatReturnTypeExtension.php b/src/SqlAst/ConcatReturnTypeExtension.php new file mode 100644 index 000000000..145551a6f --- /dev/null +++ b/src/SqlAst/ConcatReturnTypeExtension.php @@ -0,0 +1,84 @@ +getFunction()->getName(), [BuiltInFunction::CONCAT, BuiltInFunction::CONCAT_WS], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): Type + { + $args = $expression->getArguments(); + + $results = []; + $containtsNull = false; + $allNumeric = true; + $isNonFalsyString = false; + $isNonEmptyString = false; + $isNumber = new UnionType([new IntegerType(), new FloatType()]); + foreach ($args as $arg) { + $argType = $scope->getType($arg); + + if (BuiltInFunction::CONCAT == $expression->getFunction()->getName()) { + if ($argType->isNull()->yes()) { + return new NullType(); + } + + if (TypeCombinator::containsNull($argType)) { + $containtsNull = true; + } + } + + $argType = TypeCombinator::removeNull($argType); + + if ( + !$argType->isNumericString()->yes() + && !$isNumber->isSuperTypeOf($argType)->yes()) { + $allNumeric = false; + } + + if ($argType->isNonFalsyString()->yes()) { + $isNonFalsyString = true; + } elseif ($argType->isNonEmptyString()->yes() || $isNumber->isSuperTypeOf($argType)->yes()) { + $isNonEmptyString = true; + } + } + + $accessories = []; + if ($allNumeric) { + $accessories[] = new AccessoryNumericStringType(); + } + + if ($isNonFalsyString) { + $accessories[] = new AccessoryNonFalsyStringType(); + } elseif ($isNonEmptyString) { + $accessories[] = new AccessoryNonEmptyStringType(); + } + + $results[] = TypeCombinator::intersect(new StringType(), ...$accessories); + + if ($containtsNull) { + $results[] = new NullType(); + } + + return TypeCombinator::union(...$results); + } +} diff --git a/src/SqlAst/InstrReturnTypeExtension.php b/src/SqlAst/InstrReturnTypeExtension.php new file mode 100644 index 000000000..78383c511 --- /dev/null +++ b/src/SqlAst/InstrReturnTypeExtension.php @@ -0,0 +1,40 @@ +getFunction()->getName(), [BuiltInFunction::INSTR, BuiltInFunction::LOCATE], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): Type + { + $args = $expression->getArguments(); + + $containsNullable = false; + foreach ($args as $arg) { + $argType = $scope->getType($arg); + + if (TypeCombinator::containsNull($argType)) { + $containsNullable = true; + } + } + + $result = IntegerRangeType::fromInterval(0, null); + if ($containsNullable) { + $result = TypeCombinator::addNull($result); + } + + return $result; + } +} diff --git a/src/SqlAst/IsNullReturnTypeExtension.php b/src/SqlAst/IsNullReturnTypeExtension.php new file mode 100644 index 000000000..10498a451 --- /dev/null +++ b/src/SqlAst/IsNullReturnTypeExtension.php @@ -0,0 +1,38 @@ +getFunction()->getName(), [BuiltInFunction::ISNULL], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): ?Type + { + $args = $expression->getArguments(); + + if (1 !== \count($args)) { + return null; + } + + if (!TypeCombinator::containsNull($scope->getType($args[0]))) { + return new ConstantIntegerType(0); + } + + return new UnionType([ + new ConstantIntegerType(0), + new ConstantIntegerType(1), + ]); + } +} diff --git a/src/SqlAst/ParserInference.php b/src/SqlAst/ParserInference.php new file mode 100644 index 000000000..b4fab554f --- /dev/null +++ b/src/SqlAst/ParserInference.php @@ -0,0 +1,112 @@ +schemaReflection = $schemaReflection; + } + + public function narrowResultType(string $queryString, ConstantArrayType $resultType): Type + { + $platform = Platform::get(Platform::MYSQL, '8.0'); // version defaults to x.x.99 when no patch number is given + $session = new Session($platform); + $parser = new Parser($session); + +// $queryString = 'SELECT a.email, b.adaid FROM ada a LEFT JOIN ada b ON a.adaid=b.adaid'; + + // returns a Generator. will not parse anything if you don't iterate over it + $commands = $parser->parse($queryString); + + $fromColumns = null; + $fromTable = null; + $joinedTables = []; + foreach ($commands as [$command]) { + // Parser does not throw exceptions. this allows to parse partially invalid code and not fail on first error + if ($command instanceof SelectCommand) { + if (null === $fromColumns) { + $fromColumns = $command->getColumns(); + } + $from = $command->getFrom(); + + if ($from instanceof TableReferenceTable) { + $fromName = $from->getTable()->getName(); + $fromTable = $this->schemaReflection->getTable($fromName); + } elseif ($from instanceof Join) { + // @phpstan-ignore-next-line + $joinName = $from->getRight()->getTable()->getName(); + $joinedTable = $this->schemaReflection->getTable($joinName); + + if (null !== $joinedTable) { + $joinedTables[] = $joinedTable; + } + } + } + } + + if (null === $fromTable) { + // not parsable atm, return un-narrowed type + return $resultType; + } + if (null === $fromColumns) { + throw new ShouldNotHappenException(); + } + + $queryScope = new QueryScope($fromTable, $joinedTables); + + foreach ($fromColumns as $i => $column) { + $expression = $column->getExpression(); + + $offsetType = new ConstantIntegerType($i); + $aliasOffsetType = null; + if (null !== $column->getAlias()) { + $aliasOffsetType = new ConstantStringType($column->getAlias()); + } + + $valueType = $resultType->getOffsetValueType($offsetType); + + $type = $queryScope->getType($expression); + if (!$type instanceof MixedType) { + $valueType = $type; + } + + if (null !== $aliasOffsetType && $resultType->hasOffsetValueType($aliasOffsetType)->yes()) { + $resultType = $resultType->setOffsetValueType( + $aliasOffsetType, + $valueType + ); + } + if ($resultType->hasOffsetValueType($offsetType)->yes()) { + $resultType = $resultType->setOffsetValueType( + $offsetType, + $valueType + ); + } + } + + return $resultType; + } +} diff --git a/src/SqlAst/PositiveIntReturnTypeExtension.php b/src/SqlAst/PositiveIntReturnTypeExtension.php new file mode 100644 index 000000000..9e0947819 --- /dev/null +++ b/src/SqlAst/PositiveIntReturnTypeExtension.php @@ -0,0 +1,35 @@ + + */ + private $functions = [ + BuiltInFunction::COUNT, + BuiltInFunction::LENGTH, + BuiltInFunction::CHAR_LENGTH, + BuiltInFunction::CHARACTER_LENGTH, + BuiltInFunction::OCTET_LENGTH, + BuiltInFunction::FIELD, + ]; + + public function isFunctionSupported(FunctionCall $expression): bool + { + return \in_array($expression->getFunction()->getName(), $this->functions, true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): Type + { + return IntegerRangeType::fromInterval(0, null); + } +} diff --git a/src/SqlAst/QueryFunctionReturnTypeExtension.php b/src/SqlAst/QueryFunctionReturnTypeExtension.php new file mode 100644 index 000000000..22a6281f3 --- /dev/null +++ b/src/SqlAst/QueryFunctionReturnTypeExtension.php @@ -0,0 +1,15 @@ + + */ + private $extensions; + + /** + * @var Table + */ + private $fromTable; + /** + * @var list + */ + private $joinedTables; + + /** + * @param list
$joinedTables + */ + public function __construct(Table $fromTable, array $joinedTables) + { + $this->fromTable = $fromTable; + $this->joinedTables = $joinedTables; + + $this->extensions = [ + new PositiveIntReturnTypeExtension(), + new CoalesceReturnTypeExtension(), + new ConcatReturnTypeExtension(), + new InstrReturnTypeExtension(), + new StrCaseReturnTypeExtension(), + new AvgReturnTypeExtension(), + new IsNullReturnTypeExtension(), + new AbsReturnTypeExtension(), + new RoundReturnTypeExtension(), + ]; + } + + /** + * @param Identifier|Literal|ExpressionNode $expression + */ + public function getType($expression): Type + { + if ($expression instanceof NullLiteral) { + return new NullType(); + } + if ($expression instanceof StringValue) { + return new ConstantStringType($expression->asString()); + } + if ($expression instanceof IntValue) { + return new ConstantIntegerType($expression->asInt()); + } + if ($expression instanceof BoolValue) { + $asBool = $expression->asBool(); + if (null === $asBool) { + return new NullType(); + } + + return new ConstantBooleanType($asBool); + } + if ($expression instanceof NumericValue) { + $number = $expression->asNumber(); + if (\is_int($number)) { + return new ConstantIntegerType($number); + } + + return new ConstantFloatType($number); + } + + if ($expression instanceof SimpleName) { + foreach ($this->fromTable->getColumns() as $column) { + if ($column->getName() === $expression->getName()) { + return $column->getType(); + } + } + + foreach ($this->joinedTables as $joinedTable) { + foreach ($joinedTable->getColumns() as $column) { + if ($column->getName() === $expression->getName()) { + return $column->getType(); + } + } + } + + throw new ShouldNotHappenException('Unable to resolve column '.$expression->getName()); + } + + if ($expression instanceof FunctionCall) { + foreach ($this->extensions as $extension) { + if (!$extension->isFunctionSupported($expression)) { + continue; + } + + $extensionType = $extension->getReturnType($expression, $this); + if (null !== $extensionType) { + return $extensionType; + } + } + } + + return new MixedType(); + } +} diff --git a/src/SqlAst/RoundReturnTypeExtension.php b/src/SqlAst/RoundReturnTypeExtension.php new file mode 100644 index 000000000..56aeffd0f --- /dev/null +++ b/src/SqlAst/RoundReturnTypeExtension.php @@ -0,0 +1,57 @@ +getFunction()->getName(), [BuiltInFunction::ROUND], true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): ?Type + { + $args = $expression->getArguments(); + + if (\count($args) < 1) { + return null; + } + + $argType = $scope->getType($args[0]); + if ($argType->isNull()->yes()) { + return new NullType(); + } + + $containedNull = TypeCombinator::containsNull($argType); + $argType = TypeCombinator::removeNull($argType); + + if (1 === \count($args)) { + if (!$argType instanceof IntegerRangeType) { + $argType = new IntegerType(); + } + } else { + $argType = new UnionType([ + new IntegerType(), + new FloatType(), + ]); + } + + if ($containedNull) { + $argType = TypeCombinator::addNull($argType); + } + + return $argType; + } +} diff --git a/src/SqlAst/StrCaseReturnTypeExtension.php b/src/SqlAst/StrCaseReturnTypeExtension.php new file mode 100644 index 000000000..ada95af41 --- /dev/null +++ b/src/SqlAst/StrCaseReturnTypeExtension.php @@ -0,0 +1,59 @@ + + */ + private $functions = [ + BuiltInFunction::LOWER, + BuiltInFunction::LCASE, + BuiltInFunction::UPPER, + BuiltInFunction::UCASE, + ]; + + public function isFunctionSupported(FunctionCall $expression): bool + { + return \in_array($expression->getFunction()->getName(), $this->functions, true); + } + + public function getReturnType(FunctionCall $expression, QueryScope $scope): ?Type + { + $args = $expression->getArguments(); + + if (1 !== \count($args)) { + return null; + } + + $argType = $scope->getType($args[0]); + + if ($argType->isNull()->yes()) { + return new NullType(); + } + + if ($argType instanceof ConstantStringType) { + if (\in_array($expression->getFunction()->getName(), [BuiltInFunction::LOWER, BuiltInFunction::LCASE], true)) { + return new ConstantStringType(strtolower($argType->getValue())); + } + + return new ConstantStringType(strtoupper($argType->getValue())); + } + + if (TypeCombinator::containsNull($argType)) { + return TypeCombinator::addNull($argType->toString()); + } + + return $argType->toString(); + } +} diff --git a/tests/default/DbaInferenceTest.php b/tests/default/DbaInferenceTest.php index 5c417c9ea..919de37c9 100644 --- a/tests/default/DbaInferenceTest.php +++ b/tests/default/DbaInferenceTest.php @@ -66,6 +66,10 @@ public function dataFileAsserts(): iterable yield from $this->gatherAssertTypes(__DIR__.'/data/pdo-default-fetch-types.php'); yield from $this->gatherAssertTypes(__DIR__.'/data/bug372.php'); yield from $this->gatherAssertTypes(__DIR__.'/data/inference-placeholder.php'); + + if (\PHP_VERSION_ID >= 70400 && 'pdo-pgsql' !== getenv('DBA_REFLECTOR')) { + yield from $this->gatherAssertTypes(__DIR__.'/data/sql-ast-narrowing.php'); + } } /** diff --git a/tests/default/config/.phpunit-phpstan-dba-mysqli.cache b/tests/default/config/.phpunit-phpstan-dba-mysqli.cache index 726d1687b..ef2c10891 100644 --- a/tests/default/config/.phpunit-phpstan-dba-mysqli.cache +++ b/tests/default/config/.phpunit-phpstan-dba-mysqli.cache @@ -3,14 +3,6 @@ 'schemaHash' => NULL, 'records' => array ( - 'EXPLAIN SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' => - array ( - 'error' => - staabm\PHPStanDba\Error::__set_state(array( - 'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada\' at line 1', - 'code' => 1064, - )), - ), 'SELECT adaid FROM @@ -99,47 +91,75 @@ )), ), ), - 'SELECT - adaid - FROM - ada' => + 'SELECT * FROM ada' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 0, ), 'keyTypes' => array ( @@ -151,8 +171,25 @@ 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, )), ), 'valueTypes' => @@ -164,8 +201,16 @@ )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -175,682 +220,6519 @@ )), ), ), - 'SELECT * FROM typemix' => + 'SELECT * FROM ak' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + 2 => '\'akid\'|\'eadavk\'|\'eladaid\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eadavk', + 'isClassString' => false, )), 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), - 4 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 4, + 1 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 5, + 2 => + PHPStan\Type\NullType::__set_state(array( )), - 6 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 6, + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eadavk', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 2 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT * FROM typemix' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 7, + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, )), 8 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 8, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, )), 9 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 9, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, )), 10 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 10, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, )), 11 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 11, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, )), 12 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 12, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, )), 13 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 13, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, )), 14 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 14, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, )), 15 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 15, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, )), 16 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 16, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, )), 17 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 17, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, )), 18 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 18, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, )), 19 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 19, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, )), 20 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 20, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, )), 21 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 21, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, )), 22 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 22, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, )), 23 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 23, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, )), 24 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 24, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, )), 25 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 25, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, )), 26 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 26, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, )), 27 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 27, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, )), 28 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 28, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, )), 29 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 29, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, )), 30 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 30, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, )), 31 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 31, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, )), 32 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 32, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, )), 33 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 33, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, )), 34 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 34, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, )), 35 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 35, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, )), 36 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 36, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, )), 37 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 37, - )), - 38 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 38, - )), - 39 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bigint', - 'isClassString' => false, - )), - 'value' => 'c_bigint', - 'isClassString' => false, - )), - 40 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bit', - 'isClassString' => false, - )), - 'value' => 'c_bit', - 'isClassString' => false, - )), - 41 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_blob', - 'isClassString' => false, - )), - 'value' => 'c_blob', - 'isClassString' => false, - )), - 42 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 43 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_char5', - 'isClassString' => false, - )), - 'value' => 'c_char5', - 'isClassString' => false, - )), - 44 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_date', - 'isClassString' => false, - )), - 'value' => 'c_date', - 'isClassString' => false, - )), - 45 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 46 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal', - 'isClassString' => false, - )), - 'value' => 'c_decimal', - 'isClassString' => false, - )), - 47 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal_not_null', - 'isClassString' => false, - )), - 'value' => 'c_decimal_not_null', - 'isClassString' => false, - )), - 48 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_double', - 'isClassString' => false, - )), - 'value' => 'c_double', - 'isClassString' => false, - )), - 49 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_enum', - 'isClassString' => false, - )), - 'value' => 'c_enum', - 'isClassString' => false, - )), - 50 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_int', - 'isClassString' => false, - )), - 'value' => 'c_int', - 'isClassString' => false, - )), - 51 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json', - 'isClassString' => false, - )), - 'value' => 'c_json', + 'arrayKeyType' => NULL, + 'value' => 'c_year', 'isClassString' => false, )), - 52 => + 38 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json_not_null', - 'isClassString' => false, - )), - 'value' => 'c_json_not_null', + 'arrayKeyType' => NULL, + 'value' => 'pid', 'isClassString' => false, )), - 53 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_long_text', - 'isClassString' => false, - )), - 'value' => 'c_long_text', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 54 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_longblob', - 'isClassString' => false, - )), - 'value' => 'c_longblob', - 'isClassString' => false, + 1 => + PHPStan\Type\FloatType::__set_state(array( )), - 55 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_medium_text', - 'isClassString' => false, - )), - 'value' => 'c_medium_text', - 'isClassString' => false, + 2 => + PHPStan\Type\IntegerType::__set_state(array( )), - 56 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumblog', - 'isClassString' => false, - )), - 'value' => 'c_mediumblog', - 'isClassString' => false, + 3 => + PHPStan\Type\NullType::__set_state(array( )), - 57 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'pid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, + )), + 8 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 9 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 10 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_year', + 'isClassString' => false, + )), + 11 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 12 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 13 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, + )), + 14 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 15 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, + )), + 16 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, + )), + 17 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 18 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, + )), + 19 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 20 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 21 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 22 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 23 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 24 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, + )), + 25 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 26 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 27 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 28 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 29 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 30 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 31 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 32 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 33 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 34 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 35 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, + )), + 36 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 37 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 38 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 4 => + PHPStan\Type\StringType::__set_state(array( + )), + 5 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 8 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 9 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 10 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 11 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 12 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 13 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 14 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 15 => + PHPStan\Type\StringType::__set_state(array( + )), + 16 => + PHPStan\Type\StringType::__set_state(array( + )), + 17 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 18 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 19 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 20 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 21 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, + )), + 22 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 23 => + PHPStan\Type\FloatType::__set_state(array( + )), + 24 => + PHPStan\Type\FloatType::__set_state(array( + )), + 25 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 26 => + PHPStan\Type\StringType::__set_state(array( + )), + 27 => + PHPStan\Type\StringType::__set_state(array( + )), + 28 => + PHPStan\Type\StringType::__set_state(array( + )), + 29 => + PHPStan\Type\StringType::__set_state(array( + )), + 30 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 255, + )), + 31 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 32 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, + )), + 33 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, + )), + 34 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, + )), + 35 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 36 => + PHPStan\Type\StringType::__set_state(array( + )), + 37 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 38 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 4, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 5, + )), + 6 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 6, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 7, + )), + 8 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 8, + )), + 9 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 9, + )), + 10 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 10, + )), + 11 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 11, + )), + 12 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 12, + )), + 13 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 13, + )), + 14 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 14, + )), + 15 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 15, + )), + 16 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 16, + )), + 17 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 17, + )), + 18 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 18, + )), + 19 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 19, + )), + 20 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 20, + )), + 21 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 21, + )), + 22 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 22, + )), + 23 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 23, + )), + 24 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 24, + )), + 25 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 25, + )), + 26 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 26, + )), + 27 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 27, + )), + 28 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 28, + )), + 29 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 29, + )), + 30 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 30, + )), + 31 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 31, + )), + 32 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 32, + )), + 33 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 33, + )), + 34 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 34, + )), + 35 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 35, + )), + 36 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 36, + )), + 37 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 37, + )), + 38 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 38, + )), + 39 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 40 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 'value' => 'c_bit', + 'isClassString' => false, + )), + 41 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 'value' => 'c_blob', + 'isClassString' => false, + )), + 42 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 43 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 'value' => 'c_char5', + 'isClassString' => false, + )), + 44 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 'value' => 'c_date', + 'isClassString' => false, + )), + 45 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 46 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 47 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 48 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 'value' => 'c_double', + 'isClassString' => false, + )), + 49 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, + )), + 'value' => 'c_enum', + 'isClassString' => false, + )), + 50 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, + )), + 'value' => 'c_int', + 'isClassString' => false, + )), + 51 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, + )), + 'value' => 'c_json', + 'isClassString' => false, + )), + 52 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 53 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 54 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 55 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 56 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 57 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, 'value' => 'c_mediumint', 'isClassString' => false, )), - 'value' => 'c_mediumint', + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 58 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, + )), + 'value' => 'c_real', + 'isClassString' => false, + )), + 59 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, + )), + 'value' => 'c_set', + 'isClassString' => false, + )), + 60 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 61 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, + )), + 'value' => 'c_text', + 'isClassString' => false, + )), + 62 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, + )), + 'value' => 'c_time', + 'isClassString' => false, + )), + 63 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 64 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 65 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 66 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 67 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 68 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 69 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 70 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 71 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 72 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 73 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 74 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 75 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 76 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_year', + 'isClassString' => false, + )), + 'value' => 'c_year', + 'isClassString' => false, + )), + 77 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'pid', + 'isClassString' => false, + )), + 'value' => 'pid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\FloatType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 3 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 39, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'pid', + 'isClassString' => false, + )), + 'value' => 'pid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 'value' => 'c_char5', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 8 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 9 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 4, + )), + 10 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 11 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 5, + )), + 12 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 'value' => 'c_date', + 'isClassString' => false, + )), + 13 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 6, + )), + 14 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, + )), + 'value' => 'c_time', + 'isClassString' => false, + )), + 15 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 7, + )), + 16 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 17 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 8, + )), + 18 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 19 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 9, + )), + 20 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_year', + 'isClassString' => false, + )), + 'value' => 'c_year', + 'isClassString' => false, + )), + 21 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 10, + )), + 22 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 23 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 11, + )), + 24 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 25 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 12, + )), + 26 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, + )), + 'value' => 'c_text', + 'isClassString' => false, + )), + 27 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 13, + )), + 28 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 29 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 14, + )), + 30 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, + )), + 'value' => 'c_enum', + 'isClassString' => false, + )), + 31 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 15, + )), + 32 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, + )), + 'value' => 'c_set', + 'isClassString' => false, + )), + 33 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 16, + )), + 34 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 'value' => 'c_bit', + 'isClassString' => false, + )), + 35 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 17, + )), + 36 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, + )), + 'value' => 'c_int', + 'isClassString' => false, + )), + 37 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 18, + )), + 38 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 39 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 19, + )), + 40 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 41 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 20, + )), + 42 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 43 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 21, + )), + 44 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 45 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 22, + )), + 46 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 'value' => 'c_double', + 'isClassString' => false, + )), + 47 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 23, + )), + 48 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, + )), + 'value' => 'c_real', + 'isClassString' => false, + )), + 49 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 24, + )), + 50 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 51 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 25, + )), + 52 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 'value' => 'c_blob', + 'isClassString' => false, + )), + 53 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 26, + )), + 54 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 55 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 27, + )), + 56 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 57 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 28, + )), + 58 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 59 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 29, + )), + 60 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 61 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 30, + )), + 62 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 63 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 31, + )), + 64 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 65 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 32, + )), + 66 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 67 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 33, + )), + 68 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 69 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 34, + )), + 70 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, + )), + 'value' => 'c_json', + 'isClassString' => false, + )), + 71 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 35, + )), + 72 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 73 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 36, + )), + 74 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 75 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 37, + )), + 76 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 77 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 38, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\StringType::__set_state(array( + )), + 4 => + PHPStan\Type\StringType::__set_state(array( + )), + 5 => + PHPStan\Type\StringType::__set_state(array( + )), + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 8 => + PHPStan\Type\StringType::__set_state(array( + )), + 9 => + PHPStan\Type\StringType::__set_state(array( + )), + 10 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 11 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 12 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 13 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 14 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 15 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 16 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 17 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 18 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 19 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 20 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<0, 2155>|null', + 3 => 'int<0, 2155>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 21 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 22 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 23 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 24 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 25 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 26 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 27 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 28 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 29 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 30 => + PHPStan\Type\StringType::__set_state(array( + )), + 31 => + PHPStan\Type\StringType::__set_state(array( + )), + 32 => + PHPStan\Type\StringType::__set_state(array( + )), + 33 => + PHPStan\Type\StringType::__set_state(array( + )), + 34 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int|null', + 3 => 'int|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 35 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 36 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 37 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 38 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 39 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 40 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 41 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 42 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, + )), + 43 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, + )), + 44 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 45 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 46 => + PHPStan\Type\FloatType::__set_state(array( + )), + 47 => + PHPStan\Type\FloatType::__set_state(array( + )), + 48 => + PHPStan\Type\FloatType::__set_state(array( + )), + 49 => + PHPStan\Type\FloatType::__set_state(array( + )), + 50 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 51 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 52 => + PHPStan\Type\StringType::__set_state(array( + )), + 53 => + PHPStan\Type\StringType::__set_state(array( + )), + 54 => + PHPStan\Type\StringType::__set_state(array( + )), + 55 => + PHPStan\Type\StringType::__set_state(array( + )), + 56 => + PHPStan\Type\StringType::__set_state(array( + )), + 57 => + PHPStan\Type\StringType::__set_state(array( + )), + 58 => + PHPStan\Type\StringType::__set_state(array( + )), + 59 => + PHPStan\Type\StringType::__set_state(array( + )), + 60 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 255, + )), + 61 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 255, + )), + 62 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 63 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 64 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, + )), + 65 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, + )), + 66 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, + )), + 67 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, + )), + 68 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, + )), + 69 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, + )), + 70 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 71 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 72 => + PHPStan\Type\StringType::__set_state(array( + )), + 73 => + PHPStan\Type\StringType::__set_state(array( + )), + 74 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'numeric-string|null', + 3 => 'numeric-string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 75 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 76 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 77 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT COALESCE(null, eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT COALESCE(null, eladaid, null, akid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT FIELD(\'Bb\', \'Aa\', \'Bb\', \'Cc\', \'Dd\', \'Ff\') as field from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT MAX(adaid), MIN(adaid), COUNT(adaid), AVG(adaid) FROM ada WHERE adaid = 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|2|3|\'AVG(adaid)\'|\'COUNT(adaid)\'|\'MAX(adaid)\'|\'MIN(adaid)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 2 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 4, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<-32768, 32767>|null', + 3 => 'int<-32768, 32767>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 2 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<-32768, 32767>|null', + 3 => 'int<-32768, 32767>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 4 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 5 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'numeric-string|null', + 3 => 'numeric-string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT a.email, b.adaid FROM ada a LEFT JOIN ada b ON a.adaid=b.adaid' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 2 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<-32768, 32767>|null', + 3 => 'int<-32768, 32767>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(eladaid) as abs from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(freigabe1u1) as abs from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(null) as abs from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid +FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE NOWAIT' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE SKIP LOCKED' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE NOWAIT' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE SKIP LOCKED' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 OFFSET 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 OFFSET 1 FOR UPDATE' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (\'1\')' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (\'1\') AND email LIKE \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (NULL) AND email LIKE \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE ":gesperrt%"' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \'%questions ?%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \':gesperrt%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \'hello?%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid, email FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT akid FROM ak WHERE eadavk>1.0' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'akid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 'value' => 'akid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', 'isClassString' => false, )), - 58 => + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT akid FROM ak WHERE eadavk>1.1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'akid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_real', + 'value' => 'akid', 'isClassString' => false, )), - 'value' => 'c_real', + 'value' => 'akid', 'isClassString' => false, )), - 59 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_set', - 'isClassString' => false, - )), - 'value' => 'c_set', + 'arrayKeyType' => NULL, + 'value' => 'akid', 'isClassString' => false, )), - 60 => + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT avg(freigabe1u1) as avg from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'avg\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_smallint', - 'isClassString' => false, - )), - 'value' => 'c_smallint', + 'arrayKeyType' => NULL, + 'value' => 'avg', 'isClassString' => false, )), - 61 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_text', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'avg', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), - 'value' => 'c_text', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT c_datetime FROM typemix' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\ObjectType::__set_state(array( + 'subtractedType' => NULL, + 'cachedParent' => NULL, + 'cachedInterfaces' => NULL, + 'currentAncestors' => + array ( + ), + 'cachedDescription' => NULL, + 'className' => 'DateTimeImmutable', + 'classReflection' => NULL, )), - 62 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_time', - 'isClassString' => false, - )), - 'value' => 'c_time', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( )), - 63 => + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_timestamp', - 'isClassString' => false, - )), - 'value' => 'c_timestamp', + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', 'isClassString' => false, )), - 64 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tiny_text', - 'isClassString' => false, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 3 => 'DateTimeImmutable|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\ObjectType::__set_state(array( + 'subtractedType' => NULL, + 'cachedParent' => NULL, + 'cachedInterfaces' => NULL, + 'currentAncestors' => + array ( + ), + 'cachedDescription' => NULL, + 'className' => 'DateTimeImmutable', + 'classReflection' => NULL, )), - 'value' => 'c_tiny_text', - 'isClassString' => false, - )), - 65 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyblob', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( )), - 'value' => 'c_tinyblob', - 'isClassString' => false, + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT char_length(eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 66 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyint', - 'isClassString' => false, - )), - 'value' => 'c_tinyint', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 67 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_bigint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_bigint', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( )), - 68 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_int', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_int', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( )), - 69 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( )), - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT character_length(eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 70 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_smallint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_smallint', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 71 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( )), - 72 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary25', - 'isClassString' => false, - )), - 'value' => 'c_varbinary25', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( )), - 73 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary255', - 'isClassString' => false, + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( )), - 'value' => 'c_varbinary255', - 'isClassString' => false, - )), - 74 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar25', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( )), - 'value' => 'c_varchar25', - 'isClassString' => false, + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat("abc", akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 75 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar255', - 'isClassString' => false, - )), - 'value' => 'c_varchar255', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 76 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_year', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 'value' => 'c_year', - 'isClassString' => false, + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 77 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'pid', - 'isClassString' => false, - )), - 'value' => 'pid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -868,12 +6750,6 @@ PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\FloatType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 3 => PHPStan\Type\NullType::__set_state(array( )), ), @@ -882,934 +6758,1329 @@ 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 39, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'pid', - 'isClassString' => false, - )), - 'value' => 'pid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_char5', - 'isClassString' => false, - )), - 'value' => 'c_char5', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar255', - 'isClassString' => false, - )), - 'value' => 'c_varchar255', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar25', - 'isClassString' => false, - )), - 'value' => 'c_varchar25', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 8 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary255', - 'isClassString' => false, - )), - 'value' => 'c_varbinary255', - 'isClassString' => false, - )), - 9 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 4, - )), - 10 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary25', - 'isClassString' => false, - )), - 'value' => 'c_varbinary25', - 'isClassString' => false, - )), - 11 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 5, - )), - 12 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_date', - 'isClassString' => false, - )), - 'value' => 'c_date', - 'isClassString' => false, - )), - 13 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 6, - )), - 14 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_time', - 'isClassString' => false, - )), - 'value' => 'c_time', - 'isClassString' => false, - )), - 15 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 7, - )), - 16 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 17 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 8, - )), - 18 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_timestamp', - 'isClassString' => false, - )), - 'value' => 'c_timestamp', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 19 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 9, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 20 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_year', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_year', - 'isClassString' => false, - )), - 21 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 10, - )), - 22 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tiny_text', - 'isClassString' => false, - )), - 'value' => 'c_tiny_text', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 23 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 11, + 'value' => 0, )), - 24 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_medium_text', - 'isClassString' => false, - )), - 'value' => 'c_medium_text', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 25 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 12, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 26 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, akid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_text', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_text', - 'isClassString' => false, - )), - 27 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 13, - )), - 28 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_long_text', - 'isClassString' => false, - )), - 'value' => 'c_long_text', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 29 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 14, + 'value' => 0, )), - 30 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_enum', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 'value' => 'c_enum', - 'isClassString' => false, - )), - 31 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 15, - )), - 32 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_set', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_set', - 'isClassString' => false, - )), - 33 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 16, - )), - 34 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bit', - 'isClassString' => false, - )), - 'value' => 'c_bit', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 35 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 17, + 'value' => 0, )), - 36 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_int', - 'isClassString' => false, - )), - 'value' => 'c_int', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 37 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 18, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 38 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws("abc", akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_tinyint', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_tinyint', - 'isClassString' => false, - )), - 39 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 19, - )), - 40 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_smallint', - 'isClassString' => false, - )), - 'value' => 'c_smallint', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 41 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 20, + 'value' => 0, )), - 42 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_mediumint', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_mediumint', - 'isClassString' => false, - )), - 43 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 21, - )), - 44 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bigint', - 'isClassString' => false, - )), - 'value' => 'c_bigint', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 45 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 22, + 'value' => 0, )), - 46 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_double', - 'isClassString' => false, - )), - 'value' => 'c_double', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 47 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 23, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 48 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_real', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_real', - 'isClassString' => false, - )), - 49 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 24, - )), - 50 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 'value' => 'c_boolean', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 51 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 25, + 'value' => 0, )), - 52 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_blob', - 'isClassString' => false, - )), - 'value' => 'c_blob', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 53 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 26, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 54 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, akid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_tinyblob', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_tinyblob', - 'isClassString' => false, - )), - 55 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 27, - )), - 56 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumblog', - 'isClassString' => false, - )), - 'value' => 'c_mediumblog', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 57 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 28, + 'value' => 0, )), - 58 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_longblob', - 'isClassString' => false, - )), - 'value' => 'c_longblob', - 'isClassString' => false, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 59 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 29, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 60 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_tinyint', + 'value' => 'col', 'isClassString' => false, )), - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, - )), - 61 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 30, - )), - 62 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_int', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_int', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), - 63 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 31, + 'value' => 0, )), - 64 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(*) FROM typemix WHERE c_date = \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'count(*)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_smallint', + 'value' => 'count(*)', 'isClassString' => false, )), - 'value' => 'c_unsigned_smallint', - 'isClassString' => false, - )), - 65 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 32, - )), - 66 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_mediumint', + 'arrayKeyType' => NULL, + 'value' => 'count(*)', 'isClassString' => false, )), - 67 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 33, + 'value' => 0, )), - 68 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(*) FROM typemix WHERE c_datetime = \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'count(*)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_bigint', + 'value' => 'count(*)', 'isClassString' => false, )), - 'value' => 'c_unsigned_bigint', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(*)', 'isClassString' => false, )), - 69 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 34, + 'value' => 0, )), - 70 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_json', + 'value' => 'myemail', 'isClassString' => false, )), - 'value' => 'c_json', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', 'isClassString' => false, )), - 71 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 35, + 'value' => 0, )), - 72 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail, count(email) from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'count(email)\'|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_json_not_null', + 'value' => 'count(email)', 'isClassString' => false, )), - 'value' => 'c_json_not_null', - 'isClassString' => false, - )), - 73 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 36, - )), - 74 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'c_decimal', + 'value' => 'myemail', 'isClassString' => false, )), - 'value' => 'c_decimal', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', 'isClassString' => false, )), - 75 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 37, + 'value' => 0, )), - 76 => + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal_not_null', - 'isClassString' => false, - )), - 'value' => 'c_decimal_not_null', + 'arrayKeyType' => NULL, + 'value' => 'count(email)', 'isClassString' => false, )), - 77 => + 3 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 38, + 'value' => 1, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, + PHPStan\Type\IntegerType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, + PHPStan\Type\IntegerType::__set_state(array( )), 2 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 3 => - PHPStan\Type\StringType::__set_state(array( - )), - 4 => - PHPStan\Type\StringType::__set_state(array( - )), - 5 => - PHPStan\Type\StringType::__set_state(array( - )), - 6 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 7 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 8 => - PHPStan\Type\StringType::__set_state(array( - )), - 9 => - PHPStan\Type\StringType::__set_state(array( - )), - 10 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 11 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 12 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 13 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 14 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 15 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 16 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 17 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerType::__set_state(array( )), - 18 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT eladaid FROM ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'eladaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'eladaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + 'value' => 'eladaid', + 'isClassString' => false, )), - 19 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 20 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 4 => 'int<0, 2155>|null', - 3 => 'int<0, 2155>|null', + 4 => 'int<-2147483648, 2147483647>|null', + 3 => 'int<-2147483648, 2147483647>|null', ), 'types' => array ( 0 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 2155, + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -1817,7 +8088,7 @@ ), 'normalized' => true, )), - 21 => + 1 => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => false, 'cachedDescriptions' => @@ -1827,8 +8098,8 @@ array ( 0 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 2155, + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -1836,463 +8107,930 @@ ), 'normalized' => true, )), - 22 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email +FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 23 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - 24 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 25 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 26 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 27 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' => + array ( + 'error' => + staabm\PHPStanDba\Error::__set_state(array( + 'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada LIMIT 0\' at line 1', + 'code' => 1064, + )), + ), + 'SELECT email, adaid FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 28 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 29 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 30 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 31 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 32 => + 1 => PHPStan\Type\StringType::__set_state(array( )), - 33 => + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 34 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int|null', - 3 => 'int|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 35 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada LIMIT 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 36 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 37 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 38 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 39 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 40 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 41 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 42 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -8388608, - 'max' => 8388607, - )), - 43 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -8388608, - 'max' => 8388607, - )), - 44 => - PHPStan\Type\IntegerType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada LIMIT 1, 10' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 45 => - PHPStan\Type\IntegerType::__set_state(array( + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 46 => - PHPStan\Type\FloatType::__set_state(array( + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 47 => - PHPStan\Type\FloatType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 48 => - PHPStan\Type\FloatType::__set_state(array( + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 49 => - PHPStan\Type\FloatType::__set_state(array( + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 50 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + 'min' => -32768, + 'max' => 32767, )), - 51 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 52 => - PHPStan\Type\StringType::__set_state(array( - )), - 53 => - PHPStan\Type\StringType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 54 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = \'1\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - 55 => - PHPStan\Type\StringType::__set_state(array( + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 56 => - PHPStan\Type\StringType::__set_state(array( + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 57 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 58 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 59 => + 1 => PHPStan\Type\StringType::__set_state(array( )), - 60 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 255, - )), - 61 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 255, - )), - 62 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, - )), - 63 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, - )), - 64 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 65535, - )), - 65 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 65535, - )), - 66 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 16777215, - )), - 67 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 16777215, + 'min' => -32768, + 'max' => 32767, )), - 68 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => NULL, + 'min' => -32768, + 'max' => 32767, )), - 69 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => NULL, + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = \'1\' and email = \'email@example.org\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - 70 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 71 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 72 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 73 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 74 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'numeric-string|null', - 3 => 'numeric-string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 75 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 76 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 77 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -2302,7 +9040,7 @@ )), ), ), - 'SELECT MAX(adaid), MIN(adaid), COUNT(adaid), AVG(adaid) FROM ada WHERE adaid = 1' => + 'SELECT email, adaid FROM ada WHERE adaid = 1' => array ( 'result' => array ( @@ -2313,7 +9051,7 @@ 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|\'AVG(adaid)\'|\'COUNT(adaid)\'|\'MAX(adaid)\'|\'MIN(adaid)\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2326,63 +9064,29 @@ 'value' => 1, )), 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'AVG(adaid)', - 'isClassString' => false, - )), - 'value' => 'AVG(adaid)', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 6 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MAX(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 'value' => 'MAX(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 7 => + 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MIN(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'MIN(adaid)', + 'value' => 'email', 'isClassString' => false, )), ), @@ -2397,23 +9101,12 @@ 'types' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 2 => - PHPStan\Type\NullType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'normalized' => true, @@ -2421,7 +9114,7 @@ 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 4, + 0 => 2, ), 'keyTypes' => array ( @@ -2432,10 +9125,10 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MAX(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'MAX(adaid)', + 'value' => 'email', 'isClassString' => false, )), 1 => @@ -2449,194 +9142,34 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MIN(adaid)', - 'isClassString' => false, - )), - 'value' => 'MIN(adaid)', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'AVG(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 'value' => 'AVG(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - ), - 'valueTypes' => - array ( - 0 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<-32768, 32767>|null', - 3 => 'int<-32768, 32767>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 1 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 2 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<-32768, 32767>|null', - 3 => 'int<-32768, 32767>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), 3 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 4 => - PHPStan\Type\IntegerType::__set_state(array( + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 5 => - PHPStan\Type\IntegerType::__set_state(array( + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 6 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'numeric-string|null', - 3 => 'numeric-string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 7 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -2646,7 +9179,7 @@ )), ), ), - 'SELECT a.email, b.adaid FROM ada a LEFT JOIN ada b ON a.adaid=b.adaid' => + 'SELECT email, adaid FROM ada WHERE adaid = 2' => array ( 'result' => array ( @@ -2714,9 +9247,6 @@ 'min' => -32768, 'max' => 32767, )), - 2 => - PHPStan\Type\NullType::__set_state(array( - )), ), 'normalized' => true, )), @@ -2771,44 +9301,14 @@ PHPStan\Type\StringType::__set_state(array( )), 2 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<-32768, 32767>|null', - 3 => 'int<-32768, 32767>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 3 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -2818,8 +9318,7 @@ )), ), ), - 'SELECT adaid -FROM ada' => + 'SELECT email, adaid FROM ada WHERE adaid = 3' => array ( 'result' => array ( @@ -2830,7 +9329,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2839,6 +9338,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -2851,18 +9354,45 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -2873,25 +9403,48 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2904,8 +9457,7 @@ FROM ada' => )), ), ), - 'SELECT adaid -FROM ada' => + 'SELECT email, adaid FROM ada WHERE adaid IN(1,3)' => array ( 'result' => array ( @@ -2916,7 +9468,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2925,47 +9477,113 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), 'value' => 'adaid', 'isClassString' => false, )), - 1 => + 3 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + 'value' => 1, )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2978,7 +9596,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada' => + 'SELECT email, adaid FROM ada WHERE adaid=1' => array ( 'result' => array ( @@ -2989,8 +9607,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', - 1 => 'int|string', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2999,24 +9616,49 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3024,22 +9666,39 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3053,16 +9712,49 @@ FROM ada' => 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -3072,6 +9764,13 @@ FROM ada' => 'keyTypes' => array ( 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, @@ -3082,6 +9781,9 @@ FROM ada' => 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3094,7 +9796,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE' => + 'SELECT email, adaid FROM ada WHERE email <=> \'\'' => array ( 'result' => array ( @@ -3105,7 +9807,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3114,59 +9816,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3179,7 +9911,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE NOWAIT' => + 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\'' => array ( 'result' => array ( @@ -3190,7 +9922,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3199,59 +9931,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), ), - 'normalized' => false, - )), - 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3264,7 +10026,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE SKIP LOCKED' => + 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\' AND 1=1' => array ( 'result' => array ( @@ -3275,7 +10037,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3284,59 +10046,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3349,7 +10141,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE NOWAIT' => + 'SELECT email, adaid FROM ada WHERE email = \'email@example.org\'' => array ( 'result' => array ( @@ -3360,7 +10152,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3369,59 +10161,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3434,7 +10256,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE SKIP LOCKED' => + 'SELECT email, adaid FROM ada WHERE email = \'test@example.org\'' => array ( 'result' => array ( @@ -3445,7 +10267,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3454,59 +10276,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3519,7 +10371,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 OFFSET 1' => + 'SELECT email, adaid FROM ada WHERE email = \'webmaster@example.org\'' => array ( 'result' => array ( @@ -3530,7 +10382,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3539,6 +10391,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3551,18 +10407,45 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3573,25 +10456,48 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3604,7 +10510,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 OFFSET 1 FOR UPDATE' => + 'SELECT email, adaid FROM ada WHERE email=\'foo\'' => array ( 'result' => array ( @@ -3615,7 +10521,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3624,6 +10530,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3636,18 +10546,45 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3658,25 +10595,48 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3689,7 +10649,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (\'1\')' => + 'SELECT email, adaid FROM ada WHERE email=\'test@example.org\'' => array ( 'result' => array ( @@ -3700,7 +10660,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3709,24 +10669,49 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3734,22 +10719,39 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3762,7 +10764,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (\'1\') AND email LIKE \'1970-01-01\'' => + 'SELECT email, adaid FROM ada WHERE gesperrt = \'1\'' => array ( 'result' => array ( @@ -3770,59 +10772,125 @@ FROM ada' => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), - 'normalized' => false, - )), - 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3835,65 +10903,95 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (NULL) AND email LIKE \'1970-01-01\'' => + 'SELECT email, adaid FROM ada where adaid = \'1\'' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '\'adaid\'|\'email\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 0, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( @@ -3908,7 +11006,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE ":gesperrt%"' => + 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => array ( 'result' => array ( @@ -3919,7 +11017,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|2|3|\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', ), 'types' => array ( @@ -3928,6 +11026,18 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3940,18 +11050,71 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 'value' => 'gesperrt', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 4, ), 'keyTypes' => array ( @@ -3962,29 +11125,106 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'freigabe1u1', 'isClassString' => false, )), - 1 => + 7 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + 'value' => 3, )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 4 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 5 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 6 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 7 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), ), 'optionalKeys' => array ( @@ -3993,7 +11233,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \'%questions ?%\'' => + 'SELECT ifnull(freigabe1u1, "default") as col from ada' => array ( 'result' => array ( @@ -4004,7 +11244,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4016,16 +11256,14 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4038,7 +11276,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4049,14 +11287,10 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), ), 'optionalKeys' => @@ -4066,7 +11300,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \':gesperrt%\'' => + 'SELECT ifnull(freigabe1u1, 123.23) as col from ada' => array ( 'result' => array ( @@ -4077,7 +11311,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4089,16 +11323,24 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4111,7 +11353,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4122,14 +11364,30 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), ), 'optionalKeys' => @@ -4139,7 +11397,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \'hello?%\'' => + 'SELECT ifnull(freigabe1u1, 5000) as col from ada' => array ( 'result' => array ( @@ -4150,7 +11408,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4162,7 +11420,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), @@ -4184,7 +11442,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4212,98 +11470,7 @@ FROM ada' => )), ), ), - 'SELECT adaid, email FROM ada' => - array ( - 'result' => - array ( - 3 => - PHPStan\Type\Constant\ConstantArrayType::__set_state(array( - 'keyType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 2 => '\'adaid\'|\'email\'', - ), - 'types' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - ), - 'normalized' => false, - )), - 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 'allArrays' => NULL, - 'nextAutoIndexes' => - array ( - 0 => 0, - ), - 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - ), - 'valueTypes' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - ), - 'optionalKeys' => - array ( - ), - 'isList' => false, - )), - ), - ), - 'SELECT akid FROM ak WHERE eadavk>1.0' => + 'SELECT ifnull(freigabe1u1, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -4314,7 +11481,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'akid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4325,14 +11492,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -4340,8 +11501,8 @@ FROM ada' => )), 'itemType' => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4353,14 +11514,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4372,13 +11527,13 @@ FROM ada' => array ( 0 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -4388,7 +11543,7 @@ FROM ada' => )), ), ), - 'SELECT akid FROM ak WHERE eadavk>1.1' => + 'SELECT ifnull(freigabe1u1, gesperrt) as col from ada' => array ( 'result' => array ( @@ -4399,7 +11554,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'akid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4410,14 +11565,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -4425,8 +11574,8 @@ FROM ada' => )), 'itemType' => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4438,14 +11587,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4457,13 +11600,13 @@ FROM ada' => array ( 0 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -4473,100 +11616,70 @@ FROM ada' => )), ), ), - 'SELECT c_datetime FROM typemix' => + 'SELECT ifnull(gesperrt, freigabe1u1) as col from ada' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'itemType' => PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, + 'sortedTypes' => true, 'cachedDescriptions' => array ( + 2 => '0|\'col\'', ), 'types' => array ( 0 => - PHPStan\Type\ObjectType::__set_state(array( - 'subtractedType' => NULL, - 'cachedParent' => NULL, - 'cachedInterfaces' => NULL, - 'currentAncestors' => - array ( - ), - 'cachedDescription' => NULL, - 'className' => 'DateTimeImmutable', - 'classReflection' => NULL, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => - PHPStan\Type\NullType::__set_state(array( + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, )), ), - 'normalized' => true, + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 3 => 'DateTimeImmutable|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\ObjectType::__set_state(array( - 'subtractedType' => NULL, - 'cachedParent' => NULL, - 'cachedInterfaces' => NULL, - 'currentAncestors' => - array ( - ), - 'cachedDescription' => NULL, - 'className' => 'DateTimeImmutable', - 'classReflection' => NULL, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -4576,7 +11689,7 @@ FROM ada' => )), ), ), - 'SELECT count(*) FROM typemix WHERE c_date = \'1970-01-01\'' => + 'SELECT instr(\'foobarbar\', \'bar\') as field from ak' => array ( 'result' => array ( @@ -4587,7 +11700,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'count(*)\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4599,14 +11712,16 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4619,7 +11734,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4630,10 +11745,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -4643,7 +11762,7 @@ FROM ada' => )), ), ), - 'SELECT count(*) FROM typemix WHERE c_datetime = \'1970-01-01\'' => + 'SELECT instr(akid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -4654,7 +11773,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'count(*)\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4666,14 +11785,16 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4686,7 +11807,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4697,10 +11818,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -4710,7 +11835,7 @@ FROM ada' => )), ), ), - 'SELECT eladaid FROM ak' => + 'SELECT instr(eladaid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -4721,7 +11846,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'eladaid\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4732,14 +11857,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'eladaid', - 'isClassString' => false, - )), - 'value' => 'eladaid', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -4774,14 +11893,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'eladaid', - 'isClassString' => false, - )), - 'value' => 'eladaid', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4793,11 +11906,9 @@ FROM ada' => array ( 0 => PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, + 'sortedTypes' => false, 'cachedDescriptions' => array ( - 4 => 'int<-2147483648, 2147483647>|null', - 3 => 'int<-2147483648, 2147483647>|null', ), 'types' => array ( @@ -4839,8 +11950,7 @@ FROM ada' => )), ), ), - 'SELECT email -FROM ada' => + 'SELECT isnull(akid) as n1 from ak' => array ( 'result' => array ( @@ -4851,7 +11961,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'email\'', + 2 => '0|\'n1\'', ), 'types' => array ( @@ -4862,21 +11972,17 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'n1', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4888,14 +11994,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'n1', 'isClassString' => false, )), 1 => @@ -4906,10 +12006,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -4919,8 +12023,7 @@ FROM ada' => )), ), ), - 'SELECT email -FROM ada' => + 'SELECT isnull(eladaid) as n1 from ak' => array ( 'result' => array ( @@ -4931,7 +12034,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'email\'', + 2 => '0|\'n1\'', ), 'types' => array ( @@ -4943,14 +12046,16 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'n1', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4963,7 +12068,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'n1', 'isClassString' => false, )), 1 => @@ -4974,10 +12079,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -4987,26 +12096,56 @@ FROM ada' => )), ), ), - 'SELECT email FROM ada' => + 'SELECT lcase(c_varbinary255) as field from typemix' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -5014,14 +12153,49 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5029,6 +12203,12 @@ FROM ada' => ), 'isList' => false, )), + ), + ), + 'SELECT length(akid) as col from ak' => + array ( + 'result' => + array ( 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => @@ -5036,8 +12216,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'email\'', - 1 => 'int|string', + 2 => '0|\'col\'', ), 'types' => array ( @@ -5049,14 +12228,14 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -5069,7 +12248,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -5080,10 +12259,10 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), ), 'optionalKeys' => @@ -5093,15 +12272,7 @@ FROM ada' => )), ), ), - 'SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' => - array ( - 'error' => - staabm\PHPStanDba\Error::__set_state(array( - 'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada LIMIT 0\' at line 1', - 'code' => 1064, - )), - ), - 'SELECT email, adaid FROM ada' => + 'SELECT locate(\'foo\', eladaid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -5112,7 +12283,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5121,33 +12292,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5162,12 +12310,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5175,62 +12323,134 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT locate(akid, \'bar\') as field from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'field', 'isClassString' => false, )), - 'value' => 'adaid', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), - 3 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -2147483648, + 'max' => 2147483647, )), - 3 => + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -5238,29 +12458,32 @@ FROM ada' => ), 'isList' => false, )), - 3 => + ), + ), + 'SELECT locate(eladaid, \'bar\') as field from ak' => + array ( + 'result' => + array ( + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -5275,12 +12498,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5288,7 +12511,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -5296,26 +12519,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5325,7 +12575,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada LIMIT 1' => + 'SELECT lower(\'FOO\') as field from ak' => array ( 'result' => array ( @@ -5336,7 +12586,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5345,33 +12595,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5389,9 +12616,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5399,62 +12624,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5464,7 +12684,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada LIMIT 1, 10' => + 'SELECT lower(\'foobarbar\') as field from ak' => array ( 'result' => array ( @@ -5475,7 +12695,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5484,33 +12704,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5528,9 +12725,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5538,62 +12733,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5603,7 +12793,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = \'1\'' => + 'SELECT lower(c_varbinary25) as field from typemix' => array ( 'result' => array ( @@ -5614,7 +12804,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5623,21 +12813,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -5655,9 +12834,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5665,50 +12842,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, - ), - 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 2 => + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'field', 'isClassString' => false, )), - 3 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5718,7 +12902,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = \'1\' and email = \'email@example.org\'' => + 'SELECT lower(c_varbinary255) as field from typemix' => array ( 'result' => array ( @@ -5729,7 +12913,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5738,21 +12922,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -5770,9 +12943,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5780,7 +12951,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -5788,42 +12959,49 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5833,7 +13011,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 1' => + 'SELECT lower(concat(akid, 5000)) as col from ak' => array ( 'result' => array ( @@ -5844,7 +13022,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -5853,33 +13031,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -5897,9 +13052,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5907,62 +13060,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5972,7 +13120,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 2' => + 'SELECT lower(null) as field from ak' => array ( 'result' => array ( @@ -5983,7 +13131,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5992,33 +13140,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -6036,9 +13161,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -6046,62 +13169,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6111,7 +13229,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 3' => + 'SELECT lower(upper(\'foobarbar\')) as field from ak' => array ( 'result' => array ( @@ -6122,7 +13240,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -6131,33 +13249,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -6175,9 +13270,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -6185,62 +13278,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6250,57 +13338,18 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid IN(1,3)' => + 'SELECT max(adaid) FROM ada' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 2 => '0|1|\'adaid\'|\'email\'', - ), - 'types' => - array ( - 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - ), - 'normalized' => false, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'max(adaid)', + 'isClassString' => false, )), 'itemType' => PHPStan\Type\UnionType::__set_state(array( @@ -6311,75 +13360,51 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 0, ), 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 2 => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'max(adaid)', 'isClassString' => false, )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6389,7 +13414,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid=1' => + 'SELECT max(freigabe1u1) as max from ada' => array ( 'result' => array ( @@ -6400,7 +13425,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'max\'', ), 'types' => array ( @@ -6409,21 +13434,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'max', 'isClassString' => false, )), ), @@ -6438,20 +13452,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6459,42 +13473,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'max', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6502,29 +13527,32 @@ FROM ada' => ), 'isList' => false, )), - 3 => + ), + ), + 'SELECT min(freigabe1u1) as min from ada' => + array ( + 'result' => + array ( + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'min\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'min', 'isClassString' => false, )), ), @@ -6539,20 +13567,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -6560,26 +13588,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'min', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6589,7 +13644,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email <=> \'\'' => + 'SELECT nullif(freigabe1u1, "default") as col from ada' => array ( 'result' => array ( @@ -6600,7 +13655,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6609,21 +13664,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6638,20 +13682,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6659,42 +13703,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6704,7 +13759,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\'' => + 'SELECT nullif(freigabe1u1, 5000) as col from ada' => array ( 'result' => array ( @@ -6715,7 +13770,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6724,21 +13779,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6753,20 +13797,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6774,42 +13818,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6819,7 +13874,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\' AND 1=1' => + 'SELECT nullif(freigabe1u1, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -6830,7 +13885,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6839,21 +13894,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6868,20 +13912,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6889,42 +13933,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6934,7 +13989,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'email@example.org\'' => + 'SELECT nullif(freigabe1u1, gesperrt) as col from ada' => array ( 'result' => array ( @@ -6945,7 +14000,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6954,21 +14009,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6983,20 +14027,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -7004,42 +14048,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7049,7 +14104,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'test@example.org\'' => + 'SELECT nullif(gesperrt, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -7060,7 +14115,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -7069,21 +14124,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -7098,12 +14142,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7111,7 +14155,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -7119,42 +14163,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7164,7 +14219,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'webmaster@example.org\'' => + 'SELECT octet_length(eladaid) as col from ak' => array ( 'result' => array ( @@ -7175,7 +14230,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -7184,33 +14239,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -7225,12 +14257,10 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7238,62 +14268,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7303,7 +14328,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email=\'foo\'' => + 'SELECT round(1.12, 1) as abs from ak' => array ( 'result' => array ( @@ -7314,7 +14339,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -7323,116 +14348,74 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\UnionType::__set_state(array( + PHPStan\Type\IntersectionType::__set_state(array( 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), 'types' => array ( 0 => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( )), ), - 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), ), 'optionalKeys' => @@ -7442,7 +14425,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email=\'test@example.org\'' => + 'SELECT round(freigabe1u1) as abs from ada' => array ( 'result' => array ( @@ -7453,7 +14436,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -7462,49 +14445,24 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'abs', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -7512,39 +14470,22 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 3 => + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -7557,7 +14498,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE gesperrt = \'1\'' => + 'SELECT round(null) as abs from ada' => array ( 'result' => array ( @@ -7568,7 +14509,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -7577,33 +14518,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), ), @@ -7618,12 +14536,10 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\FloatType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7631,62 +14547,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7696,39 +14607,30 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada where adaid = \'1\'' => + 'SELECT ucase(c_varbinary25) as field from typemix' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -7746,9 +14648,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7756,40 +14656,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7799,7 +14716,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => + 'SELECT upper(\'fooBARbar\') as field from ak' => array ( 'result' => array ( @@ -7810,7 +14727,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -7819,67 +14736,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 'value' => 'gesperrt', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -7897,9 +14757,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7907,116 +14765,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 4, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 4 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 5 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 6 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 7 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -8026,18 +14825,34 @@ FROM ada' => )), ), ), - 'SELECT max(adaid) FROM ada' => + 'SELECT upper(\'foobarbar\') as field from ak' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'max(adaid)', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => PHPStan\Type\UnionType::__set_state(array( @@ -8048,9 +14863,7 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -8061,7 +14874,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -8069,9 +14882,13 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'max(adaid)', + 'value' => 'field', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( @@ -8084,9 +14901,24 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\NullType::__set_state(array( diff --git a/tests/default/config/.phpunit-phpstan-dba-pdo-mysql.cache b/tests/default/config/.phpunit-phpstan-dba-pdo-mysql.cache index 2354d1769..59fb22bd3 100644 --- a/tests/default/config/.phpunit-phpstan-dba-pdo-mysql.cache +++ b/tests/default/config/.phpunit-phpstan-dba-pdo-mysql.cache @@ -91,681 +91,567 @@ )), ), ), - 'SELECT * FROM typemix' => + 'SELECT * FROM ada' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 4, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 5, - )), - 6 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 6, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 7, - )), - 8 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 8, - )), - 9 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 9, - )), - 10 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 10, - )), - 11 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 11, - )), - 12 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 12, - )), - 13 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 13, - )), - 14 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 14, - )), - 15 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 15, - )), - 16 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 16, - )), - 17 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 17, - )), - 18 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 18, - )), - 19 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 19, - )), - 20 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 20, - )), - 21 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 21, - )), - 22 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 22, - )), - 23 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 23, - )), - 24 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 24, - )), - 25 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 25, - )), - 26 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 26, - )), - 27 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 27, - )), - 28 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 28, - )), - 29 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 29, - )), - 30 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 30, - )), - 31 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 31, - )), - 32 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 32, - )), - 33 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 33, - )), - 34 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 34, - )), - 35 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 35, - )), - 36 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 36, - )), - 37 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 37, - )), - 38 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 38, - )), - 39 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bigint', - 'isClassString' => false, - )), - 'value' => 'c_bigint', + 'arrayKeyType' => NULL, + 'value' => 'adaid', 'isClassString' => false, )), - 40 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bit', - 'isClassString' => false, - )), - 'value' => 'c_bit', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), - 41 => + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_blob', - 'isClassString' => false, - )), - 'value' => 'c_blob', + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', 'isClassString' => false, )), - 42 => + 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 'value' => 'c_boolean', + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', 'isClassString' => false, )), - 43 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_char5', - 'isClassString' => false, - )), - 'value' => 'c_char5', - 'isClassString' => false, + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 44 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_date', - 'isClassString' => false, - )), - 'value' => 'c_date', - 'isClassString' => false, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 45 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT * FROM ak' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'akid\'|\'eadavk\'|\'eladaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', 'isClassString' => false, )), - 46 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal', - 'isClassString' => false, - )), - 'value' => 'c_decimal', + 'arrayKeyType' => NULL, + 'value' => 'eadavk', 'isClassString' => false, )), - 47 => + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal_not_null', - 'isClassString' => false, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 2 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eadavk', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), - 'value' => 'c_decimal_not_null', + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 2 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT * FROM typemix' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', 'isClassString' => false, )), - 48 => + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_double', - 'isClassString' => false, - )), - 'value' => 'c_double', + 'arrayKeyType' => NULL, + 'value' => 'c_bit', 'isClassString' => false, )), - 49 => + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_enum', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 8 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 9 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 10 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, 'value' => 'c_enum', 'isClassString' => false, )), - 50 => + 11 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_int', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_int', 'isClassString' => false, )), - 51 => + 12 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_json', 'isClassString' => false, )), - 52 => + 13 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json_not_null', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_json_not_null', 'isClassString' => false, )), - 53 => + 14 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_long_text', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_long_text', 'isClassString' => false, )), - 54 => + 15 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_longblob', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_longblob', 'isClassString' => false, )), - 55 => + 16 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_medium_text', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_medium_text', 'isClassString' => false, )), - 56 => + 17 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumblog', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_mediumblog', 'isClassString' => false, )), - 57 => + 18 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_mediumint', 'isClassString' => false, )), - 58 => + 19 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_real', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_real', 'isClassString' => false, )), - 59 => + 20 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_set', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_set', 'isClassString' => false, )), - 60 => + 21 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_smallint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_smallint', 'isClassString' => false, )), - 61 => + 22 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_text', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_text', 'isClassString' => false, )), - 62 => + 23 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_time', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_time', 'isClassString' => false, )), - 63 => + 24 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_timestamp', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_timestamp', 'isClassString' => false, )), - 64 => + 25 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tiny_text', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_tiny_text', 'isClassString' => false, )), - 65 => + 26 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyblob', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_tinyblob', 'isClassString' => false, )), - 66 => + 27 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_tinyint', 'isClassString' => false, )), - 67 => + 28 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_bigint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_unsigned_bigint', 'isClassString' => false, )), - 68 => + 29 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_int', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_unsigned_int', 'isClassString' => false, )), - 69 => + 30 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_unsigned_mediumint', 'isClassString' => false, )), - 70 => + 31 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_smallint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_unsigned_smallint', 'isClassString' => false, )), - 71 => + 32 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_unsigned_tinyint', 'isClassString' => false, )), - 72 => + 33 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary25', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_varbinary25', 'isClassString' => false, )), - 73 => + 34 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary255', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_varbinary255', 'isClassString' => false, )), - 74 => + 35 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar25', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_varchar25', 'isClassString' => false, )), - 75 => + 36 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar255', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_varchar255', 'isClassString' => false, )), - 76 => + 37 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_year', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'c_year', 'isClassString' => false, )), - 77 => + 38 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'pid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'pid', 'isClassString' => false, )), @@ -798,705 +684,588 @@ 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 39, + 0 => 0, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'pid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'pid', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, )), 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_char5', - 'isClassString' => false, - )), - 'value' => 'c_char5', + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', 'isClassString' => false, )), 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, )), 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar255', - 'isClassString' => false, - )), - 'value' => 'c_varchar255', + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', 'isClassString' => false, )), 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, )), 6 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varchar25', - 'isClassString' => false, - )), - 'value' => 'c_varchar25', + 'arrayKeyType' => NULL, + 'value' => 'c_date', 'isClassString' => false, )), 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, )), 8 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary255', - 'isClassString' => false, - )), - 'value' => 'c_varbinary255', + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', 'isClassString' => false, )), 9 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 4, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, )), 10 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_varbinary25', - 'isClassString' => false, - )), - 'value' => 'c_varbinary25', + 'arrayKeyType' => NULL, + 'value' => 'c_year', 'isClassString' => false, )), 11 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 5, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, )), 12 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_date', - 'isClassString' => false, - )), - 'value' => 'c_date', + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', 'isClassString' => false, )), 13 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 6, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, )), 14 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_time', - 'isClassString' => false, - )), - 'value' => 'c_time', + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', 'isClassString' => false, )), 15 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 7, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, )), 16 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', + 'arrayKeyType' => NULL, + 'value' => 'c_set', 'isClassString' => false, )), 17 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 8, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, )), 18 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_timestamp', - 'isClassString' => false, - )), - 'value' => 'c_timestamp', + 'arrayKeyType' => NULL, + 'value' => 'c_int', 'isClassString' => false, )), 19 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 9, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, )), 20 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_year', - 'isClassString' => false, - )), - 'value' => 'c_year', + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', 'isClassString' => false, )), 21 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 10, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, )), 22 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tiny_text', - 'isClassString' => false, - )), - 'value' => 'c_tiny_text', + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', 'isClassString' => false, )), 23 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 11, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, )), 24 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_medium_text', - 'isClassString' => false, - )), - 'value' => 'c_medium_text', + 'arrayKeyType' => NULL, + 'value' => 'c_real', 'isClassString' => false, )), 25 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 12, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, )), 26 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_text', - 'isClassString' => false, - )), - 'value' => 'c_text', + 'arrayKeyType' => NULL, + 'value' => 'c_blob', 'isClassString' => false, )), 27 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 13, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, )), 28 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_long_text', - 'isClassString' => false, - )), - 'value' => 'c_long_text', + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', 'isClassString' => false, )), 29 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 14, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, )), 30 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_enum', - 'isClassString' => false, - )), - 'value' => 'c_enum', + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', 'isClassString' => false, )), 31 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 15, - )), - 32 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_set', - 'isClassString' => false, - )), - 'value' => 'c_set', + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', 'isClassString' => false, )), - 33 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 16, - )), - 34 => + 32 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bit', - 'isClassString' => false, - )), - 'value' => 'c_bit', + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', 'isClassString' => false, )), - 35 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 17, - )), - 36 => + 33 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_int', - 'isClassString' => false, - )), - 'value' => 'c_int', + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', 'isClassString' => false, )), - 37 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 18, - )), - 38 => + 34 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyint', - 'isClassString' => false, - )), - 'value' => 'c_tinyint', + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', 'isClassString' => false, )), - 39 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 19, - )), - 40 => + 35 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_smallint', - 'isClassString' => false, - )), - 'value' => 'c_smallint', + 'arrayKeyType' => NULL, + 'value' => 'c_json', 'isClassString' => false, )), - 41 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 20, - )), - 42 => + 36 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumint', - 'isClassString' => false, - )), - 'value' => 'c_mediumint', + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', 'isClassString' => false, )), - 43 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 21, - )), - 44 => + 37 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_bigint', - 'isClassString' => false, - )), - 'value' => 'c_bigint', + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', 'isClassString' => false, )), - 45 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 22, - )), - 46 => + 38 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_double', - 'isClassString' => false, - )), - 'value' => 'c_double', + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', 'isClassString' => false, )), - 47 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 23, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, )), - 48 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_real', - 'isClassString' => false, - )), - 'value' => 'c_real', - 'isClassString' => false, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 49 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 24, + 2 => + PHPStan\Type\StringType::__set_state(array( )), - 50 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 'value' => 'c_boolean', - 'isClassString' => false, - )), - 51 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 25, + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 52 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_blob', - 'isClassString' => false, - )), - 'value' => 'c_blob', - 'isClassString' => false, + 4 => + PHPStan\Type\StringType::__set_state(array( )), - 53 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 26, + 5 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 54 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_tinyblob', - 'isClassString' => false, - )), - 'value' => 'c_tinyblob', - 'isClassString' => false, + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 55 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 27, + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 56 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_mediumblog', - 'isClassString' => false, - )), - 'value' => 'c_mediumblog', - 'isClassString' => false, + 8 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 57 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 28, + 9 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 58 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_longblob', - 'isClassString' => false, - )), - 'value' => 'c_longblob', - 'isClassString' => false, + 10 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 59 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 29, + 11 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 60 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_tinyint', - 'isClassString' => false, + 12 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 61 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 30, + 13 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 62 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_int', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_int', - 'isClassString' => false, + 14 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 63 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 31, + 15 => + PHPStan\Type\StringType::__set_state(array( )), - 64 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_smallint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_smallint', - 'isClassString' => false, + 16 => + PHPStan\Type\StringType::__set_state(array( )), - 65 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 32, + 17 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 66 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_mediumint', - 'isClassString' => false, + 18 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), - 67 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 33, + 19 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), - 68 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_unsigned_bigint', - 'isClassString' => false, - )), - 'value' => 'c_unsigned_bigint', - 'isClassString' => false, + 20 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 69 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 34, + 21 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, )), - 70 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json', - 'isClassString' => false, - )), - 'value' => 'c_json', - 'isClassString' => false, + 22 => + PHPStan\Type\IntegerType::__set_state(array( )), - 71 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 35, + 23 => + PHPStan\Type\FloatType::__set_state(array( )), - 72 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_json_not_null', - 'isClassString' => false, - )), - 'value' => 'c_json_not_null', - 'isClassString' => false, + 24 => + PHPStan\Type\FloatType::__set_state(array( )), - 73 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 36, + 25 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), - 74 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal', - 'isClassString' => false, - )), - 'value' => 'c_decimal', - 'isClassString' => false, + 26 => + PHPStan\Type\StringType::__set_state(array( )), - 75 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 37, + 27 => + PHPStan\Type\StringType::__set_state(array( )), - 76 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_decimal_not_null', - 'isClassString' => false, - )), - 'value' => 'c_decimal_not_null', - 'isClassString' => false, + 28 => + PHPStan\Type\StringType::__set_state(array( )), - 77 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 38, + 29 => + PHPStan\Type\StringType::__set_state(array( )), - ), - 'valueTypes' => - array ( - 0 => + 30 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => 0, - 'max' => 4294967295, + 'max' => 255, )), - 1 => + 31 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => 0, 'max' => 4294967295, )), - 2 => - PHPStan\Type\StringType::__set_state(array( - )), - 3 => - PHPStan\Type\StringType::__set_state(array( + 32 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, )), - 4 => - PHPStan\Type\StringType::__set_state(array( + 33 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, )), - 5 => - PHPStan\Type\StringType::__set_state(array( + 34 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, )), - 6 => + 35 => PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, + 'sortedTypes' => false, 'cachedDescriptions' => array ( - 4 => 'string|null', - 3 => 'string|null', ), 'types' => array ( @@ -1509,7 +1278,10 @@ ), 'normalized' => true, )), - 7 => + 36 => + PHPStan\Type\StringType::__set_state(array( + )), + 37 => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => false, 'cachedDescriptions' => @@ -1518,7 +1290,17 @@ 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -1526,41 +1308,6626 @@ ), 'normalized' => true, )), - 8 => - PHPStan\Type\StringType::__set_state(array( - )), - 9 => - PHPStan\Type\StringType::__set_state(array( - )), - 10 => - PHPStan\Type\UnionType::__set_state(array( + 38 => + PHPStan\Type\IntersectionType::__set_state(array( 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), 'types' => array ( 0 => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\NullType::__set_state(array( + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( )), ), - 'normalized' => true, )), - 11 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|\'c_bigint\'|\'c_bit\'|\'c_blob\'|\'c_boolean\'|\'c_char5\'|\'c_date\'|\'c_datetime\'|\'c_decimal\'|\'c_decimal_not_null\'|\'c_double\'|\'c_enum\'|\'c_int\'|\'c_json\'|\'c_json_not_null\'|\'c_long_text\'|\'c_longblob\'|\'c_medium_text\'|\'c_mediumblog\'|\'c_mediumint\'|\'c_real\'|\'c_set\'|\'c_smallint\'|\'c_text\'|\'c_time\'|\'c_timestamp\'|\'c_tiny_text\'|\'c_tinyblob\'|\'c_tinyint\'|\'c_unsigned_bigint\'|\'c_unsigned_int\'|\'c_unsigned_mediumint\'|\'c_unsigned_smallint\'|\'c_unsigned_tinyint\'|\'c_varbinary25\'|\'c_varbinary255\'|\'c_varchar25\'|\'c_varchar255\'|\'c_year\'|\'pid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 4, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 5, + )), + 6 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 6, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 7, + )), + 8 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 8, + )), + 9 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 9, + )), + 10 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 10, + )), + 11 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 11, + )), + 12 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 12, + )), + 13 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 13, + )), + 14 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 14, + )), + 15 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 15, + )), + 16 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 16, + )), + 17 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 17, + )), + 18 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 18, + )), + 19 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 19, + )), + 20 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 20, + )), + 21 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 21, + )), + 22 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 22, + )), + 23 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 23, + )), + 24 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 24, + )), + 25 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 25, + )), + 26 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 26, + )), + 27 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 27, + )), + 28 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 28, + )), + 29 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 29, + )), + 30 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 30, + )), + 31 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 31, + )), + 32 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 32, + )), + 33 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 33, + )), + 34 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 34, + )), + 35 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 35, + )), + 36 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 36, + )), + 37 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 37, + )), + 38 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 38, + )), + 39 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 40 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 'value' => 'c_bit', + 'isClassString' => false, + )), + 41 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 'value' => 'c_blob', + 'isClassString' => false, + )), + 42 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 43 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 'value' => 'c_char5', + 'isClassString' => false, + )), + 44 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 'value' => 'c_date', + 'isClassString' => false, + )), + 45 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 46 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 47 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 48 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 'value' => 'c_double', + 'isClassString' => false, + )), + 49 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, + )), + 'value' => 'c_enum', + 'isClassString' => false, + )), + 50 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, + )), + 'value' => 'c_int', + 'isClassString' => false, + )), + 51 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, + )), + 'value' => 'c_json', + 'isClassString' => false, + )), + 52 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 53 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 54 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 55 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 56 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 57 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 58 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, + )), + 'value' => 'c_real', + 'isClassString' => false, + )), + 59 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, + )), + 'value' => 'c_set', + 'isClassString' => false, + )), + 60 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 61 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, + )), + 'value' => 'c_text', + 'isClassString' => false, + )), + 62 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, + )), + 'value' => 'c_time', + 'isClassString' => false, + )), + 63 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 64 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 65 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 66 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 67 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 68 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 69 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 70 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 71 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 72 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 73 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 74 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 75 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 76 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_year', + 'isClassString' => false, + )), + 'value' => 'c_year', + 'isClassString' => false, + )), + 77 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'pid', + 'isClassString' => false, + )), + 'value' => 'pid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\FloatType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 3 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 39, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'pid', + 'isClassString' => false, + )), + 'value' => 'pid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_char5', + 'isClassString' => false, + )), + 'value' => 'c_char5', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 'value' => 'c_varchar255', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 'value' => 'c_varchar25', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 8 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 'value' => 'c_varbinary255', + 'isClassString' => false, + )), + 9 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 4, + )), + 10 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 'value' => 'c_varbinary25', + 'isClassString' => false, + )), + 11 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 5, + )), + 12 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_date', + 'isClassString' => false, + )), + 'value' => 'c_date', + 'isClassString' => false, + )), + 13 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 6, + )), + 14 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_time', + 'isClassString' => false, + )), + 'value' => 'c_time', + 'isClassString' => false, + )), + 15 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 7, + )), + 16 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 17 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 8, + )), + 18 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 'value' => 'c_timestamp', + 'isClassString' => false, + )), + 19 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 9, + )), + 20 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_year', + 'isClassString' => false, + )), + 'value' => 'c_year', + 'isClassString' => false, + )), + 21 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 10, + )), + 22 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 'value' => 'c_tiny_text', + 'isClassString' => false, + )), + 23 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 11, + )), + 24 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 'value' => 'c_medium_text', + 'isClassString' => false, + )), + 25 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 12, + )), + 26 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_text', + 'isClassString' => false, + )), + 'value' => 'c_text', + 'isClassString' => false, + )), + 27 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 13, + )), + 28 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 'value' => 'c_long_text', + 'isClassString' => false, + )), + 29 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 14, + )), + 30 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_enum', + 'isClassString' => false, + )), + 'value' => 'c_enum', + 'isClassString' => false, + )), + 31 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 15, + )), + 32 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_set', + 'isClassString' => false, + )), + 'value' => 'c_set', + 'isClassString' => false, + )), + 33 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 16, + )), + 34 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bit', + 'isClassString' => false, + )), + 'value' => 'c_bit', + 'isClassString' => false, + )), + 35 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 17, + )), + 36 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_int', + 'isClassString' => false, + )), + 'value' => 'c_int', + 'isClassString' => false, + )), + 37 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 18, + )), + 38 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_tinyint', + 'isClassString' => false, + )), + 39 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 19, + )), + 40 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 'value' => 'c_smallint', + 'isClassString' => false, + )), + 41 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 20, + )), + 42 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_mediumint', + 'isClassString' => false, + )), + 43 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 21, + )), + 44 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 'value' => 'c_bigint', + 'isClassString' => false, + )), + 45 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 22, + )), + 46 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_double', + 'isClassString' => false, + )), + 'value' => 'c_double', + 'isClassString' => false, + )), + 47 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 23, + )), + 48 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_real', + 'isClassString' => false, + )), + 'value' => 'c_real', + 'isClassString' => false, + )), + 49 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 24, + )), + 50 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 'value' => 'c_boolean', + 'isClassString' => false, + )), + 51 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 25, + )), + 52 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_blob', + 'isClassString' => false, + )), + 'value' => 'c_blob', + 'isClassString' => false, + )), + 53 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 26, + )), + 54 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 'value' => 'c_tinyblob', + 'isClassString' => false, + )), + 55 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 27, + )), + 56 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 'value' => 'c_mediumblog', + 'isClassString' => false, + )), + 57 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 28, + )), + 58 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 'value' => 'c_longblob', + 'isClassString' => false, + )), + 59 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 29, + )), + 60 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_tinyint', + 'isClassString' => false, + )), + 61 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 30, + )), + 62 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_int', + 'isClassString' => false, + )), + 63 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 31, + )), + 64 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_smallint', + 'isClassString' => false, + )), + 65 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 32, + )), + 66 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_mediumint', + 'isClassString' => false, + )), + 67 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 33, + )), + 68 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 'value' => 'c_unsigned_bigint', + 'isClassString' => false, + )), + 69 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 34, + )), + 70 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json', + 'isClassString' => false, + )), + 'value' => 'c_json', + 'isClassString' => false, + )), + 71 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 35, + )), + 72 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 'value' => 'c_json_not_null', + 'isClassString' => false, + )), + 73 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 36, + )), + 74 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 'value' => 'c_decimal', + 'isClassString' => false, + )), + 75 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 37, + )), + 76 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 'value' => 'c_decimal_not_null', + 'isClassString' => false, + )), + 77 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 38, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\StringType::__set_state(array( + )), + 4 => + PHPStan\Type\StringType::__set_state(array( + )), + 5 => + PHPStan\Type\StringType::__set_state(array( + )), + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 8 => + PHPStan\Type\StringType::__set_state(array( + )), + 9 => + PHPStan\Type\StringType::__set_state(array( + )), + 10 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 11 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 12 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 13 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 14 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 15 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 16 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 17 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 18 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 19 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 20 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<0, 2155>|null', + 3 => 'int<0, 2155>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 21 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 2155, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 22 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 23 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 24 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 25 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 26 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 27 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 28 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 29 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 30 => + PHPStan\Type\StringType::__set_state(array( + )), + 31 => + PHPStan\Type\StringType::__set_state(array( + )), + 32 => + PHPStan\Type\StringType::__set_state(array( + )), + 33 => + PHPStan\Type\StringType::__set_state(array( + )), + 34 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int|null', + 3 => 'int|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 35 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 36 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 37 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 38 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 39 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 40 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 41 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 42 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, + )), + 43 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -8388608, + 'max' => 8388607, + )), + 44 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 45 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 46 => + PHPStan\Type\FloatType::__set_state(array( + )), + 47 => + PHPStan\Type\FloatType::__set_state(array( + )), + 48 => + PHPStan\Type\FloatType::__set_state(array( + )), + 49 => + PHPStan\Type\FloatType::__set_state(array( + )), + 50 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 51 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 52 => + PHPStan\Type\StringType::__set_state(array( + )), + 53 => + PHPStan\Type\StringType::__set_state(array( + )), + 54 => + PHPStan\Type\StringType::__set_state(array( + )), + 55 => + PHPStan\Type\StringType::__set_state(array( + )), + 56 => + PHPStan\Type\StringType::__set_state(array( + )), + 57 => + PHPStan\Type\StringType::__set_state(array( + )), + 58 => + PHPStan\Type\StringType::__set_state(array( + )), + 59 => + PHPStan\Type\StringType::__set_state(array( + )), + 60 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 255, + )), + 61 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 255, + )), + 62 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 63 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 4294967295, + )), + 64 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, + )), + 65 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 65535, + )), + 66 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, + )), + 67 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => 16777215, + )), + 68 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, + )), + 69 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => 0, + 'max' => NULL, + )), + 70 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'string|null', + 3 => 'string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 71 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 72 => + PHPStan\Type\StringType::__set_state(array( + )), + 73 => + PHPStan\Type\StringType::__set_state(array( + )), + 74 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'numeric-string|null', + 3 => 'numeric-string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 75 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 76 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 77 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT COALESCE(null, eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT COALESCE(null, eladaid, null, akid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT FIELD(\'Bb\', \'Aa\', \'Bb\', \'Cc\', \'Dd\', \'Ff\') as field from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT MAX(adaid), MIN(adaid), COUNT(adaid), AVG(adaid) FROM ada WHERE adaid = 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|2|3|\'AVG(adaid)\'|\'COUNT(adaid)\'|\'MAX(adaid)\'|\'MIN(adaid)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 2 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 4, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 'value' => 'MAX(adaid)', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 'value' => 'MIN(adaid)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 'value' => 'COUNT(adaid)', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 'value' => 'AVG(adaid)', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<-32768, 32767>|null', + 3 => 'int<-32768, 32767>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 2 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'int<-32768, 32767>|null', + 3 => 'int<-32768, 32767>|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 3 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 4 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 5 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 6 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 4 => 'numeric-string|null', + 3 => 'numeric-string|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => true, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 7 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(eladaid) as abs from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(freigabe1u1) as abs from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT abs(null) as abs from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'abs\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'abs', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid +FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE NOWAIT' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR SHARE SKIP LOCKED' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE NOWAIT' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE SKIP LOCKED' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 OFFSET 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada LIMIT 1 OFFSET 1 FOR UPDATE' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (\'1\')' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (\'1\') AND email LIKE \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE adaid IN (NULL) AND email LIKE \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE ":gesperrt%"' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \'%questions ?%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \':gesperrt%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid FROM ada WHERE email LIKE \'hello?%\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'adaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT adaid, email FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT akid FROM ak WHERE eadavk>1.0' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'akid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 'value' => 'akid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT akid FROM ak WHERE eadavk>1.1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'akid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 'value' => 'akid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'akid', + 'isClassString' => false, + )), + 'value' => 'akid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT avg(freigabe1u1) as avg from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'avg\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'avg', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'avg', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT c_datetime FROM typemix' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\ObjectType::__set_state(array( + 'subtractedType' => NULL, + 'cachedParent' => NULL, + 'cachedInterfaces' => NULL, + 'currentAncestors' => + array ( + ), + 'cachedDescription' => NULL, + 'className' => 'DateTimeImmutable', + 'classReflection' => NULL, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'c_datetime', + 'isClassString' => false, + )), + 'value' => 'c_datetime', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 3 => 'DateTimeImmutable|null', + ), + 'types' => + array ( + 0 => + PHPStan\Type\ObjectType::__set_state(array( + 'subtractedType' => NULL, + 'cachedParent' => NULL, + 'cachedInterfaces' => NULL, + 'currentAncestors' => + array ( + ), + 'cachedDescription' => NULL, + 'className' => 'DateTimeImmutable', + 'classReflection' => NULL, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT char_length(eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT character_length(eladaid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat("abc", akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, akid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat(eladaid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws("abc", akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(akid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, 5000) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, akid) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT concat_ws(eladaid, null) as col from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'col\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'col', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(*) FROM typemix WHERE c_date = \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'count(*)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(*)', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(*)', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(*) FROM typemix WHERE c_datetime = \'1970-01-01\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'count(*)\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(*)', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(*)', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail, count(email) from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'count(email)\'|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT eladaid FROM ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'eladaid\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + 'value' => 'eladaid', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'eladaid', + 'isClassString' => false, + )), + 'value' => 'eladaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, 'cachedDescriptions' => array ( + 4 => 'int<-2147483648, 2147483647>|null', + 3 => 'int<-2147483648, 2147483647>|null', ), 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -1568,647 +7935,1069 @@ ), 'normalized' => true, )), - 12 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email +FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\StringType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 13 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 14 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 15 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' => + array ( + 'error' => + staabm\PHPStanDba\Error::__set_state(array( + 'message' => 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada LIMIT 0\' at line 1', + 'code' => '42000', + )), + ), + 'SELECT email, adaid FROM ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 16 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 17 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 18 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 19 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 20 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<0, 2155>|null', - 3 => 'int<0, 2155>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 2155, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 21 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 2155, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 22 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada LIMIT 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, )), - 23 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 24 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 25 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 26 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 27 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 28 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 29 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada LIMIT 1, 10' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 30 => - PHPStan\Type\StringType::__set_state(array( + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 31 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 32 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 33 => + 1 => PHPStan\Type\StringType::__set_state(array( )), - 34 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int|null', - 3 => 'int|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 35 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 36 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, - )), - 37 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, - )), - 38 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 39 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 40 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 41 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 42 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -8388608, - 'max' => 8388607, - )), - 43 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -8388608, - 'max' => 8388607, - )), - 44 => - PHPStan\Type\IntegerType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = \'1\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - 45 => - PHPStan\Type\IntegerType::__set_state(array( + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 46 => - PHPStan\Type\FloatType::__set_state(array( + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 47 => - PHPStan\Type\FloatType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 48 => - PHPStan\Type\FloatType::__set_state(array( + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), - 49 => - PHPStan\Type\FloatType::__set_state(array( + 1 => + PHPStan\Type\StringType::__set_state(array( )), - 50 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + 'min' => -32768, + 'max' => 32767, )), - 51 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 52 => - PHPStan\Type\StringType::__set_state(array( - )), - 53 => - PHPStan\Type\StringType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 54 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = \'1\' and email = \'email@example.org\'' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - 55 => - PHPStan\Type\StringType::__set_state(array( + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), - 56 => - PHPStan\Type\StringType::__set_state(array( + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 57 => - PHPStan\Type\StringType::__set_state(array( + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 58 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 59 => + 1 => PHPStan\Type\StringType::__set_state(array( )), - 60 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 255, - )), - 61 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 255, - )), - 62 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, - )), - 63 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 4294967295, - )), - 64 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 65535, - )), - 65 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 65535, - )), - 66 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 16777215, - )), - 67 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => 16777215, - )), - 68 => + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => NULL, + 'min' => -32768, + 'max' => 32767, )), - 69 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => 0, - 'max' => NULL, + 'min' => -32768, + 'max' => 32767, )), - 70 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'string|null', - 3 => 'string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = 1' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), - 1 => - PHPStan\Type\NullType::__set_state(array( + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, )), - ), - 'normalized' => true, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, )), - 71 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, )), - 72 => + ), + 'valueTypes' => + array ( + 0 => PHPStan\Type\StringType::__set_state(array( )), - 73 => + 1 => PHPStan\Type\StringType::__set_state(array( )), - 74 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'numeric-string|null', - 3 => 'numeric-string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 75 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 76 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), - 77 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -2218,7 +9007,7 @@ )), ), ), - 'SELECT MAX(adaid), MIN(adaid), COUNT(adaid), AVG(adaid) FROM ada WHERE adaid = 1' => + 'SELECT email, adaid FROM ada WHERE adaid = 2' => array ( 'result' => array ( @@ -2229,7 +9018,7 @@ 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|\'AVG(adaid)\'|\'COUNT(adaid)\'|\'MAX(adaid)\'|\'MIN(adaid)\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2242,63 +9031,168 @@ 'value' => 1, )), 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'AVG(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 'value' => 'AVG(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 5 => + 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'COUNT(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'COUNT(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 6 => + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT email, adaid FROM ada WHERE adaid = 3' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MAX(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 'value' => 'MAX(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 7 => + 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MIN(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'MIN(adaid)', + 'value' => 'email', 'isClassString' => false, )), ), @@ -2313,23 +9207,12 @@ 'types' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 2 => - PHPStan\Type\NullType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'normalized' => true, @@ -2337,7 +9220,7 @@ 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 4, + 0 => 2, ), 'keyTypes' => array ( @@ -2348,10 +9231,10 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MAX(adaid)', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'MAX(adaid)', + 'value' => 'email', 'isClassString' => false, )), 1 => @@ -2365,194 +9248,34 @@ PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'MIN(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), - 'value' => 'MIN(adaid)', + 'value' => 'adaid', 'isClassString' => false, )), 3 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 1, )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 'value' => 'COUNT(adaid)', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'AVG(adaid)', - 'isClassString' => false, - )), - 'value' => 'AVG(adaid)', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<-32768, 32767>|null', - 3 => 'int<-32768, 32767>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\StringType::__set_state(array( )), 2 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'int<-32768, 32767>|null', - 3 => 'int<-32768, 32767>|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 3 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 4 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 5 => - PHPStan\Type\IntegerType::__set_state(array( - )), - 6 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 4 => 'numeric-string|null', - 3 => 'numeric-string|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, - )), - 7 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -2562,8 +9285,7 @@ )), ), ), - 'SELECT adaid -FROM ada' => + 'SELECT email, adaid FROM ada WHERE adaid IN(1,3)' => array ( 'result' => array ( @@ -2574,7 +9296,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2583,6 +9305,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -2595,22 +9321,66 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -2623,19 +9393,25 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), - 1 => + 3 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + 'value' => 1, )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2648,7 +9424,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada' => + 'SELECT email, adaid FROM ada WHERE adaid=1' => array ( 'result' => array ( @@ -2659,8 +9435,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', - 1 => 'int|string', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2669,24 +9444,49 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -2694,22 +9494,39 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2723,16 +9540,49 @@ FROM ada' => 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -2742,6 +9592,13 @@ FROM ada' => 'keyTypes' => array ( 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, @@ -2752,6 +9609,9 @@ FROM ada' => 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2764,7 +9624,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE' => + 'SELECT email, adaid FROM ada WHERE email <=> \'\'' => array ( 'result' => array ( @@ -2775,7 +9635,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2784,59 +9644,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2849,7 +9739,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE NOWAIT' => + 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\'' => array ( 'result' => array ( @@ -2860,7 +9750,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2869,59 +9759,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -2934,7 +9854,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR SHARE SKIP LOCKED' => + 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\' AND 1=1' => array ( 'result' => array ( @@ -2945,7 +9865,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -2954,59 +9874,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3019,7 +9969,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE NOWAIT' => + 'SELECT email, adaid FROM ada WHERE email = \'email@example.org\'' => array ( 'result' => array ( @@ -3030,7 +9980,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3039,59 +9989,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3104,7 +10084,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 FOR UPDATE SKIP LOCKED' => + 'SELECT email, adaid FROM ada WHERE email = \'test@example.org\'' => array ( 'result' => array ( @@ -3115,7 +10095,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3124,59 +10104,89 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), + 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3189,7 +10199,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 OFFSET 1' => + 'SELECT email, adaid FROM ada WHERE email = \'webmaster@example.org\'' => array ( 'result' => array ( @@ -3200,7 +10210,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3209,6 +10219,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3221,18 +10235,45 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3243,25 +10284,48 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3274,7 +10338,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada LIMIT 1 OFFSET 1 FOR UPDATE' => + 'SELECT email, adaid FROM ada WHERE email=\'foo\'' => array ( 'result' => array ( @@ -3285,7 +10349,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3294,6 +10358,10 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3306,18 +10374,45 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3328,25 +10423,48 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3359,7 +10477,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (\'1\')' => + 'SELECT email, adaid FROM ada WHERE email=\'test@example.org\'' => array ( 'result' => array ( @@ -3370,7 +10488,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3379,24 +10497,49 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( @@ -3404,22 +10547,39 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3432,7 +10592,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (\'1\') AND email LIKE \'1970-01-01\'' => + 'SELECT email, adaid FROM ada WHERE gesperrt = \'1\'' => array ( 'result' => array ( @@ -3443,7 +10603,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|\'adaid\'|\'email\'', ), 'types' => array ( @@ -3452,47 +10612,113 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), 'value' => 'adaid', 'isClassString' => false, )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 2, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -3505,65 +10731,95 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE adaid IN (NULL) AND email LIKE \'1970-01-01\'' => + 'SELECT email, adaid FROM ada where adaid = \'1\'' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '\'adaid\'|\'email\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, 'value' => 'adaid', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 0, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( @@ -3578,7 +10834,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE ":gesperrt%"' => + 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => array ( 'result' => array ( @@ -3589,7 +10845,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|1|2|3|\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', ), 'types' => array ( @@ -3598,6 +10854,18 @@ FROM ada' => 'value' => 0, )), 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), + 4 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => @@ -3610,18 +10878,71 @@ FROM ada' => 'value' => 'adaid', 'isClassString' => false, )), + 5 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 'value' => 'email', + 'isClassString' => false, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 'value' => 'gesperrt', + 'isClassString' => false, + )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 1, + 0 => 4, ), 'keyTypes' => array ( @@ -3632,28 +10953,105 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), - 'value' => 'adaid', + 'value' => 'email', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 'value' => 'adaid', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 4 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 5 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 2, + )), + 6 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 7 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 3, + )), ), 'valueTypes' => array ( 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 3 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 1 => + 4 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 5 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 6 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 7 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -3663,7 +11061,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \'%questions ?%\'' => + 'SELECT ifnull(freigabe1u1, "default") as col from ada' => array ( 'result' => array ( @@ -3674,7 +11072,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -3686,16 +11084,14 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -3708,7 +11104,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -3719,14 +11115,10 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), ), 'optionalKeys' => @@ -3736,7 +11128,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \':gesperrt%\'' => + 'SELECT ifnull(freigabe1u1, 123.23) as col from ada' => array ( 'result' => array ( @@ -3747,7 +11139,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -3759,16 +11151,24 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -3781,7 +11181,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -3792,14 +11192,30 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), ), 'optionalKeys' => @@ -3809,7 +11225,7 @@ FROM ada' => )), ), ), - 'SELECT adaid FROM ada WHERE email LIKE \'hello?%\'' => + 'SELECT ifnull(freigabe1u1, 5000) as col from ada' => array ( 'result' => array ( @@ -3820,7 +11236,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'adaid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -3832,7 +11248,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), ), @@ -3854,7 +11270,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -3882,61 +11298,44 @@ FROM ada' => )), ), ), - 'SELECT adaid, email FROM ada' => + 'SELECT ifnull(freigabe1u1, freigabe1u1) as col from ada' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -3944,15 +11343,12 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'col', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => @@ -3963,7 +11359,9 @@ FROM ada' => 'max' => 32767, )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -3973,7 +11371,7 @@ FROM ada' => )), ), ), - 'SELECT akid FROM ak WHERE eadavk>1.0' => + 'SELECT ifnull(freigabe1u1, gesperrt) as col from ada' => array ( 'result' => array ( @@ -3984,7 +11382,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'akid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -3995,14 +11393,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -4010,8 +11402,8 @@ FROM ada' => )), 'itemType' => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4023,14 +11415,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4042,13 +11428,13 @@ FROM ada' => array ( 0 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -4058,7 +11444,7 @@ FROM ada' => )), ), ), - 'SELECT akid FROM ak WHERE eadavk>1.1' => + 'SELECT ifnull(gesperrt, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -4069,7 +11455,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'akid\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4080,14 +11466,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -4095,148 +11475,39 @@ FROM ada' => )), 'itemType' => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, - )), - 'allArrays' => NULL, - 'nextAutoIndexes' => - array ( - 0 => 1, - ), - 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'akid', - 'isClassString' => false, - )), - 'value' => 'akid', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - ), - 'valueTypes' => - array ( - 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, - )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -2147483648, - 'max' => 2147483647, - )), - ), - 'optionalKeys' => - array ( - ), - 'isList' => false, - )), - ), - ), - 'SELECT c_datetime FROM typemix' => - array ( - 'result' => - array ( - 3 => - PHPStan\Type\Constant\ConstantArrayType::__set_state(array( - 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\ObjectType::__set_state(array( - 'subtractedType' => NULL, - 'cachedParent' => NULL, - 'cachedInterfaces' => NULL, - 'currentAncestors' => - array ( - ), - 'cachedDescription' => NULL, - 'className' => 'DateTimeImmutable', - 'classReflection' => NULL, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'c_datetime', - 'isClassString' => false, - )), - 'value' => 'c_datetime', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 3 => 'DateTimeImmutable|null', - ), - 'types' => - array ( - 0 => - PHPStan\Type\ObjectType::__set_state(array( - 'subtractedType' => NULL, - 'cachedParent' => NULL, - 'cachedInterfaces' => NULL, - 'currentAncestors' => - array ( - ), - 'cachedDescription' => NULL, - 'className' => 'DateTimeImmutable', - 'classReflection' => NULL, - )), - 1 => - PHPStan\Type\NullType::__set_state(array( - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), ), 'optionalKeys' => @@ -4246,7 +11517,7 @@ FROM ada' => )), ), ), - 'SELECT count(*) FROM typemix WHERE c_date = \'1970-01-01\'' => + 'SELECT instr(\'foobarbar\', \'bar\') as field from ak' => array ( 'result' => array ( @@ -4257,7 +11528,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'count(*)\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4269,14 +11540,16 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4289,7 +11562,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4300,10 +11573,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -4313,7 +11590,7 @@ FROM ada' => )), ), ), - 'SELECT count(*) FROM typemix WHERE c_datetime = \'1970-01-01\'' => + 'SELECT instr(akid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -4324,7 +11601,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'count(*)\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4336,14 +11613,16 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4356,7 +11635,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'count(*)', + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4367,10 +11646,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -4380,7 +11663,7 @@ FROM ada' => )), ), ), - 'SELECT eladaid FROM ak' => + 'SELECT instr(eladaid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -4391,7 +11674,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'eladaid\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4402,14 +11685,8 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'eladaid', - 'isClassString' => false, - )), - 'value' => 'eladaid', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -4444,14 +11721,8 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'eladaid', - 'isClassString' => false, - )), - 'value' => 'eladaid', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => @@ -4463,11 +11734,9 @@ FROM ada' => array ( 0 => PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, + 'sortedTypes' => false, 'cachedDescriptions' => array ( - 4 => 'int<-2147483648, 2147483647>|null', - 3 => 'int<-2147483648, 2147483647>|null', ), 'types' => array ( @@ -4509,8 +11778,7 @@ FROM ada' => )), ), ), - 'SELECT email -FROM ada' => + 'SELECT isnull(akid) as n1 from ak' => array ( 'result' => array ( @@ -4521,7 +11789,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'email\'', + 2 => '0|\'n1\'', ), 'types' => array ( @@ -4532,21 +11800,17 @@ FROM ada' => 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'n1', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4558,14 +11822,81 @@ FROM ada' => 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => + 'arrayKeyType' => NULL, + 'value' => 'n1', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT isnull(eladaid) as n1 from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'n1\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'n1', 'isClassString' => false, )), - 'value' => 'email', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'n1', 'isClassString' => false, )), 1 => @@ -4576,10 +11907,14 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => @@ -4589,26 +11924,56 @@ FROM ada' => )), ), ), - 'SELECT email FROM ada' => + 'SELECT lcase(c_varbinary255) as field from typemix' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -4616,14 +11981,49 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -4631,6 +12031,12 @@ FROM ada' => ), 'isList' => false, )), + ), + ), + 'SELECT length(akid) as col from ak' => + array ( + 'result' => + array ( 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => @@ -4638,8 +12044,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|\'email\'', - 1 => 'int|string', + 2 => '0|\'col\'', ), 'types' => array ( @@ -4651,14 +12056,14 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -4671,7 +12076,7 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => @@ -4682,10 +12087,10 @@ FROM ada' => 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 1 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), ), 'optionalKeys' => @@ -4695,15 +12100,7 @@ FROM ada' => )), ), ), - 'SELECT email adaid WHERE gesperrt freigabe1u1 FROM ada' => - array ( - 'error' => - staabm\PHPStanDba\Error::__set_state(array( - 'message' => 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'freigabe1u1 FROM ada LIMIT 0\' at line 1', - 'code' => '42000', - )), - ), - 'SELECT email, adaid FROM ada' => + 'SELECT locate(\'foo\', eladaid, \'bar\') as field from ak' => array ( 'result' => array ( @@ -4714,7 +12111,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4723,33 +12120,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -4764,12 +12138,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -4777,62 +12151,134 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT locate(akid, \'bar\') as field from ak' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'field', 'isClassString' => false, )), - 'value' => 'adaid', + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), - 3 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -2147483648, + 'max' => 2147483647, )), - 3 => + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 'min' => -2147483648, + 'max' => 2147483647, )), ), 'optionalKeys' => @@ -4840,29 +12286,32 @@ FROM ada' => ), 'isList' => false, )), - 3 => + ), + ), + 'SELECT locate(eladaid, \'bar\') as field from ak' => + array ( + 'result' => + array ( + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -4877,12 +12326,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -4890,7 +12339,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -4898,26 +12347,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -2147483648, + 'max' => 2147483647, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -4927,7 +12403,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada LIMIT 1' => + 'SELECT lower(\'FOO\') as field from ak' => array ( 'result' => array ( @@ -4938,7 +12414,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -4947,33 +12423,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -4991,9 +12444,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5001,62 +12452,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5066,7 +12512,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada LIMIT 1, 10' => + 'SELECT lower(\'foobarbar\') as field from ak' => array ( 'result' => array ( @@ -5077,7 +12523,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5086,33 +12532,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5130,9 +12553,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5140,62 +12561,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5205,7 +12621,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = \'1\'' => + 'SELECT lower(c_varbinary25) as field from typemix' => array ( 'result' => array ( @@ -5216,7 +12632,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5225,21 +12641,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -5257,9 +12662,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5267,50 +12670,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, - ), - 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 2 => + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'adaid', + 'value' => 'field', 'isClassString' => false, )), - 3 => + 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5320,7 +12730,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = \'1\' and email = \'email@example.org\'' => + 'SELECT lower(c_varbinary255) as field from typemix' => array ( 'result' => array ( @@ -5331,7 +12741,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5340,21 +12750,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), ), @@ -5372,9 +12771,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5382,7 +12779,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -5390,42 +12787,49 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5435,7 +12839,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 1' => + 'SELECT lower(concat(akid, 5000)) as col from ak' => array ( 'result' => array ( @@ -5446,7 +12850,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -5455,33 +12859,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -5499,9 +12880,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5509,62 +12888,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5574,7 +12948,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 2' => + 'SELECT lower(null) as field from ak' => array ( 'result' => array ( @@ -5585,7 +12959,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5594,33 +12968,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5638,9 +12989,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5648,62 +12997,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5713,7 +13057,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid = 3' => + 'SELECT lower(upper(\'foobarbar\')) as field from ak' => array ( 'result' => array ( @@ -5724,7 +13068,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -5733,33 +13077,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -5777,9 +13098,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -5787,62 +13106,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5852,57 +13166,18 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid IN(1,3)' => + 'SELECT max(adaid) FROM ada' => array ( 'result' => array ( - 5 => + 3 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => true, - 'cachedDescriptions' => - array ( - 2 => '0|1|\'adaid\'|\'email\'', - ), - 'types' => - array ( - 0 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - ), - 'normalized' => false, + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'max(adaid)', + 'isClassString' => false, )), 'itemType' => PHPStan\Type\UnionType::__set_state(array( @@ -5913,75 +13188,51 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 0, ), 'keyTypes' => - array ( - 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 0, - )), - 2 => + array ( + 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', + 'arrayKeyType' => NULL, + 'value' => 'max(adaid)', 'isClassString' => false, )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -5991,7 +13242,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE adaid=1' => + 'SELECT max(freigabe1u1) as max from ada' => array ( 'result' => array ( @@ -6002,7 +13253,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'max\'', ), 'types' => array ( @@ -6011,21 +13262,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'max', 'isClassString' => false, )), ), @@ -6040,20 +13280,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6061,42 +13301,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'max', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6104,29 +13355,32 @@ FROM ada' => ), 'isList' => false, )), - 3 => + ), + ), + 'SELECT min(freigabe1u1) as min from ada' => + array ( + 'result' => + array ( + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'min\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'min', 'isClassString' => false, )), ), @@ -6141,20 +13395,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -6162,26 +13416,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'min', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6191,7 +13472,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email <=> \'\'' => + 'SELECT nullif(freigabe1u1, "default") as col from ada' => array ( 'result' => array ( @@ -6202,7 +13483,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6211,21 +13492,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6240,20 +13510,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6261,42 +13531,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6306,7 +13587,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\'' => + 'SELECT nullif(freigabe1u1, 5000) as col from ada' => array ( 'result' => array ( @@ -6317,7 +13598,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6326,21 +13607,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6355,20 +13625,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6376,42 +13646,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6421,7 +13702,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'1970-01-01\' AND 1=1' => + 'SELECT nullif(freigabe1u1, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -6432,7 +13713,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6441,21 +13722,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6470,20 +13740,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6491,42 +13761,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6536,7 +13817,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'email@example.org\'' => + 'SELECT nullif(freigabe1u1, gesperrt) as col from ada' => array ( 'result' => array ( @@ -6547,7 +13828,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6556,21 +13837,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6585,20 +13855,20 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), ), 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6606,42 +13876,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6651,7 +13932,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'test@example.org\'' => + 'SELECT nullif(gesperrt, freigabe1u1) as col from ada' => array ( 'result' => array ( @@ -6662,7 +13943,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6671,21 +13952,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), ), @@ -6700,12 +13970,12 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -6713,7 +13983,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -6721,42 +13991,53 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6766,7 +14047,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email = \'webmaster@example.org\'' => + 'SELECT octet_length(eladaid) as col from ak' => array ( 'result' => array ( @@ -6777,7 +14058,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'col\'', ), 'types' => array ( @@ -6786,33 +14067,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), ), @@ -6827,12 +14085,10 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntegerType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -6840,62 +14096,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'col', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -6905,7 +14156,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email=\'foo\'' => + 'SELECT round(1.12, 1) as abs from ak' => array ( 'result' => array ( @@ -6916,7 +14167,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -6925,116 +14176,74 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\UnionType::__set_state(array( + PHPStan\Type\IntersectionType::__set_state(array( 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), 'types' => array ( 0 => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( )), ), - 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\IntersectionType::__set_state(array( + 'sortedTypes' => false, + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( + )), + ), )), ), 'optionalKeys' => @@ -7044,7 +14253,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE email=\'test@example.org\'' => + 'SELECT round(freigabe1u1) as abs from ada' => array ( 'result' => array ( @@ -7055,7 +14264,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -7064,49 +14273,24 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'abs', 'isClassString' => false, )), ), 'normalized' => false, )), 'itemType' => - PHPStan\Type\UnionType::__set_state(array( - 'sortedTypes' => false, - 'cachedDescriptions' => - array ( - ), - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - ), - 'normalized' => true, + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( @@ -7114,39 +14298,22 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'email', + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, )), - 3 => + 1 => PHPStan\Type\IntegerRangeType::__set_state(array( 'min' => -32768, 'max' => 32767, @@ -7159,7 +14326,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada WHERE gesperrt = \'1\'' => + 'SELECT round(null) as abs from ada' => array ( 'result' => array ( @@ -7170,7 +14337,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|\'adaid\'|\'email\'', + 2 => '0|\'abs\'', ), 'types' => array ( @@ -7179,33 +14346,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), ), @@ -7220,12 +14364,10 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\FloatType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7233,62 +14375,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 2, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'abs', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\FloatType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7298,39 +14435,30 @@ FROM ada' => )), ), ), - 'SELECT email, adaid FROM ada where adaid = \'1\'' => + 'SELECT ucase(c_varbinary25) as field from typemix' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => PHPStan\Type\UnionType::__set_state(array( 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '\'adaid\'|\'email\'', + 2 => '0|\'field\'', ), 'types' => array ( 0 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), 1 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -7348,9 +14476,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7358,40 +14484,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7401,7 +14544,7 @@ FROM ada' => )), ), ), - 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => + 'SELECT upper(\'fooBARbar\') as field from ak' => array ( 'result' => array ( @@ -7412,7 +14555,7 @@ FROM ada' => 'sortedTypes' => true, 'cachedDescriptions' => array ( - 2 => '0|1|2|3|\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + 2 => '0|\'field\'', ), 'types' => array ( @@ -7421,67 +14564,10 @@ FROM ada' => 'value' => 0, )), 1 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 2 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', - 'isClassString' => false, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 'value' => 'gesperrt', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), ), @@ -7499,9 +14585,7 @@ FROM ada' => PHPStan\Type\StringType::__set_state(array( )), 1 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\NullType::__set_state(array( )), ), 'normalized' => true, @@ -7509,116 +14593,57 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 4, + 0 => 1, ), 'keyTypes' => array ( 0 => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'email', - 'isClassString' => false, - )), - 'value' => 'email', + 'arrayKeyType' => NULL, + 'value' => 'field', 'isClassString' => false, )), 1 => PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( 'value' => 0, )), - 2 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'adaid', - 'isClassString' => false, - )), - 'value' => 'adaid', - 'isClassString' => false, - )), - 3 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 1, - )), - 4 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 'value' => 'gesperrt', - 'isClassString' => false, - )), - 5 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 2, - )), - 6 => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 'value' => 'freigabe1u1', - 'isClassString' => false, - )), - 7 => - PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( - 'value' => 3, - )), ), 'valueTypes' => array ( 0 => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), 1 => - PHPStan\Type\StringType::__set_state(array( - )), - 2 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 3 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, - )), - 4 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 5 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 6 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, - )), - 7 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -128, - 'max' => 127, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, )), ), 'optionalKeys' => @@ -7628,18 +14653,34 @@ FROM ada' => )), ), ), - 'SELECT max(adaid) FROM ada' => + 'SELECT upper(\'foobarbar\') as field from ak' => array ( 'result' => array ( - 3 => + 5 => PHPStan\Type\Constant\ConstantArrayType::__set_state(array( 'keyType' => - PHPStan\Type\Constant\ConstantStringType::__set_state(array( - 'objectType' => NULL, - 'arrayKeyType' => NULL, - 'value' => 'max(adaid)', - 'isClassString' => false, + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'field\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'field', + 'isClassString' => false, + )), + ), + 'normalized' => false, )), 'itemType' => PHPStan\Type\UnionType::__set_state(array( @@ -7650,9 +14691,7 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\NullType::__set_state(array( @@ -7663,7 +14702,7 @@ FROM ada' => 'allArrays' => NULL, 'nextAutoIndexes' => array ( - 0 => 0, + 0 => 1, ), 'keyTypes' => array ( @@ -7671,9 +14710,13 @@ FROM ada' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, 'arrayKeyType' => NULL, - 'value' => 'max(adaid)', + 'value' => 'field', 'isClassString' => false, )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), ), 'valueTypes' => array ( @@ -7686,9 +14729,24 @@ FROM ada' => 'types' => array ( 0 => - PHPStan\Type\IntegerRangeType::__set_state(array( - 'min' => -32768, - 'max' => 32767, + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\NullType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 1 => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( )), 1 => PHPStan\Type\NullType::__set_state(array( diff --git a/tests/default/config/bootstrap.php b/tests/default/config/bootstrap.php index 913a6ae06..625f6eef3 100644 --- a/tests/default/config/bootstrap.php +++ b/tests/default/config/bootstrap.php @@ -16,6 +16,9 @@ $config->errorMode(RuntimeConfiguration::ERROR_MODE_EXCEPTION); $config->analyzeWriteQueries(true); // $config->debugMode(true); +if (\PHP_VERSION_ID >= 70400) { + $config->utilizeSqlAst(true); +} $reflector = ReflectorFactory::create(__DIR__); diff --git a/tests/default/data/sql-ast-narrowing.php b/tests/default/data/sql-ast-narrowing.php new file mode 100644 index 000000000..722402acc --- /dev/null +++ b/tests/default/data/sql-ast-narrowing.php @@ -0,0 +1,222 @@ +query('SELECT count(email) as myemail from ada'); + assertType('PDOStatement, 0: int<0, max>}>', $stmt); + + $stmt = $pdo->query('SELECT count(email) as myemail, count(email) from ada'); + assertType('PDOStatement, 0: int<0, max>, count(email): int, 1: int<0, max>}>', $stmt); + } + + public function coalesce(PDO $pdo): void + { + $stmt = $pdo->query('SELECT COALESCE(null, eladaid) as col from ak'); + assertType('PDOStatement|null, 0: int<-2147483648, 2147483647>|null}>', $stmt); + + $stmt = $pdo->query('SELECT COALESCE(null, eladaid, null, akid, null) as col from ak'); + assertType('PDOStatement, 0: int<-2147483648, 2147483647>}>', $stmt); + } + + public function ifnull(PDO $pdo): void + { + $stmt = $pdo->query('SELECT ifnull(freigabe1u1, 5000) as col from ada'); + assertType('PDOStatement, 0: 5000|int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT ifnull(freigabe1u1, 123.23) as col from ada'); + assertType('PDOStatement, 0: 123.23|int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT ifnull(freigabe1u1, "default") as col from ada'); + assertType("PDOStatement, 0: 'default'|int<-128, 127>}>", $stmt); + + $stmt = $pdo->query('SELECT ifnull(freigabe1u1, freigabe1u1) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT ifnull(freigabe1u1, gesperrt) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT ifnull(gesperrt, freigabe1u1) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + } + + public function nullif(PDO $pdo): void + { + $stmt = $pdo->query('SELECT nullif(freigabe1u1, 5000) as col from ada'); + assertType('PDOStatement, 0: 5000|int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT nullif(freigabe1u1, "default") as col from ada'); + assertType("PDOStatement, 0: 'default'|int<-128, 127>}>", $stmt); + + $stmt = $pdo->query('SELECT nullif(freigabe1u1, freigabe1u1) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT nullif(freigabe1u1, gesperrt) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT nullif(gesperrt, freigabe1u1) as col from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + } + + public function concat(PDO $pdo): void + { + $stmt = $pdo->query('SELECT concat(akid, 5000) as col from ak'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT concat(eladaid, 5000) as col from ak'); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query('SELECT concat(eladaid, akid) as col from ak'); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query('SELECT concat(eladaid, null) as col from ak'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT concat("abc", akid, 5000) as col from ak'); + assertType('PDOStatement', $stmt); + } + + public function concat_ws(PDO $pdo): void + { + $stmt = $pdo->query('SELECT concat_ws(akid, 5000) as col from ak'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT concat_ws(eladaid, 5000) as col from ak'); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query('SELECT concat_ws(eladaid, akid) as col from ak'); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query('SELECT concat_ws(eladaid, null) as col from ak'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT concat_ws("abc", akid, 5000) as col from ak'); + assertType('PDOStatement', $stmt); + } + + public function posIntReturn(PDO $pdo): void + { + $stmt = $pdo->query('SELECT length(akid) as col from ak'); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query('SELECT char_length(eladaid) as col from ak'); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query('SELECT character_length(eladaid) as col from ak'); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query('SELECT octet_length(eladaid) as col from ak'); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query("SELECT FIELD('Bb', 'Aa', 'Bb', 'Cc', 'Dd', 'Ff') as field from ak"); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + } + + public function instr(PDO $pdo): void + { + $stmt = $pdo->query("SELECT instr('foobarbar', 'bar') as field from ak"); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query("SELECT instr(eladaid, 'bar') as field from ak"); + assertType("PDOStatement|null, 0: int<0, max>|null}>", $stmt); + + $stmt = $pdo->query("SELECT instr(akid, 'bar') as field from ak"); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + + $stmt = $pdo->query("SELECT locate('foo', eladaid, 'bar') as field from ak"); + assertType("PDOStatement|null, 0: int<0, max>|null}>", $stmt); + + $stmt = $pdo->query("SELECT locate(eladaid, 'bar') as field from ak"); + assertType("PDOStatement|null, 0: int<0, max>|null}>", $stmt); + + $stmt = $pdo->query("SELECT locate(akid, 'bar') as field from ak"); + assertType("PDOStatement, 0: int<0, max>}>", $stmt); + } + + public function strcase(PDO $pdo): void + { + $stmt = $pdo->query("SELECT lcase(c_varbinary255) as field from typemix"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT ucase(c_varbinary25) as field from typemix"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower(c_varbinary255) as field from typemix"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower(c_varbinary25) as field from typemix"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower(null) as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower('foobarbar') as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower('FOO') as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT upper('foobarbar') as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT upper('fooBARbar') as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query("SELECT lower(upper('foobarbar')) as field from ak"); + assertType("PDOStatement", $stmt); + + $stmt = $pdo->query('SELECT lower(concat(akid, 5000)) as col from ak'); + assertType('PDOStatement', $stmt); + } + + public function avgMinMax(PDO $pdo): void + { + $stmt = $pdo->query('SELECT avg(freigabe1u1) as avg from ada'); + assertType('PDOStatement|null, 0: int<-128, 127>|null}>', $stmt); + + $stmt = $pdo->query('SELECT min(freigabe1u1) as min from ada'); + assertType('PDOStatement|null, 0: int<-128, 127>|null}>', $stmt); + + $stmt = $pdo->query('SELECT max(freigabe1u1) as max from ada'); + assertType('PDOStatement|null, 0: int<-128, 127>|null}>', $stmt); + } + + public function isNull(PDO $pdo): void + { + $stmt = $pdo->query('SELECT isnull(akid) as n1 from ak'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT isnull(eladaid) as n1 from ak'); + assertType('PDOStatement', $stmt); + } + + public function abs(PDO $pdo): void + { + $stmt = $pdo->query('SELECT abs(null) as abs from ada'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT abs(freigabe1u1) as abs from ada'); + assertType('PDOStatement, 0: int<0, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT abs(eladaid) as abs from ak'); + assertType('PDOStatement|null, 0: int<0, 2147483647>|null}>', $stmt); + } + + public function round(PDO $pdo): void + { + $stmt = $pdo->query('SELECT round(null) as abs from ada'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT round(freigabe1u1) as abs from ada'); + assertType('PDOStatement, 0: int<-128, 127>}>', $stmt); + + $stmt = $pdo->query('SELECT round(1.12, 1) as abs from ak'); + assertType('PDOStatement', $stmt); + } +} diff --git a/tests/defaultFetchAssoc/config/.phpunit-phpstan-dba-mysqli.cache b/tests/defaultFetchAssoc/config/.phpunit-phpstan-dba-mysqli.cache index d2012aca8..0ff7af300 100644 --- a/tests/defaultFetchAssoc/config/.phpunit-phpstan-dba-mysqli.cache +++ b/tests/defaultFetchAssoc/config/.phpunit-phpstan-dba-mysqli.cache @@ -3,6 +3,135 @@ 'schemaHash' => NULL, 'records' => array ( + 'SELECT * FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT email, adaid FROM ada' => array ( 'result' => diff --git a/tests/defaultFetchNumeric/config/.phpunit-phpstan-dba-mysqli.cache b/tests/defaultFetchNumeric/config/.phpunit-phpstan-dba-mysqli.cache index 512bcc9a4..b28648a54 100644 --- a/tests/defaultFetchNumeric/config/.phpunit-phpstan-dba-mysqli.cache +++ b/tests/defaultFetchNumeric/config/.phpunit-phpstan-dba-mysqli.cache @@ -3,6 +3,135 @@ 'schemaHash' => NULL, 'records' => array ( + 'SELECT * FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT email, adaid FROM ada' => array ( 'result' => diff --git a/tests/rules/config/.phpunit-phpstan-dba-mysqli.cache b/tests/rules/config/.phpunit-phpstan-dba-mysqli.cache index 8c261d821..5826ce2c8 100644 --- a/tests/rules/config/.phpunit-phpstan-dba-mysqli.cache +++ b/tests/rules/config/.phpunit-phpstan-dba-mysqli.cache @@ -593,6 +593,135 @@ )), ), ), + 'SELECT * FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT * FROM ada GROUP BY doesNotExist' => array ( 'error' => @@ -1828,17 +1957,6 @@ Simulated query: SELECT FROM WHERE LIMIT 0', 'code' => 1064, )), ), - 'SELECT email adaid - WHERE gesperrt = \'1\' AND email LIKE \'%@example.com\' - FROM ada - LIMIT 1' => - array ( - 'error' => - staabm\PHPStanDba\Error::__set_state(array( - 'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL/MariaDB server version for the right syntax to use near \'FROM ada LIMIT 0\' at line 3', - 'code' => 1064, - )), - ), 'SELECT email adaid WHERE gesperrt FROM ada' => array ( 'error' => diff --git a/tests/stringify/InferenceStringifyTest.php b/tests/stringify/InferenceStringifyTest.php index c4591169c..1d878a016 100644 --- a/tests/stringify/InferenceStringifyTest.php +++ b/tests/stringify/InferenceStringifyTest.php @@ -9,6 +9,10 @@ class InferenceStringifyTest extends TypeInferenceTestCase public function dataFileAsserts(): iterable { yield from $this->gatherAssertTypes(__DIR__.'/data/stringify.php'); + + if (\PHP_VERSION_ID >= 70400 && 'pdo-pgsql' !== getenv('DBA_REFLECTOR')) { + yield from $this->gatherAssertTypes(__DIR__.'/data/ast-narrowed-stringify.php'); + } } /** diff --git a/tests/stringify/config/.phpunit-phpstan-dba-mysqli.cache b/tests/stringify/config/.phpunit-phpstan-dba-mysqli.cache index fa8a11b1b..fd3a4f82c 100644 --- a/tests/stringify/config/.phpunit-phpstan-dba-mysqli.cache +++ b/tests/stringify/config/.phpunit-phpstan-dba-mysqli.cache @@ -3,6 +3,333 @@ 'schemaHash' => NULL, 'records' => array ( + 'SELECT * FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail, count(email) from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'count(email)\'|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => array ( 'result' => diff --git a/tests/stringify/config/.phpunit-phpstan-dba-pdo-mysql.cache b/tests/stringify/config/.phpunit-phpstan-dba-pdo-mysql.cache index cb772507a..fd3a4f82c 100644 --- a/tests/stringify/config/.phpunit-phpstan-dba-pdo-mysql.cache +++ b/tests/stringify/config/.phpunit-phpstan-dba-pdo-mysql.cache @@ -3,6 +3,333 @@ 'schemaHash' => NULL, 'records' => array ( + 'SELECT * FROM ada' => + array ( + 'result' => + array ( + 3 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '\'adaid\'|\'email\'|\'freigabe1u1\'|\'gesperrt\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\StringType::__set_state(array( + )), + ), + 'normalized' => true, + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 0, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + 2 => + PHPStan\Type\StringType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 1, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), + 'SELECT count(email) as myemail, count(email) from ada' => + array ( + 'result' => + array ( + 5 => + PHPStan\Type\Constant\ConstantArrayType::__set_state(array( + 'keyType' => + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => true, + 'cachedDescriptions' => + array ( + 2 => '0|1|\'count(email)\'|\'myemail\'', + ), + 'types' => + array ( + 0 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + ), + 'normalized' => false, + )), + 'itemType' => + PHPStan\Type\IntegerType::__set_state(array( + )), + 'allArrays' => NULL, + 'nextAutoIndexes' => + array ( + 0 => 2, + ), + 'keyTypes' => + array ( + 0 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'myemail', + 'isClassString' => false, + )), + 'value' => 'myemail', + 'isClassString' => false, + )), + 1 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 0, + )), + 2 => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'count(email)', + 'isClassString' => false, + )), + 'value' => 'count(email)', + 'isClassString' => false, + )), + 3 => + PHPStan\Type\Constant\ConstantIntegerType::__set_state(array( + 'value' => 1, + )), + ), + 'valueTypes' => + array ( + 0 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 2 => + PHPStan\Type\IntegerType::__set_state(array( + )), + 3 => + PHPStan\Type\IntegerType::__set_state(array( + )), + ), + 'optionalKeys' => + array ( + ), + 'isList' => false, + )), + ), + ), 'SELECT email, adaid, gesperrt, freigabe1u1 FROM ada' => array ( 'result' => @@ -40,7 +367,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), 'value' => 'adaid', 'isClassString' => false, )), @@ -53,7 +386,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), 'value' => 'email', 'isClassString' => false, )), @@ -66,7 +405,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), 'value' => 'freigabe1u1', 'isClassString' => false, )), @@ -79,7 +424,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), 'value' => 'gesperrt', 'isClassString' => false, )), @@ -90,7 +441,23 @@ 'normalized' => false, )), 'itemType' => - PHPStan\Type\StringType::__set_state(array( + PHPStan\Type\UnionType::__set_state(array( + 'sortedTypes' => false, + 'cachedDescriptions' => + array ( + ), + 'types' => + array ( + 0 => + PHPStan\Type\StringType::__set_state(array( + )), + 1 => + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, + )), + ), + 'normalized' => true, )), 'allArrays' => NULL, 'nextAutoIndexes' => @@ -105,7 +472,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'email', + 'isClassString' => false, + )), 'value' => 'email', 'isClassString' => false, )), @@ -122,7 +495,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'adaid', + 'isClassString' => false, + )), 'value' => 'adaid', 'isClassString' => false, )), @@ -139,7 +518,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'gesperrt', + 'isClassString' => false, + )), 'value' => 'gesperrt', 'isClassString' => false, )), @@ -156,7 +541,13 @@ 'arrayKeyType' => PHPStan\Type\Constant\ConstantStringType::__set_state(array( 'objectType' => NULL, - 'arrayKeyType' => NULL, + 'arrayKeyType' => + PHPStan\Type\Constant\ConstantStringType::__set_state(array( + 'objectType' => NULL, + 'arrayKeyType' => NULL, + 'value' => 'freigabe1u1', + 'isClassString' => false, + )), 'value' => 'freigabe1u1', 'isClassString' => false, )), @@ -177,82 +568,34 @@ PHPStan\Type\StringType::__set_state(array( )), 2 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 3 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -32768, + 'max' => 32767, )), 4 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 5 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 6 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => true, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), 7 => - PHPStan\Type\IntersectionType::__set_state(array( - 'sortedTypes' => false, - 'types' => - array ( - 0 => - PHPStan\Type\StringType::__set_state(array( - )), - 1 => - PHPStan\Type\Accessory\AccessoryNumericStringType::__set_state(array( - )), - ), + PHPStan\Type\IntegerRangeType::__set_state(array( + 'min' => -128, + 'max' => 127, )), ), 'optionalKeys' => diff --git a/tests/stringify/config/bootstrap.php b/tests/stringify/config/bootstrap.php index 4ed1aad54..3d6dd1d93 100644 --- a/tests/stringify/config/bootstrap.php +++ b/tests/stringify/config/bootstrap.php @@ -15,6 +15,9 @@ $config = RuntimeConfiguration::create(); $config->errorMode(RuntimeConfiguration::ERROR_MODE_EXCEPTION); $config->stringifyTypes(true); +if (\PHP_VERSION_ID >= 70400) { + $config->utilizeSqlAst(true); +} $reflector = ReflectorFactory::create(__DIR__); diff --git a/tests/stringify/data/ast-narrowed-stringify.php b/tests/stringify/data/ast-narrowed-stringify.php new file mode 100644 index 000000000..566458430 --- /dev/null +++ b/tests/stringify/data/ast-narrowed-stringify.php @@ -0,0 +1,18 @@ +query('SELECT count(email) as myemail from ada'); + assertType('PDOStatement', $stmt); + + $stmt = $pdo->query('SELECT count(email) as myemail, count(email) from ada'); + assertType('PDOStatement', $stmt); + } +}