diff --git a/.editorconfig b/.editorconfig index 57afce78ffa..8f9a532787d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,5 +16,5 @@ indent_size = 2 [*.svg] insert_final_newline = false -[test/test_data/*] +[tests/test_data/*] insert_final_newline = false diff --git a/.gitattributes b/.gitattributes index 7c3c0e49b15..f6ab619e889 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,16 +18,16 @@ psalm.xml export-ignore psalm-baseline.xml export-ignore DCO export-ignore .editorconfig export-ignore -# Exclude only the following files and not all files in test/ +# Exclude only the following files and not all files in tests/ # This is because some packaging teams need our test files but not the CI related files -test/doctum-config.php export-ignore -test/bootstrap-static.php export-ignore -test/config.e2e.inc.php export-ignore -test/phpstan-constants.php export-ignore -test/*-local-server export-ignore -test/*.conf export-ignore -test/*.ini export-ignore -test/ci-phplint export-ignore +tests/doctum-config.php export-ignore +tests/bootstrap-static.php export-ignore +tests/config.e2e.inc.php export-ignore +tests/phpstan-constants.php export-ignore +tests/*-local-server export-ignore +tests/*.conf export-ignore +tests/*.ini export-ignore +tests/ci-phplint export-ignore .browserslistrc export-ignore CODE_OF_CONDUCT.md export-ignore CONTRIBUTING.md export-ignore diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index f5e28e84bfc..33cd0f38206 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -6,7 +6,7 @@ on: paths: - 'resources/js/**' - '**.s?css' - - 'test/javascript/**' + - 'tests/javascript/**' - '.browserslistrc' - '.eslint*' - '*.cjs' diff --git a/.github/workflows/lint-and-analyse-php.yml b/.github/workflows/lint-and-analyse-php.yml index 78b2c5f4edb..6c2ce1d779e 100644 --- a/.github/workflows/lint-and-analyse-php.yml +++ b/.github/workflows/lint-and-analyse-php.yml @@ -48,7 +48,7 @@ jobs: - name: Lint PHP files # Allow the previous check to fail but not abort if: always() - run: ./test/ci-phplint + run: ./tests/ci-phplint - name: Check coding-standard # Allow the previous check to fail but not abort diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml index 39829b86ed3..78b7d6a2b80 100644 --- a/.github/workflows/lint-docs.yml +++ b/.github/workflows/lint-docs.yml @@ -21,6 +21,6 @@ jobs: - name: Lint phpdoc blocks uses: sudo-bot/action-doctum@v5 with: - config-file: test/doctum-config.php + config-file: tests/doctum-config.php method: "parse" cli-args: "--output-format=github --no-ansi --no-progress -v --ignore-parse-errors" diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml index 4b8cf9425bc..2f974524224 100644 --- a/.github/workflows/mutation-tests.yml +++ b/.github/workflows/mutation-tests.yml @@ -8,13 +8,13 @@ on: - master paths: - 'src/**.php' - - 'test/classes/**.php' + - 'tests/classes/**.php' pull_request: branches: - master paths: - 'src/**.php' - - 'test/classes/**.php' + - 'tests/classes/**.php' workflow_dispatch: schedule: - cron: '0 0 * * *' diff --git a/.github/workflows/test-selenium.yml b/.github/workflows/test-selenium.yml index 2011b8666f1..f69c9203d2f 100644 --- a/.github/workflows/test-selenium.yml +++ b/.github/workflows/test-selenium.yml @@ -113,7 +113,7 @@ jobs: run: yarn install --non-interactive --production - name: Copy the config - run: cp test/config.e2e.inc.php config.inc.php + run: cp tests/config.e2e.inc.php config.inc.php - name: Start server env: @@ -121,7 +121,7 @@ jobs: FPM_PATH: php-fpm${{ env.php-version }} SKIP_STANDALONE: 1 run: | - ./test/start-local-server + ./tests/start-local-server echo "SELENIUM_TEMPDIR=$(cat /tmp/last_temp_dir_phpMyAdminTests)" >> $GITHUB_OUTPUT id: start-local-server @@ -131,12 +131,12 @@ jobs: TESTSUITE_SELENIUM_BROWSER: chrome TESTSUITE_USER: root TESTSUITE_PASSWORD: testbench - # Port defined in test/nginx.conf + # Port defined in tests/nginx.conf TESTSUITE_URL: http://docker-host-bridge:8000 TESTSUITE_DATABASE_PREFIX: "selenium" TESTSUITE_SELENIUM_HOST: "127.0.0.1" TESTSUITE_SELENIUM_PORT: "4444" - run: ./vendor/bin/phpunit --testsuite selenium --no-logging --no-coverage --stop-on-skipped --testdox test/selenium/${{ matrix.test-name }}Test.php + run: ./vendor/bin/phpunit --testsuite selenium --no-logging --no-coverage --stop-on-skipped --testdox tests/selenium/${{ matrix.test-name }}Test.php - name: Output logs and stop server env: @@ -146,7 +146,7 @@ jobs: run: | if [ -f "${SELENIUM_TEMPDIR}/php.log" ] ; then cat "${SELENIUM_TEMPDIR}/php.log" ; fi if [ -f "${SELENIUM_TEMPDIR}/nginx-error.log" ] ; then cat "${SELENIUM_TEMPDIR}/nginx-error.log" ; fi - ./test/stop-local-server + ./tests/stop-local-server - name: Upload screenshots uses: actions/upload-artifact@v3 diff --git a/.gitignore b/.gitignore index 6b3070e4935..8da06a0aa48 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,7 @@ phpcs.xml .phpcs-cache # PHPUnit phpunit.xml -/test/bootstrap.php +/tests/bootstrap.php .phpunit.result.cache # Jenkins /build/ diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 946340daaa6..d50110c72fa 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -9,7 +9,7 @@ filter: - public/js/ - tmp/ - vendor/ - - test/doctum-config.php + - tests/doctum-config.php checks: javascript: true php: true diff --git a/bin/internal/create-release.sh b/bin/internal/create-release.sh index d7372c94036..c3a5d5086d3 100755 --- a/bin/internal/create-release.sh +++ b/bin/internal/create-release.sh @@ -488,7 +488,7 @@ rm -r .github CODE_OF_CONDUCT.md DCO rm .scrutinizer.yml .weblate codecov.yml # Remove Doctum config file -rm test/doctum-config.php +rm tests/doctum-config.php # Remove readme for github rm README.rst @@ -606,7 +606,7 @@ for kit in $KITS ; do if [ "$kit" != source ] ; then echo "* Removing source files" # Testsuite - rm -r test/ + rm -r tests/ # Template test files rm -r resources/templates/test/ rm phpunit.xml.* diff --git a/bin/update-po b/bin/update-po index 87ccac7d86f..378badb619a 100755 --- a/bin/update-po +++ b/bin/update-po @@ -18,7 +18,7 @@ php bin/console cache:warmup --twig-po --env development # Update pot (template), ensure that advisor is at the end LOCS=$(find po -name '*.po' | sed 's@.*/\(.*\)\.po@\1@') -find . -name '*.php' -not -path './test/*' -not -path './po/*' -not -path './tmp/*' -not -path './release/*' -not -path './node_modules/*' -not -path './vendor/*' > twig-templates/filesList +find . -name '*.php' -not -path './tests/*' -not -path './po/*' -not -path './tmp/*' -not -path './release/*' -not -path './node_modules/*' -not -path './vendor/*' > twig-templates/filesList php ./bin/match-twig-cache sort --dictionary-order --ignore-case --output ./twig-templates/filesListTemp < ./twig-templates/filesList diff --git a/composer.json b/composer.json index d48d5264f5c..b138b3b0b0d 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "PhpMyAdmin\\": "src" }, "exclude-from-classmap": [ - "/test/", + "/tests/", "/vendor/tecnickcom/tcpdf/tcpdf_barcodes_*.php", "/vendor/tecnickcom/tcpdf/tcpdf_import.php", "/vendor/tecnickcom/tcpdf/tcpdf_parser.php", @@ -36,8 +36,8 @@ }, "autoload-dev": { "psr-4": { - "PhpMyAdmin\\Tests\\": "test/classes", - "PhpMyAdmin\\Tests\\Selenium\\": "test/selenium/" + "PhpMyAdmin\\Tests\\": "tests/classes", + "PhpMyAdmin\\Tests\\Selenium\\": "tests/selenium/" } }, "repositories": [ diff --git a/doc/setup.rst b/doc/setup.rst index 858055972da..a2ddbe7f18f 100644 --- a/doc/setup.rst +++ b/doc/setup.rst @@ -1135,7 +1135,7 @@ are always ways to make your installation more secure: * Ensure your PHP setup follows recommendations for production sites, for example `display_errors `_ should be disabled. -* Remove the ``test`` directory from phpMyAdmin, unless you are developing and need a test suite. +* Remove the ``tests`` directory from phpMyAdmin, unless you are developing and need a test suite. * Remove the ``setup`` directory from phpMyAdmin, you will probably not use it after the initial setup. * Properly choose an authentication method - :ref:`cookie` diff --git a/jest.config.cjs b/jest.config.cjs index 5548e7d52bc..317e5f3928b 100644 --- a/jest.config.cjs +++ b/jest.config.cjs @@ -11,7 +11,7 @@ module.exports = { '/public/js/vendor/', ], displayName: 'phpMyAdmin', - testMatch: ['/test/javascript/**/*.ts'], + testMatch: ['/tests/javascript/**/*.ts'], transform: { '\\.[jt]sx?$': 'babel-jest' }, moduleNameMapper: { '^phpmyadmin/(.*)$': '/resources/js/src/$1', diff --git a/package.json b/package.json index 04680857f1b..af68f0164f0 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "postinstall": "yarn run build", "build": "webpack", "css-lint": "stylelint \"public/themes/**/scss/*.scss\" \"public/setup/scss/*.scss\"", - "js-lint": "eslint resources/js/src test/javascript jest.config.cjs", + "js-lint": "eslint resources/js/src tests/javascript jest.config.cjs", "test": "yarn node --experimental-vm-modules $(yarn bin jest)" } } diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 9bdc0714d87..faeb573619b 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -12,7 +12,7 @@ ./examples ./public ./src - ./test + ./tests ./config.sample.inc.php */app/cache/* @@ -20,7 +20,7 @@ */build/* */config.inc.php */node_modules/* - */test/doctum-config.php + */tests/doctum-config.php */tmp/* */twig-templates/* */vendor/* diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index b2d998709a7..4f925e5327d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -19458,2115 +19458,2115 @@ parameters: - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 - path: test/classes/AbstractTestCase.php + path: tests/classes/AbstractTestCase.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'formula' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'id' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'issue' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'justification' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'name' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'recommendation' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'test' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/Advisory/RulesTest.php + path: tests/classes/Advisory/RulesTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/classes/BrowseForeignersTest.php + path: tests/classes/BrowseForeignersTest.php - message: "#^Parameter \\#2 \\$string of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringEndsWith\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/BrowseForeignersTest.php + path: tests/classes/BrowseForeignersTest.php - message: "#^Parameter \\#2 \\$string of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/BrowseForeignersTest.php + path: tests/classes/BrowseForeignersTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 - path: test/classes/CacheTest.php + path: tests/classes/CacheTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Charset' and PhpMyAdmin\\\\Charsets\\\\Charset will always evaluate to true\\.$#" count: 1 - path: test/classes/Charsets/CharsetTest.php + path: tests/classes/Charsets/CharsetTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Collation' and PhpMyAdmin\\\\Charsets\\\\Collation will always evaluate to true\\.$#" count: 1 - path: test/classes/Charsets/CollationTest.php + path: tests/classes/Charsets/CollationTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Command\\\\SetVersionCommandTest has an uninitialized property \\$command\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Command/SetVersionCommandTest.php + path: tests/classes/Command/SetVersionCommandTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 - path: test/classes/Command/SetVersionCommandTest.php + path: tests/classes/Command/SetVersionCommandTest.php - message: "#^Parameter \\#1 \\$array of function sort expects TArray of array\\, mixed given\\.$#" count: 2 - path: test/classes/Command/TwigLintCommandTest.php + path: tests/classes/Command/TwigLintCommandTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Command\\\\WriteGitRevisionCommandTest has an uninitialized property \\$command\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Command/WriteGitRevisionCommandTest.php + path: tests/classes/Command/WriteGitRevisionCommandTest.php - message: "#^Cannot access offset 'port' on mixed\\.$#" count: 1 - path: test/classes/Config/ConfigFileTest.php + path: tests/classes/Config/ConfigFileTest.php - message: "#^Argument of an invalid type array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null supplied for foreach, only iterables are supported\\.$#" count: 1 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\>\\> will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\> will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with array\\\\|bool\\|int\\<0, max\\>\\|string will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" count: 3 - path: test/classes/Config/DescriptionTest.php + path: tests/classes/Config/DescriptionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with null will always evaluate to false\\.$#" count: 1 - path: test/classes/Config/FormDisplayTest.php + path: tests/classes/Config/FormDisplayTest.php - message: "#^Cannot access offset 'pma_testform' on mixed\\.$#" count: 1 - path: test/classes/Config/FormDisplayTest.php + path: tests/classes/Config/FormDisplayTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Forms\\\\\\\\BaseFormList' and PhpMyAdmin\\\\Config\\\\Forms\\\\BaseFormList will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/Forms/FormListTest.php + path: tests/classes/Config/Forms/FormListTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/Forms/FormListTest.php + path: tests/classes/Config/Forms/FormListTest.php - message: "#^Cannot access offset 'AllowArbitraryServer' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'BZipDump' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'GZipDump' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'LoginCookieStore' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'LoginCookieValidity' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'SaveDir' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'Servers' on mixed\\.$#" count: 4 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'TempDir' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'ZipDump' on mixed\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'blowfish_secret' on mixed\\.$#" count: 6 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'error' on mixed\\.$#" count: 1 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Cannot access offset 'notice' on mixed\\.$#" count: 1 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#" count: 2 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Parameter \\#1 \\$cfg of class PhpMyAdmin\\\\Config\\\\ServerConfigChecks constructor expects PhpMyAdmin\\\\Config\\\\ConfigFile, mixed given\\.$#" count: 3 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Property PhpMyAdmin\\\\Tests\\\\Config\\\\ServerConfigChecksTest\\:\\:\\$sessionID \\(string\\) does not accept mixed\\.$#" count: 1 - path: test/classes/Config/ServerConfigChecksTest.php + path: tests/classes/Config/ServerConfigChecksTest.php - message: "#^Variable property access on PhpMyAdmin\\\\Config\\\\Settings\\\\Schema\\.$#" count: 1 - path: test/classes/Config/Settings/SchemaTest.php + path: tests/classes/Config/Settings/SchemaTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Console' and PhpMyAdmin\\\\Config\\\\Settings\\\\Console will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Debug' and PhpMyAdmin\\\\Config\\\\Settings\\\\Debug will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Export' and PhpMyAdmin\\\\Config\\\\Settings\\\\Export will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Import' and PhpMyAdmin\\\\Config\\\\Settings\\\\Import will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Schema' and PhpMyAdmin\\\\Config\\\\Settings\\\\Schema will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\SqlQueryBox' and PhpMyAdmin\\\\Config\\\\Settings\\\\SqlQueryBox will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Transformations' and PhpMyAdmin\\\\Config\\\\Settings\\\\Transformations will always evaluate to true\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Property PhpMyAdmin\\\\Tests\\\\Config\\\\SettingsTest\\:\\:\\$defaultValues type has no value type specified in iterable type array\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Variable property access on PhpMyAdmin\\\\Config\\\\Settings\\.$#" count: 1 - path: test/classes/Config/SettingsTest.php + path: tests/classes/Config/SettingsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with arguments 'relation', array\\{version\\: string, user\\: string\\|null, db\\: string\\|null, bookmark\\: string\\|null, central_columns\\: string\\|null, column_info\\: string\\|null, designer_settings\\: string\\|null, export_templates\\: string\\|null, \\.\\.\\.\\} and 'The cache is…' will always evaluate to true\\.$#" count: 3 - path: test/classes/ConfigStorage/RelationTest.php + path: tests/classes/ConfigStorage/RelationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with '' and '' will always evaluate to true\\.$#" count: 2 - path: test/classes/ConfigStorage/RelationTest.php + path: tests/classes/ConfigStorage/RelationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 'db_pma' and 'db_pma' will always evaluate to true\\.$#" count: 1 - path: test/classes/ConfigStorage/RelationTest.php + path: tests/classes/ConfigStorage/RelationTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{\\}\\.$#" count: 6 - path: test/classes/ConfigStorage/RelationTest.php + path: tests/classes/ConfigStorage/RelationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'Server' and array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\} will always evaluate to false\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\> will always evaluate to true\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Only booleans are allowed in &&, int\\<0, 2\\> given on the right side\\.$#" count: 2 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Only booleans are allowed in an elseif condition, string\\|false given\\.$#" count: 3 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 3 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Parameter \\#1 \\$haystack of function mb_strstr expects string, array\\ given\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Parameter \\#1 \\$haystack of function mb_strstr expects string, mixed given\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Parameter \\#1 \\$source of method PhpMyAdmin\\\\Config\\:\\:loadAndCheck\\(\\) expects string\\|null, mixed given\\.$#" count: 1 - path: test/classes/ConfigTest.php + path: tests/classes/ConfigTest.php - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Database/PrivilegesControllerTest.php + path: tests/classes/Controllers/Database/PrivilegesControllerTest.php - message: "#^Parameter \\#1 \\$params of static method PhpMyAdmin\\\\Url\\:\\:getCommon\\(\\) expects array\\, array\\ given\\.$#" count: 1 - path: test/classes/Controllers/Database/PrivilegesControllerTest.php + path: tests/classes/Controllers/Database/PrivilegesControllerTest.php - message: "#^Cannot access offset 'favoriteTables' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php + path: tests/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php + path: tests/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php - message: "#^Cannot access offset 'COUNTED' on mixed\\.$#" count: 4 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Cannot access offset 'Data_free' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Cannot access offset 'ENGINE' on mixed\\.$#" count: 3 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Cannot access offset 'Rows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Cannot access offset 'TABLE_ROWS' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Cannot use array destructuring on mixed\\.$#" count: 8 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Database/StructureControllerTest.php + path: tests/classes/Controllers/Database/StructureControllerTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 - path: test/classes/Controllers/NavigationControllerTest.php + path: tests/classes/Controllers/NavigationControllerTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Controllers/Operations/TableControllerTest.php + path: tests/classes/Controllers/Operations/TableControllerTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Controllers/Server/BinlogControllerTest.php + path: tests/classes/Controllers/Server/BinlogControllerTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/classes/Controllers/Server/Databases/CreateControllerTest.php + path: tests/classes/Controllers/Server/Databases/CreateControllerTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/Controllers/Server/Databases/DestroyControllerTest.php + path: tests/classes/Controllers/Server/Databases/DestroyControllerTest.php - message: "#^Cannot access offset 'numRows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php - message: "#^Cannot access offset 'rows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php - message: "#^Cannot access offset 'sum' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php - message: "#^Cannot access offset 'affectedRows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php - message: "#^Cannot access offset 'explain' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php - message: "#^Cannot access offset 'profiling' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php - message: "#^Cannot access offset 'numRows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php - message: "#^Cannot access offset 'rows' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php - message: "#^Cannot access offset 'sum' on mixed\\.$#" count: 1 - path: test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php + path: tests/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php - message: "#^Cannot use array destructuring on mixed\\.$#" count: 7 - path: test/classes/Controllers/Server/VariablesControllerTest.php + path: tests/classes/Controllers/Server/VariablesControllerTest.php - message: "#^Parameter \\#1 \\$params of static method PhpMyAdmin\\\\Url\\:\\:getCommon\\(\\) expects array\\, array\\ given\\.$#" count: 1 - path: test/classes/Controllers/Table/PrivilegesControllerTest.php + path: tests/classes/Controllers/Table/PrivilegesControllerTest.php - message: "#^Call to an undefined method PhpMyAdmin\\\\DatabaseInterface\\:\\:expects\\(\\)\\.$#" count: 4 - path: test/classes/Controllers/Table/RelationControllerTest.php + path: tests/classes/Controllers/Table/RelationControllerTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 4 - path: test/classes/Controllers/Table/RelationControllerTest.php + path: tests/classes/Controllers/Table/RelationControllerTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 4 - path: test/classes/Controllers/Table/RelationControllerTest.php + path: tests/classes/Controllers/Table/RelationControllerTest.php - message: "#^PHPDoc tag @var for variable \\$result has no value type specified in iterable type array\\.$#" count: 2 - path: test/classes/Controllers/Table/ReplaceControllerTest.php + path: tests/classes/Controllers/Table/ReplaceControllerTest.php - message: "#^Call to an undefined method PhpMyAdmin\\\\DatabaseInterface\\:\\:expects\\(\\)\\.$#" count: 1 - path: test/classes/Controllers/Table/SearchControllerTest.php + path: tests/classes/Controllers/Table/SearchControllerTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Controllers/Table/SearchControllerTest.php + path: tests/classes/Controllers/Table/SearchControllerTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Controllers/Table/SearchControllerTest.php + path: tests/classes/Controllers/Table/SearchControllerTest.php - message: "#^Cannot call method with\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Controllers/Table/SearchControllerTest.php + path: tests/classes/Controllers/Table/SearchControllerTest.php - message: "#^Parameter \\#1 \\$database of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getColumns\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#1 \\$table of static method PhpMyAdmin\\\\Index\\:\\:findDuplicates\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#2 \\$schema of static method PhpMyAdmin\\\\Index\\:\\:findDuplicates\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getColumns\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#2 \\$table of static method PhpMyAdmin\\\\Index\\:\\:getFromTable\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#2 \\$table of static method PhpMyAdmin\\\\Index\\:\\:getPrimary\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#3 \\$schema of static method PhpMyAdmin\\\\Index\\:\\:getFromTable\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Parameter \\#3 \\$schema of static method PhpMyAdmin\\\\Index\\:\\:getPrimary\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Controllers/Table/StructureControllerTest.php + path: tests/classes/Controllers/Table/StructureControllerTest.php - message: "#^Call to an undefined method PhpMyAdmin\\\\Http\\\\ServerRequest&PHPUnit\\\\Framework\\\\MockObject\\\\Stub\\:\\:expects\\(\\)\\.$#" count: 1 - path: test/classes/Controllers/Triggers/IndexControllerTest.php + path: tests/classes/Controllers/Triggers/IndexControllerTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Controllers/Triggers/IndexControllerTest.php + path: tests/classes/Controllers/Triggers/IndexControllerTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Controllers/Triggers/IndexControllerTest.php + path: tests/classes/Controllers/Triggers/IndexControllerTest.php - message: "#^Cannot access offset 'arr' on mixed\\.$#" count: 5 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 'arr1' on mixed\\.$#" count: 5 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 'int' on mixed\\.$#" count: 1 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 'not_existing' on mixed\\.$#" count: 1 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 'sarr' on mixed\\.$#" count: 14 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 'str' on mixed\\.$#" count: 1 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 0 on mixed\\.$#" count: 11 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 1 on mixed\\.$#" count: 6 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Cannot access offset 2 on mixed\\.$#" count: 3 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 12 - path: test/classes/CoreTest.php + path: tests/classes/CoreTest.php - message: "#^Parameter \\#1 \\$string of function mb_strlen expects string, mixed given\\.$#" count: 1 - path: test/classes/Crypto/CryptoTest.php + path: tests/classes/Crypto/CryptoTest.php - message: "#^Call to an undefined method PhpMyAdmin\\\\DatabaseInterface\\:\\:expects\\(\\)\\.$#" count: 10 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Cannot access offset 0 on mixed\\.$#" count: 1 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 10 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 9 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Cannot call method willReturnOnConsecutiveCalls\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Cannot call method with\\(\\) on mixed\\.$#" count: 7 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/Database/CentralColumnsTest.php + path: tests/classes/Database/CentralColumnsTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Database\\\\Designer\\\\CommonTest has an uninitialized property \\$designerCommon\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Database/Designer/CommonTest.php + path: tests/classes/Database/Designer/CommonTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Database\\\\DesignerTest has an uninitialized property \\$designer\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Database/DesignerTest.php + path: tests/classes/Database/DesignerTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Dbal\\\\\\\\ResultInterface' and PhpMyAdmin\\\\Dbal\\\\ResultInterface will always evaluate to true\\.$#" count: 1 - path: test/classes/DatabaseInterfaceTest.php + path: tests/classes/DatabaseInterfaceTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\SystemDatabase' and PhpMyAdmin\\\\SystemDatabase will always evaluate to true\\.$#" count: 1 - path: test/classes/DatabaseInterfaceTest.php + path: tests/classes/DatabaseInterfaceTest.php - message: "#^Cannot access offset '27b1330f2076ef45d23…' on mixed\\.$#" count: 1 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'display_binary' on mixed\\.$#" count: 4 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'display_blob' on mixed\\.$#" count: 4 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'f2a8e80312ca180031a…' on mixed\\.$#" count: 1 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'geoOption' on mixed\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'hide_transformation' on mixed\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'max_rows' on mixed\\.$#" count: 6 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'pftext' on mixed\\.$#" count: 4 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'pos' on mixed\\.$#" count: 3 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'possible_as_geometry' on mixed\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'query' on mixed\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'relational_display' on mixed\\.$#" count: 4 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Cannot access offset 'repeat_cells' on mixed\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Display\\\\ResultsTest\\:\\:dataProviderForTestGetDataCellForNonNumericColumns\\(\\) return type has no value type specified in iterable type array\\.$#" count: 3 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Display\\\\ResultsTest\\:\\:dataProviderForTestHandleNonPrintableContents\\(\\) return type has no value type specified in iterable type array\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Parameter \\#1 \\$info of static method PhpMyAdmin\\\\StatementInfo\\:\\:fromArray\\(\\) expects array\\{distinct\\: bool, drop_database\\: bool, group\\: bool, having\\: bool, is_affected\\: bool, is_analyse\\: bool, is_count\\: bool, is_delete\\: bool, \\.\\.\\.\\}, array\\{distinct\\?\\: bool, drop_database\\?\\: bool, group\\?\\: bool, having\\?\\: bool, is_affected\\?\\: bool, is_analyse\\?\\: bool, is_count\\?\\: bool, is_delete\\?\\: bool, \\.\\.\\.\\} given\\.$#" count: 3 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Parameter \\#1 \\$string of function htmlspecialchars_decode expects string, mixed given\\.$#" count: 1 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Parameter \\#2 \\$db of class PhpMyAdmin\\\\Display\\\\Results constructor expects string, mixed given\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Parameter \\#2 \\$db of static method PhpMyAdmin\\\\ParseAnalyze\\:\\:sqlQuery\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 3 - path: test/classes/Display/ResultsTest.php + path: tests/classes/Display/ResultsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with string will always evaluate to true\\.$#" count: 1 - path: test/classes/ErrorHandlerTest.php + path: tests/classes/ErrorHandlerTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Export/OptionsTest.php + path: tests/classes/Export/OptionsTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 - path: test/classes/FlashMessagesTest.php + path: tests/classes/FlashMessagesTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 - path: test/classes/FlashMessagesTest.php + path: tests/classes/FlashMessagesTest.php - message: "#^Cannot access offset 'queries' on mixed\\.$#" count: 1 - path: test/classes/FooterTest.php + path: tests/classes/FooterTest.php - message: "#^Cannot access offset 'data_length' on mixed\\.$#" count: 2 - path: test/classes/Gis/Ds/PolygonTest.php + path: tests/classes/Gis/Ds/PolygonTest.php - message: "#^Parameter \\#1 \\$points of static method PhpMyAdmin\\\\Gis\\\\Ds\\\\Polygon\\:\\:fromXYArray\\(\\) expects non\\-empty\\-array\\, mixed given\\.$#" count: 2 - path: test/classes/Gis/Ds/PolygonTest.php + path: tests/classes/Gis/Ds/PolygonTest.php - message: "#^Cannot access offset 'data_length' on mixed\\.$#" count: 2 - path: test/classes/Gis/GisMultiPolygonTest.php + path: tests/classes/Gis/GisMultiPolygonTest.php - message: "#^Cannot access offset 0 on mixed\\.$#" count: 1 - path: test/classes/Gis/GisMultiPolygonTest.php + path: tests/classes/Gis/GisMultiPolygonTest.php - message: "#^Cannot access offset 'data_length' on mixed\\.$#" count: 1 - path: test/classes/Gis/GisPolygonTest.php + path: tests/classes/Gis/GisPolygonTest.php - message: "#^Cannot access offset 'y' on mixed\\.$#" count: 1 - path: test/classes/Gis/GisPolygonTest.php + path: tests/classes/Gis/GisPolygonTest.php - message: "#^Cannot access offset 3 on mixed\\.$#" count: 1 - path: test/classes/Gis/GisPolygonTest.php + path: tests/classes/Gis/GisPolygonTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/HeaderTest.php + path: tests/classes/HeaderTest.php - message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#" count: 2 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: false, host\\: '127\\.0\\.0\\.1'\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: false, host\\: 'custom\\.host'\\}\\.$#" count: 2 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: false, ssl_verify\\: true, host\\: 'custom\\.host'\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: true, ssl_verify\\: false, host\\: 'custom\\.host'\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: true, ssl_verify\\: true, host\\: 'custom\\.host'\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{ssl\\: true, ssl_verify\\: true, ssl_ca\\: '/etc/ssl/ca\\.crt', host\\: 'custom\\.host'\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Html/GeneratorTest.php + path: tests/classes/Html/GeneratorTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" count: 1 - path: test/classes/Import/AjaxTest.php + path: tests/classes/Import/AjaxTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Import/ImportTest.php + path: tests/classes/Import/ImportTest.php - message: "#^Cannot access an offset on mixed\\.$#" count: 3 - path: test/classes/IndexTest.php + path: tests/classes/IndexTest.php - message: "#^Parameter \\#1 \\$columns of method PhpMyAdmin\\\\Index\\:\\:addColumns\\(\\) expects array, mixed given\\.$#" count: 2 - path: test/classes/IndexTest.php + path: tests/classes/IndexTest.php - message: "#^Cannot access offset 'foreign_db' on mixed\\.$#" count: 2 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Cannot access offset 'isNeedToRecheck' on mixed\\.$#" count: 3 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Cannot access offset 'relational_display' on mixed\\.$#" count: 1 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Cannot access offset 'truncatableFieldVal…' on mixed\\.$#" count: 2 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Cannot cast bool\\|float\\|int\\|object to string\\.$#" count: 1 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\InsertEditTest\\:\\:parseString\\(\\) should return string but returns mixed\\.$#" count: 1 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/InsertEditTest.php + path: tests/classes/InsertEditTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array will always evaluate to true\\.$#" count: 2 - path: test/classes/InternalRelationsTest.php + path: tests/classes/InternalRelationsTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\Message\\:\\:getMessageForAffectedRows\\(\\)\\.$#" count: 1 - path: test/classes/MessageTest.php + path: tests/classes/MessageTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\Message\\:\\:getMessageForDeletedRows\\(\\)\\.$#" count: 1 - path: test/classes/MessageTest.php + path: tests/classes/MessageTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\Message\\:\\:getMessageForInsertedRows\\(\\)\\.$#" count: 1 - path: test/classes/MessageTest.php + path: tests/classes/MessageTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{\\}\\.$#" count: 1 - path: test/classes/Navigation/Nodes/NodeTest.php + path: tests/classes/Navigation/Nodes/NodeTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'hasPrimaryKey' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'message' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Message' and PhpMyAdmin\\\\Message will always evaluate to true\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/NormalizationTest.php + path: tests/classes/NormalizationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotFalse\\(\\) with string will always evaluate to true\\.$#" count: 1 - path: test/classes/OpenDocumentTest.php + path: tests/classes/OpenDocumentTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\StatementInfo' and PhpMyAdmin\\\\StatementInfo will always evaluate to true\\.$#" count: 2 - path: test/classes/ParseAnalyzeTest.php + path: tests/classes/ParseAnalyzeTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Partitioning\\\\TablePartitionDefinitionTest\\:\\:testGetDetails\\(\\) has parameter \\$partitions with no value type specified in iterable type array\\.$#" count: 1 - path: test/classes/Partitioning/TablePartitionDefinitionTest.php + path: tests/classes/Partitioning/TablePartitionDefinitionTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/classes/PdfTest.php + path: tests/classes/PdfTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{user\\: 'username', password\\: 'password'\\}\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationConfigTest.php + path: tests/classes/Plugins/Auth/AuthenticationConfigTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationConfigTest.php + path: tests/classes/Plugins/Auth/AuthenticationConfigTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 32 and 0 will always evaluate to false\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Cannot access offset 'default' on mixed\\.$#" count: 2 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{auth_type\\: 'cookie'\\}\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: 'a', port\\: 1, socket\\: true, ssl\\: true, user\\: 'pmaUser2'\\}\\.$#" count: 2 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 10 - path: test/classes/Plugins/Auth/AuthenticationCookieTest.php + path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: 'a', user\\: 'user2'\\}\\.$#" count: 2 - path: test/classes/Plugins/Auth/AuthenticationHttpTest.php + path: tests/classes/Plugins/Auth/AuthenticationHttpTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/Plugins/Auth/AuthenticationHttpTest.php + path: tests/classes/Plugins/Auth/AuthenticationHttpTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/Plugins/Auth/AuthenticationSignonTest.php + path: tests/classes/Plugins/Auth/AuthenticationSignonTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Auth/AuthenticationSignonTest.php + path: tests/classes/Plugins/Auth/AuthenticationSignonTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportHtmlwordTest.php + path: tests/classes/Plugins/Export/ExportHtmlwordTest.php - message: "#^Cannot access offset 'export_type' on mixed\\.$#" count: 2 - path: test/classes/Plugins/Export/ExportLatexTest.php + path: tests/classes/Plugins/Export/ExportLatexTest.php - message: "#^Cannot access offset 'single_table' on mixed\\.$#" count: 3 - path: test/classes/Plugins/Export/ExportLatexTest.php + path: tests/classes/Plugins/Export/ExportLatexTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: 80, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportLatexTest.php + path: tests/classes/Plugins/Export/ExportLatexTest.php - message: "#^Cannot access offset 'export_type' on mixed\\.$#" count: 2 - path: test/classes/Plugins/Export/ExportOdtTest.php + path: tests/classes/Plugins/Export/ExportOdtTest.php - message: "#^Cannot access offset 'single_table' on mixed\\.$#" count: 3 - path: test/classes/Plugins/Export/ExportOdtTest.php + path: tests/classes/Plugins/Export/ExportOdtTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 11 - path: test/classes/Plugins/Export/ExportOdtTest.php + path: tests/classes/Plugins/Export/ExportOdtTest.php - message: "#^Cannot access offset 'export_type' on mixed\\.$#" count: 2 - path: test/classes/Plugins/Export/ExportSqlTest.php + path: tests/classes/Plugins/Export/ExportSqlTest.php - message: "#^Cannot access offset 'single_table' on mixed\\.$#" count: 3 - path: test/classes/Plugins/Export/ExportSqlTest.php + path: tests/classes/Plugins/Export/ExportSqlTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 10 - path: test/classes/Plugins/Export/ExportSqlTest.php + path: tests/classes/Plugins/Export/ExportSqlTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: 80, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportSqlTest.php + path: tests/classes/Plugins/Export/ExportSqlTest.php - message: "#^Cannot access offset 'single_table' on mixed\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportTexytextTest.php + path: tests/classes/Plugins/Export/ExportTexytextTest.php - message: "#^Cannot access offset 'single_table' on mixed\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportXmlTest.php + path: tests/classes/Plugins/Export/ExportXmlTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: 80, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Plugins/Export/ExportXmlTest.php + path: tests/classes/Plugins/Export/ExportXmlTest.php - message: "#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\File constructor expects bool\\|string, mixed given\\.$#" count: 3 - path: test/classes/Plugins/Import/ImportCsvTest.php + path: tests/classes/Plugins/Import/ImportCsvTest.php - message: "#^Parameter \\#1 \\$path of function basename expects string, mixed given\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportCsvTest.php + path: tests/classes/Plugins/Import/ImportCsvTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 6 - path: test/classes/Plugins/Import/ImportCsvTest.php + path: tests/classes/Plugins/Import/ImportCsvTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with 'auto' will always evaluate to false\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportLdiTest.php + path: tests/classes/Plugins/Import/ImportLdiTest.php - message: "#^Cannot call method __toString\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportLdiTest.php + path: tests/classes/Plugins/Import/ImportLdiTest.php - message: "#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\File constructor expects bool\\|string, mixed given\\.$#" count: 2 - path: test/classes/Plugins/Import/ImportLdiTest.php + path: tests/classes/Plugins/Import/ImportLdiTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 6 - path: test/classes/Plugins/Import/ImportLdiTest.php + path: tests/classes/Plugins/Import/ImportLdiTest.php - message: "#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\File constructor expects bool\\|string, mixed given\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportMediawikiTest.php + path: tests/classes/Plugins/Import/ImportMediawikiTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 - path: test/classes/Plugins/Import/ImportMediawikiTest.php + path: tests/classes/Plugins/Import/ImportMediawikiTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportOdsTest has an uninitialized property \\$dbi\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportOdsTest.php + path: tests/classes/Plugins/Import/ImportOdsTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportOdsTest has an uninitialized property \\$dummyDbi\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportOdsTest.php + path: tests/classes/Plugins/Import/ImportOdsTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 13 - path: test/classes/Plugins/Import/ImportOdsTest.php + path: tests/classes/Plugins/Import/ImportOdsTest.php - message: "#^Parameter \\#1 \\$importNotice of method PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportShpTest\\:\\:assertMessages\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/Plugins/Import/ImportShpTest.php + path: tests/classes/Plugins/Import/ImportShpTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 7 - path: test/classes/Plugins/Import/ImportShpTest.php + path: tests/classes/Plugins/Import/ImportShpTest.php - message: "#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\File constructor expects bool\\|string, mixed given\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportSqlTest.php + path: tests/classes/Plugins/Import/ImportSqlTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/classes/Plugins/Import/ImportSqlTest.php + path: tests/classes/Plugins/Import/ImportSqlTest.php - message: "#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\File constructor expects bool\\|string, mixed given\\.$#" count: 1 - path: test/classes/Plugins/Import/ImportXmlTest.php + path: tests/classes/Plugins/Import/ImportXmlTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 - path: test/classes/Plugins/Import/ImportXmlTest.php + path: tests/classes/Plugins/Import/ImportXmlTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Plugins\\\\Transformations\\\\TransformationPluginsTest\\:\\:testTransformation\\(\\) has parameter \\$applyArgs with no value type specified in iterable type array\\.$#" count: 1 - path: test/classes/Plugins/Transformations/TransformationPluginsTest.php + path: tests/classes/Plugins/Transformations/TransformationPluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 - path: test/classes/PluginsTest.php + path: tests/classes/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 - path: test/classes/PluginsTest.php + path: tests/classes/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 - path: test/classes/PluginsTest.php + path: tests/classes/PluginsTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/PluginsTest.php + path: tests/classes/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Properties\\\\\\\\Options\\\\\\\\OptionsPropertyGroup' and PhpMyAdmin\\\\Properties\\\\Options\\\\OptionsPropertyGroup&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject will always evaluate to true\\.$#" count: 1 - path: test/classes/Properties/Options/OptionsPropertyGroupTest.php + path: tests/classes/Properties/Options/OptionsPropertyGroupTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Replication/ReplicationGuiTest.php + path: tests/classes/Replication/ReplicationGuiTest.php - message: "#^Parameter \\#1 \\$directory of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertDirectoryIsWritable\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Routing/RoutingTest.php + path: tests/classes/Routing/RoutingTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/Routing/RoutingTest.php + path: tests/classes/Routing/RoutingTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" count: 1 - path: test/classes/Server/PluginTest.php + path: tests/classes/Server/PluginTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" count: 2 - path: test/classes/Server/PluginsTest.php + path: tests/classes/Server/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 2 - path: test/classes/Server/PluginsTest.php + path: tests/classes/Server/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 - path: test/classes/Server/PluginsTest.php + path: tests/classes/Server/PluginsTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Server\\\\PluginsTest has an uninitialized property \\$plugins\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/Server/PluginsTest.php + path: tests/classes/Server/PluginsTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 0 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 3 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 1 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 3 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^Cannot call method getMessage\\(\\) on mixed\\.$#" count: 6 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^PHPDoc tag @var for variable \\$actual has no value type specified in iterable type array\\.$#" count: 1 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^Parameter \\#2 \\$realSqlQuery of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:addUserAndCreateDatabase\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^Parameter \\#3 \\$sqlQuery of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:addUserAndCreateDatabase\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Server/PrivilegesTest.php + path: tests/classes/Server/PrivilegesTest.php - message: "#^Cannot access offset 'host' on mixed\\.$#" count: 1 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Cannot access offset 'only_db' on mixed\\.$#" count: 1 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Cannot access offset 'port' on mixed\\.$#" count: 1 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Cannot access offset 'user' on mixed\\.$#" count: 1 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Offset '0' does not exist on array\\, array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\>\\.$#" count: 1 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 3 - path: test/classes/Server/SelectTest.php + path: tests/classes/Server/SelectTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\SysInfo\\\\\\\\Base' and PhpMyAdmin\\\\Server\\\\SysInfo\\\\Base will always evaluate to true\\.$#" count: 1 - path: test/classes/Server/SysInfo/SysInfoTest.php + path: tests/classes/Server/SysInfo/SysInfoTest.php - message: "#^Cannot access offset '123' on mixed\\.$#" count: 1 - path: test/classes/Setup/IndexTest.php + path: tests/classes/Setup/IndexTest.php - message: "#^Cannot access offset 'type' on mixed\\.$#" count: 1 - path: test/classes/Setup/IndexTest.php + path: tests/classes/Setup/IndexTest.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 - path: test/classes/SqlQueryFormTest.php + path: tests/classes/SqlQueryFormTest.php - message: "#^Parameter \\#1 \\$db of static method PhpMyAdmin\\\\Url\\:\\:getHiddenInputs\\(\\) expects array\\|string, mixed given\\.$#" count: 1 - path: test/classes/SqlQueryFormTest.php + path: tests/classes/SqlQueryFormTest.php - message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#" count: 1 - path: test/classes/SqlQueryFormTest.php + path: tests/classes/SqlQueryFormTest.php - message: "#^Parameter \\#2 \\$table of static method PhpMyAdmin\\\\Url\\:\\:getHiddenInputs\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/SqlQueryFormTest.php + path: tests/classes/SqlQueryFormTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/SqlQueryFormTest.php + path: tests/classes/SqlQueryFormTest.php - message: "#^Cannot access offset 'max_rows' on mixed\\.$#" count: 3 - path: test/classes/SqlTest.php + path: tests/classes/SqlTest.php - message: "#^Cannot access offset 'pos' on mixed\\.$#" count: 1 - path: test/classes/SqlTest.php + path: tests/classes/SqlTest.php - message: "#^Cannot access offset 'tmpval' on mixed\\.$#" count: 4 - path: test/classes/SqlTest.php + path: tests/classes/SqlTest.php - message: "#^Parameter \\#2 \\$db of static method PhpMyAdmin\\\\ParseAnalyze\\:\\:sqlQuery\\(\\) expects string, mixed given\\.$#" count: 18 - path: test/classes/SqlTest.php + path: tests/classes/SqlTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\StorageEngine\\:\\:getArray\\(\\)\\.$#" count: 1 - path: test/classes/StorageEngineTest.php + path: tests/classes/StorageEngineTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\StorageEngine\\:\\:getStorageEngines\\(\\)\\.$#" count: 1 - path: test/classes/StorageEngineTest.php + path: tests/classes/StorageEngineTest.php - message: "#^Dynamic call to static method PhpMyAdmin\\\\StorageEngine\\:\\:isValid\\(\\)\\.$#" count: 4 - path: test/classes/StorageEngineTest.php + path: tests/classes/StorageEngineTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Stubs\\\\DbiDummy\\:\\:affectedRows\\(\\) should return int\\|numeric\\-string but returns mixed\\.$#" count: 1 - path: test/classes/Stubs/DbiDummy.php + path: tests/classes/Stubs/DbiDummy.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\Stubs\\\\DbiDummy\\:\\:connect\\(\\) never returns null so it can be removed from the return type\\.$#" count: 1 - path: test/classes/Stubs/DbiDummy.php + path: tests/classes/Stubs/DbiDummy.php - message: "#^Foreach overwrites \\$value with its value variable\\.$#" count: 1 - path: test/classes/Stubs/ResponseRenderer.php + path: tests/classes/Stubs/ResponseRenderer.php - message: "#^Call to an undefined method PhpMyAdmin\\\\DatabaseInterface\\:\\:expects\\(\\)\\.$#" count: 1 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 1 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Parameter \\#4 \\$db of method PhpMyAdmin\\\\Table\\\\Indexes\\:\\:doSaveData\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Parameter \\#5 \\$table of method PhpMyAdmin\\\\Table\\\\Indexes\\:\\:doSaveData\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/Table/IndexesTest.php + path: tests/classes/Table/IndexesTest.php - message: "#^Call to an undefined method PhpMyAdmin\\\\DatabaseInterface\\:\\:expects\\(\\)\\.$#" count: 4 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Table\\\\\\\\Table' and PhpMyAdmin\\\\Table\\\\Table will always evaluate to true\\.$#" count: 1 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Cannot access offset 'Key_name' on mixed\\.$#" count: 1 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Cannot access offset 'SCHEMA_TABLES' on mixed\\.$#" count: 1 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Cannot call method method\\(\\) on mixed\\.$#" count: 4 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Cannot call method willReturn\\(\\) on mixed\\.$#" count: 2 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Cannot call method willReturnMap\\(\\) on mixed\\.$#" count: 2 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Table/TableTest.php + path: tests/classes/Table/TableTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array will always evaluate to true\\.$#" count: 1 - path: test/classes/Theme/ThemeManagerTest.php + path: tests/classes/Theme/ThemeManagerTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" count: 1 - path: test/classes/Theme/ThemeManagerTest.php + path: tests/classes/Theme/ThemeManagerTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Theme\\\\\\\\Theme' and PhpMyAdmin\\\\Theme\\\\Theme will always evaluate to true\\.$#" count: 1 - path: test/classes/Theme/ThemeTest.php + path: tests/classes/Theme/ThemeTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 4 - path: test/classes/Tracking/TrackerTest.php + path: tests/classes/Tracking/TrackerTest.php - message: "#^Cannot access offset 'statement' on mixed\\.$#" count: 2 - path: test/classes/Tracking/TrackingTest.php + path: tests/classes/Tracking/TrackingTest.php - message: "#^Cannot access offset 'username' on mixed\\.$#" count: 2 - path: test/classes/Tracking/TrackingTest.php + path: tests/classes/Tracking/TrackingTest.php - message: "#^Parameter \\#1 \\$db of static method PhpMyAdmin\\\\Url\\:\\:getHiddenInputs\\(\\) expects array\\|string, mixed given\\.$#" count: 1 - path: test/classes/Tracking/TrackingTest.php + path: tests/classes/Tracking/TrackingTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 - path: test/classes/Tracking/TrackingTest.php + path: tests/classes/Tracking/TrackingTest.php - message: "#^Cannot access offset 'sql' on mixed\\.$#" count: 1 - path: test/classes/TransformationsTest.php + path: tests/classes/TransformationsTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/TransformationsTest.php + path: tests/classes/TransformationsTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{ServerDefault\\: 1, ActionLinksMode\\: 'icons'\\}\\.$#" count: 1 - path: test/classes/TransformationsTest.php + path: tests/classes/TransformationsTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects Countable\\|iterable, mixed given\\.$#" count: 1 - path: test/classes/Triggers/TriggersTest.php + path: tests/classes/Triggers/TriggersTest.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 3 - path: test/classes/TwoFactorTest.php + path: tests/classes/TwoFactorTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\TwoFactorTest\\:\\:loadResultForConfig\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: test/classes/TwoFactorTest.php + path: tests/classes/TwoFactorTest.php - message: "#^Missing call to parent\\:\\:tearDown\\(\\) method\\.$#" count: 1 - path: test/classes/TwoFactorTest.php + path: tests/classes/TwoFactorTest.php - message: "#^Parameter \\#1 \\$secret of method PragmaRX\\\\Google2FA\\\\Google2FA\\:\\:oathTotp\\(\\) expects string, mixed given\\.$#" count: 2 - path: test/classes/TwoFactorTest.php + path: tests/classes/TwoFactorTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/TwoFactorTest.php + path: tests/classes/TwoFactorTest.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\TypesByDatabaseVersionTest has an uninitialized property \\$object\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/classes/TypesByDatabaseVersionTest.php + path: tests/classes/TypesByDatabaseVersionTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 4 - path: test/classes/UrlTest.php + path: tests/classes/UrlTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\UserPasswordTest\\:\\:providerSetChangePasswordMsg\\(\\) should return array\\ but returns array\\{array\\{false, PhpMyAdmin\\\\Message, true, '', ''\\}, array\\{true, PhpMyAdmin\\\\Message, false, '', ''\\}, array\\{true, PhpMyAdmin\\\\Message, false, 'a', ''\\}, array\\{true, PhpMyAdmin\\\\Message, false, '', 'a'\\}, array\\{true, PhpMyAdmin\\\\Message, false, 'a', 'b'\\}, array\\{true, PhpMyAdmin\\\\Message, false, literal\\-string&non\\-falsy\\-string, literal\\-string&non\\-falsy\\-string\\}, array\\{false, PhpMyAdmin\\\\Message, false, literal\\-string&non\\-falsy\\-string, literal\\-string&non\\-falsy\\-string\\}\\}\\.$#" count: 1 - path: test/classes/UserPasswordTest.php + path: tests/classes/UserPasswordTest.php - message: "#^Cannot access offset 'db' on mixed\\.$#" count: 2 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Cannot access offset 'server_2' on mixed\\.$#" count: 1 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Cannot access offset 'ts' on mixed\\.$#" count: 1 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Cannot access offset 'userprefs' on mixed\\.$#" count: 1 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects Countable\\|iterable, mixed given\\.$#" count: 1 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 2 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{Server/hide_db\\: 'testval123', Server/port\\: '213'\\}\\.$#" count: 1 - path: test/classes/UserPreferencesTest.php + path: tests/classes/UserPreferencesTest.php - message: "#^Cannot access offset 'is_superuser' on mixed\\.$#" count: 1 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Cannot access offset 'mysql_cur_user' on mixed\\.$#" count: 1 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Cannot access offset 'server_server' on mixed\\.$#" count: 4 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Casting to string something that's already string\\.$#" count: 1 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Method PhpMyAdmin\\\\Tests\\\\UtilTest\\:\\:providerForTestGetMySQLDocuURL\\(\\) should return array\\ but returns array\\{array\\{'ALTER_TABLE', 'alter\\-table\\-index', '8\\.0\\.0', 'index\\.php\\?route\\=…'\\}, array\\{'ALTER_TABLE', 'alter\\-table\\-index', '5\\.7\\.0', 'index\\.php\\?route\\=…'\\}, array\\{'', 'alter\\-table\\-index', '5\\.6\\.0', 'index\\.php\\?route\\=…'\\}, array\\{'ALTER_TABLE', '', '5\\.5\\.0', 'index\\.php\\?route\\=…'\\}, array\\{'', '', '5\\.7\\.0', 'index\\.php\\?route\\=…'\\}\\}\\.$#" count: 1 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 2 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 1 - path: test/classes/UtilTest.php + path: tests/classes/UtilTest.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 2 - path: test/classes/Utils/HttpRequestTest.php + path: tests/classes/Utils/HttpRequestTest.php - message: "#^Parameter \\#1 \\$haystack of function stripos expects string, mixed given\\.$#" count: 2 - path: test/classes/Utils/HttpRequestTest.php + path: tests/classes/Utils/HttpRequestTest.php - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Utils/HttpRequestTest.php + path: tests/classes/Utils/HttpRequestTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 - path: test/classes/Utils/HttpRequestTest.php + path: tests/classes/Utils/HttpRequestTest.php - message: "#^Cannot access offset 'server_server' on mixed\\.$#" count: 4 - path: test/classes/Utils/SessionCacheTest.php + path: tests/classes/Utils/SessionCacheTest.php - message: "#^Cannot access offset 'test_data' on mixed\\.$#" count: 1 - path: test/classes/Utils/SessionCacheTest.php + path: tests/classes/Utils/SessionCacheTest.php - message: "#^Cannot access offset 'test_data_3' on mixed\\.$#" count: 1 - path: test/classes/Utils/SessionCacheTest.php + path: tests/classes/Utils/SessionCacheTest.php - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 2 - path: test/classes/Utils/SessionCacheTest.php + path: tests/classes/Utils/SessionCacheTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$selectedServer \\(array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\) does not accept array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\.$#" count: 5 - path: test/classes/Utils/SessionCacheTest.php + path: tests/classes/Utils/SessionCacheTest.php - message: "#^Cannot access offset 'version_check' on mixed\\.$#" count: 1 - path: test/classes/VersionInformationTest.php + path: tests/classes/VersionInformationTest.php - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 3 - path: test/classes/VersionInformationTest.php + path: tests/classes/VersionInformationTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsBool\\(\\) with true will always evaluate to true\\.$#" count: 1 - path: test/classes/VersionTest.php + path: tests/classes/VersionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 0 will always evaluate to true\\.$#" count: 2 - path: test/classes/VersionTest.php + path: tests/classes/VersionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 6 will always evaluate to true\\.$#" count: 1 - path: test/classes/VersionTest.php + path: tests/classes/VersionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with 'dev' will always evaluate to true\\.$#" count: 1 - path: test/classes/VersionTest.php + path: tests/classes/VersionTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#" count: 1 - path: test/classes/VersionTest.php + path: tests/classes/VersionTest.php - message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" count: 1 - path: test/classes/WebAuthn/CBORDecoderTest.php + path: tests/classes/WebAuthn/CBORDecoderTest.php - message: "#^Cannot access offset 'Console' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'Mode' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'Servers' on mixed\\.$#" count: 3 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'UploadDir' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'auth_type' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'host' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 'verbose' on mixed\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Cannot access offset 1 on mixed\\.$#" count: 2 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Implicit array creation is not allowed \\- variable \\$cfg might not exist\\.$#" count: 1 - path: test/config.e2e.inc.php + path: tests/config.e2e.inc.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement will always evaluate to true\\.$#" count: 1 - path: test/selenium/Database/OperationsTest.php + path: tests/selenium/Database/OperationsTest.php - message: "#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#" count: 2 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Cannot access property \\$public_url on mixed\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Class PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase has an uninitialized property \\$sessionId\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 5 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 2 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in an elseif condition, string\\|false given\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 2 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 2 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Parameter \\#1 \\$by of method Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver\\:\\:findElement\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Parameter \\#1 \\$by of static method Facebook\\\\WebDriver\\\\WebDriverExpectedCondition\\:\\:presenceOfElementLocated\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#" count: 2 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Parameter \\#1 \\$by of static method Facebook\\\\WebDriver\\\\WebDriverExpectedCondition\\:\\:visibilityOfElementLocated\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Parameter \\#1 \\$handle of method Facebook\\\\WebDriver\\\\Remote\\\\RemoteTargetLocator\\:\\:window\\(\\) expects string, mixed given\\.$#" count: 3 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Property PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase\\:\\:\\$sqlWindowHandle \\(string\\|null\\) does not accept mixed\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Strict comparison using \\!\\=\\= between Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver and null will always evaluate to true\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Strict comparison using \\=\\=\\= between Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver and null will always evaluate to false\\.$#" count: 1 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Variable static method call on Facebook\\\\WebDriver\\\\WebDriverBy\\.$#" count: 4 - path: test/selenium/TestBase.php + path: tests/selenium/TestBase.php - message: "#^Cannot access offset 'Servers' on mixed\\.$#" count: 5 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 'auth_type' on mixed\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 'host' on mixed\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 'port' on mixed\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 'socket' on mixed\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 'verbose' on mixed\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Cannot access offset 1 on mixed\\.$#" count: 5 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php - message: "#^Implicit array creation is not allowed \\- variable \\$cfg might not exist\\.$#" count: 1 - path: test/test_data/config.inc.php + path: tests/test_data/config.inc.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index c9846217621..e8a7574f596 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -6,17 +6,17 @@ parameters: - app - public - src - - test + - tests scanFiles: - app/constants.php - examples/signon-script.php bootstrapFiles: - - test/phpstan-constants.php + - tests/phpstan-constants.php stubFiles: - - test/stubs/uploadprogress.stub + - tests/stubs/uploadprogress.stub excludePaths: - app/cache/* - - test/doctum-config.php + - tests/doctum-config.php dynamicConstantNames: - ROOT_PATH - TEST_PATH @@ -30,8 +30,8 @@ parameters: - message: '#Dynamic call to static method PHPUnit\\Framework\\Assert::[a-zA-Z]+\(\)\.#' paths: - - test/classes/* - - test/selenium/* + - tests/classes/* + - tests/selenium/* - message: '#Dynamic call to static method PHPUnit\\Framework\\TestCase::[a-zA-Z]+\(\)\.#' - path: test/classes/* + path: tests/classes/* diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 540f2885e1c..c63326774a1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,7 +2,7 @@ app/cache examples node_modules - test + tests tmp vendor @@ -41,10 +41,10 @@ - test/classes + tests/classes - test/selenium + tests/selenium diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 0c76c2b2e9e..e7dc9c947e4 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -12808,7 +12808,7 @@ $tempName - + Config::getInstance() DatabaseInterface::getInstance() @@ -12821,7 +12821,7 @@ - + DatabaseInterface::getInstance() @@ -12830,12 +12830,12 @@ rulesProvider - + providerForTestRules - + Config::getInstance() Config::getInstance() @@ -12845,7 +12845,7 @@ DatabaseInterface::getInstance() - + $result @@ -12853,17 +12853,17 @@ $result - + dataProviderCacheKeyValues - + providerTestBuildDescription - + Config::getInstance() DatabaseInterface::getInstance() @@ -12880,13 +12880,13 @@ assertTrue - + dataProviderBadVersions dataProviderGoodVersions - + Config::getInstance() @@ -12903,7 +12903,7 @@ $filesInfos - + @@ -12926,7 +12926,7 @@ - + $second $val2 @@ -12941,7 +12941,7 @@ getValues - + Config::getInstance() @@ -12961,7 +12961,7 @@ $forms - + Config::getInstance() @@ -12979,7 +12979,7 @@ formObjects - + Config::getInstance() DatabaseInterface::getInstance() @@ -12987,7 +12987,7 @@ DatabaseInterface::getInstance() - + Config::getInstance() @@ -13017,7 +13017,7 @@ sessionID]]> - + booleanWithDefaultFalseProvider booleanWithDefaultTrueProvider @@ -13027,12 +13027,12 @@ valuesForOrderProvider - + booleanWithDefaultFalseProvider - + booleanWithDefaultFalseProvider booleanWithDefaultTrueProvider @@ -13072,7 +13072,7 @@ valuesForTexytextNullProvider - + booleanWithDefaultFalseProvider booleanWithDefaultTrueProvider @@ -13093,12 +13093,12 @@ valuesForSqlCompatibilityProvider - + providerForTestConstructor - + booleanWithDefaultFalseProvider booleanWithDefaultTrueProvider @@ -13135,12 +13135,12 @@ valuesForVerboseProvider - + booleanWithDefaultTrueProvider - + valuesForBool2TextProvider valuesForDateFormatProvider @@ -13153,7 +13153,7 @@ valuesForTextLinkProvider - + booleanWithDefaultFalseProvider booleanWithDefaultTrueProvider @@ -13180,12 +13180,12 @@ valuesForTranslationWarningThresholdProvider - + providerForTestToArray - + Config::getInstance() Config::getInstance() @@ -13339,7 +13339,7 @@ assertSame - + Config::getInstance() @@ -13369,51 +13369,51 @@ assertIsArray - + DatabaseInterface::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() Config::getInstance() - + DatabaseInterface::getInstance() - + Config::getInstance() Config::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() Config::getInstance() - + $json @@ -13424,12 +13424,12 @@ $json - + Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -13487,42 +13487,42 @@ [$currentTable] - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + providerForTestValidateGisData - + Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -13536,22 +13536,22 @@ $responseMessage - + Config::getInstance() - + Config::getInstance() - + providerForTestDefault - + Config::getInstance() @@ -13559,7 +13559,7 @@ settings]]> - + Config::getInstance() DatabaseInterface::getInstance() @@ -13568,13 +13568,13 @@ settings]]> - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() @@ -13584,7 +13584,7 @@ - + Config::getInstance() @@ -13593,43 +13593,43 @@ - + Config::getInstance() Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -13640,13 +13640,13 @@ - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() @@ -13656,7 +13656,7 @@ - + Config::getInstance() DatabaseInterface::getInstance() @@ -13667,13 +13667,13 @@ - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() Config::getInstance() @@ -13681,13 +13681,13 @@ DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -13705,7 +13705,7 @@ data->status['Uptime']]]> - + Config::getInstance() Config::getInstance() @@ -13714,13 +13714,13 @@ DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -13754,122 +13754,122 @@ [$formattedValue, $isHtmlFormatted] - + Config::getInstance() - + Config::getInstance() Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + DatabaseInterface::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() - + Config::getInstance() - + providerForTestNoTableSelected - + providerForTestNoTableSelected - + providerForTestNoTableSelected - + providerForTestNoTableSelected - + providerForTestNoTableSelected - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + providerForTestInvalidDatabaseAndTable - + Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -13894,12 +13894,12 @@ expects - + Config::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -13913,17 +13913,17 @@ expects - + Config::getInstance() - + Config::getInstance() - + DatabaseInterface::getInstance() DatabaseInterface::getInstance() @@ -13931,7 +13931,7 @@ DatabaseInterface::getInstance() - + DatabaseInterface::getInstance() DatabaseInterface::getInstance() @@ -13939,23 +13939,23 @@ DatabaseInterface::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -13964,7 +13964,7 @@ providerForTestWithoutTheme - + Config::getInstance() Config::getInstance() @@ -13983,7 +13983,7 @@ expects - + Config::getInstance() Config::getInstance() @@ -14041,7 +14041,7 @@ providerTestLinkURL - + DatabaseInterface::getInstance() @@ -14051,7 +14051,7 @@ providerGetTableCreationQuery - + Config::getInstance() Config::getInstance() @@ -14065,7 +14065,7 @@ - + Config::getInstance() DatabaseInterface::getInstance() @@ -14143,7 +14143,7 @@ expects - + Config::getInstance() Config::getInstance() @@ -14158,7 +14158,7 @@ DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -14170,7 +14170,7 @@ $result - + Config::getInstance() DatabaseInterface::getInstance() @@ -14180,7 +14180,7 @@ providerGetQueryFromRequest - + Config::getInstance() Config::getInstance() @@ -14197,7 +14197,7 @@ providerGetQueryFromRequest - + DatabaseInterface::getInstance() @@ -14205,7 +14205,7 @@ searchTypes - + Config::getInstance() Config::getInstance() @@ -14227,7 +14227,7 @@ versionData - + Config::getInstance() escapeString @@ -14238,12 +14238,12 @@ schemaData - + providerForTestWarning - + Query::getAll($query) Query::getAll($query) @@ -14327,18 +14327,18 @@ settings]]> - + Config::getInstance() Config::getInstance() - + providerFortTestResolveTypeSize - + Config::getInstance() Config::getInstance() @@ -14356,7 +14356,7 @@ assertIsString - + Config::getInstance() Config::getInstance() @@ -14373,19 +14373,19 @@ urlsToSanitize - + filePathProvider - + Config::getInstance() Config::getInstance() DatabaseInterface::getInstance() - + Config::getInstance() DatabaseInterface::getInstance() @@ -14397,19 +14397,19 @@ settings]]> - + Config::getInstance() Config::getInstance() Config::getInstance() - + compressedFiles - + $_SESSION @@ -14422,7 +14422,7 @@ - + Config::getInstance() Config::getInstance() @@ -14437,7 +14437,7 @@ $privates - + @@ -14453,13 +14453,13 @@ providerForTestIsPointInsidePolygon - + providerForTestFromType providerForTestFromWkt - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14469,7 +14469,7 @@ providerForTestGetExtent - + getMockForAbstractClass @@ -14483,7 +14483,7 @@ providerForTestParseWktAndSrid - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14493,7 +14493,7 @@ providerForTestGetExtent - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14503,7 +14503,7 @@ providerForTestGetExtent - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14513,7 +14513,7 @@ providerForTestGetExtent - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14524,7 +14524,7 @@ providerForTestGetShape - + providerForPrepareRowAsOl providerForPrepareRowAsPdf @@ -14535,7 +14535,7 @@ providerForTestGetShape - + @@ -14549,7 +14549,7 @@ providerForTestGetExtent - + $dataSet $dataSet @@ -14563,7 +14563,7 @@ $queryString - + Config::getInstance() Config::getInstance() @@ -14580,7 +14580,7 @@ settings]]> - + Config::getInstance() Config::getInstance() @@ -14621,60 +14621,60 @@ settings]]> - + Config::getInstance() - + providerForTestCreate providerForTestCreateResponse - + providerForTestCreate providerForTestCreateServerRequest providerForTestFromGlobals - + providerForTestCreateUri uriFactoryProviders - + responseFactoryProviders - + isAjaxProvider providerForTestGetRoute - + providerForTestInvalidNames providerForTestValidNames - + providerForTestInvalidNames providerForTestValidNames - + providerForTestInvalidNames providerForTestValidNames - + Config::getInstance() @@ -14703,12 +14703,12 @@ assertNull - + providerForTestGetMatchedRows - + params['columns']]]> params['columns']]]> @@ -14719,7 +14719,7 @@ params['columns'][]]]> - + Config::getInstance() Config::getInstance() @@ -14800,7 +14800,7 @@ settings]]> - + $field $field @@ -14810,7 +14810,7 @@ assertIsArray - + Config::getInstance() Config::getInstance() @@ -14822,7 +14822,7 @@ proxyIPs - + Config::getInstance() Config::getInstance() @@ -14836,23 +14836,23 @@ selectDataProvider - + lintProvider - + Config::getInstance() Config::getInstance() - + Config::getInstance() - + decodeBBDataProvider providerAffectedRows @@ -14860,35 +14860,35 @@ providerInsertedRows - + providerForTestDetect - + Config::getInstance() - + Config::getInstance() Config::getInstance() - + Config::getInstance() getMockForAbstractClass - + Config::getInstance() Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -14897,7 +14897,7 @@ providerForTestIcon - + Config::getInstance() Config::getInstance() @@ -14917,7 +14917,7 @@ [] - + Config::getInstance() Config::getInstance() @@ -14935,35 +14935,35 @@ $result - + assertNotFalse - + providerGetPartitionMaintenanceChoices - + providerForTestHavePartitioning - + providerGetDetails providerGetDetailsWithMaxPartitions - + getPDFData()]]> getPDFData()]]> getPDFData()]]> - + Config::getInstance() Config::getInstance() @@ -14973,7 +14973,7 @@ 'username', 'password' => 'password']]]> - + Config::getInstance() Config::getInstance() @@ -15053,7 +15053,7 @@ settings]]> - + Config::getInstance() Config::getInstance() @@ -15073,7 +15073,7 @@ readCredentialsProvider - + Config::getInstance() Config::getInstance() @@ -15102,7 +15102,7 @@ settings]]> - + Config::getInstance() Config::getInstance() @@ -15112,13 +15112,13 @@ providerForTestValidPlugins - + $result $result - + assertFalse @@ -15126,7 +15126,7 @@ assertFalse - + Config::getInstance() @@ -15137,7 +15137,7 @@ $result - + Config::getInstance() Config::getInstance() @@ -15157,7 +15157,7 @@ - + Config::getInstance() @@ -15177,7 +15177,7 @@ - + Config::getInstance() Config::getInstance() @@ -15217,12 +15217,12 @@ - + Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -15233,7 +15233,7 @@ selectedServer]]> - + getDotNetObjectTypeProvider getDotNetPrimitiveTypeProvider @@ -15241,12 +15241,12 @@ isUniqueProvider - + Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -15255,7 +15255,7 @@ assertTrue - + Config::getInstance() @@ -15270,7 +15270,7 @@ - + Config::getInstance() @@ -15294,7 +15294,7 @@ dataProviderOdsEmptyRows - + Config::getInstance() @@ -15310,12 +15310,12 @@ assertFalse - + Config::getInstance() - + Config::getInstance() @@ -15330,27 +15330,27 @@ - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() - + Config::getInstance() Config::getInstance() @@ -15360,7 +15360,7 @@ transformationDataProvider - + Config::getInstance() DatabaseInterface::getInstance() @@ -15399,38 +15399,38 @@ assertIsArray - + getMockForAbstractClass - + getMockForAbstractClass - + getMockForAbstractClass - + getMockForAbstractClass - + getMockForAbstractClass - + providerForTestHasAccountLocking providerForTestIsUUIDSupported - + Config::getInstance() DatabaseInterface::getInstance() @@ -15448,7 +15448,7 @@ settings]]> - + Config::getInstance() @@ -15459,14 +15459,14 @@ providerForTestCleanupPathInfo - + dataProviderCheckLinks docLinks variables - + Config::getInstance() Config::getInstance() @@ -15480,7 +15480,7 @@ assertIsArray - + Config::getInstance() Config::getInstance() @@ -15515,7 +15515,7 @@ $routinename - + Config::getInstance() Config::getInstance() @@ -15545,23 +15545,23 @@ renderDataProvider - + sysInfoOsProvider - + $result $result - + Config::getInstance() - + Config::getInstance() @@ -15570,7 +15570,7 @@ - + Config::getInstance() @@ -15587,7 +15587,7 @@ settings]]> - + Config::getInstance() Config::getInstance() @@ -15601,7 +15601,7 @@ dataProviderCountQueryResults - + getMockForAbstractClass @@ -15609,12 +15609,12 @@ providerGetEngine - + Config::getInstance() - + result, 1, 0)]]> @@ -15625,7 +15625,7 @@ bool - + Config::getInstance() @@ -15633,12 +15633,12 @@ $value - + Config::getInstance() - + Config::getInstance() @@ -15646,7 +15646,7 @@ providerColumnMetaDefault - + Config::getInstance() DatabaseInterface::getInstance() @@ -15662,17 +15662,17 @@ expects - + providerForTestFromArray - + DatabaseInterface::getInstance() - + Config::getInstance() Config::getInstance() @@ -15726,7 +15726,7 @@ expects - + Config::getInstance() @@ -15737,7 +15737,7 @@ providerTestSet - + Config::getInstance() @@ -15745,12 +15745,12 @@ assertIsArray - + providerForGetImgPath - + Config::getInstance() Config::getInstance() @@ -15769,7 +15769,7 @@ parseQueryData - + Config::getInstance() DatabaseInterface::getInstance() @@ -15793,7 +15793,7 @@ getTrackedDataProvider - + Config::getInstance() @@ -15808,13 +15808,13 @@ providerGetName - + arrayWithInvalidValuesProvider arrayWithValidValuesProvider - + Config::getInstance() Config::getInstance() @@ -15827,7 +15827,7 @@ providerGetQueryFromRequest - + Config::getInstance() Config::getInstance() @@ -15845,7 +15845,7 @@ config['settings']['secret']]]> - + providerFortTestGetAllFunctions providerFortTestGetColumns @@ -15853,7 +15853,7 @@ providerFortTestGetFunctionsClass - + DatabaseInterface::getInstance() @@ -15865,7 +15865,7 @@ providerFortTestGetTypeClass - + Config::getInstance() @@ -15873,7 +15873,7 @@ providerGetUniqueConditionForGroupFlag - + Config::getInstance() Config::getInstance() @@ -15894,7 +15894,7 @@ getArgSeparatorProvider - + providerSetChangePasswordMsg - + Config::getInstance() Config::getInstance() @@ -15950,7 +15950,7 @@ - + $tz @@ -16046,7 +16046,7 @@ providerUserDir - + Config::getInstance() @@ -16056,7 +16056,7 @@ providerIsSupported - + providerBinaryToIp providerIpToBinary @@ -16064,12 +16064,12 @@ providerLongToIp - + providerConvertToWellKnownText - + @@ -16096,7 +16096,7 @@ - + Config::getInstance() Config::getInstance() @@ -16131,7 +16131,7 @@ - + Config::getInstance() Config::getInstance() @@ -16152,19 +16152,19 @@ dataVersions - + dataProviderForTestDecode indefiniteLengthValuesProvider - + provideTestFindFile provideTestGetContents - + string @@ -16172,12 +16172,12 @@ $sqlMode - + exportDataProvider - + ChromeOptions::CAPABILITY_W3C diff --git a/psalm.xml b/psalm.xml index cca3db0b0b5..36fa7c3288c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,6 @@ - - + + @@ -30,7 +30,7 @@ - + diff --git a/src/Command/CacheWarmupCommand.php b/src/Command/CacheWarmupCommand.php index 9a133e76308..54f1317f106 100644 --- a/src/Command/CacheWarmupCommand.php +++ b/src/Command/CacheWarmupCommand.php @@ -145,7 +145,7 @@ private function warmUpTwigCache( /** @var SplFileInfo $file */ foreach ($templates as $file) { // Skip test files - if (str_contains($file->getPathname(), '/test/')) { + if (str_contains($file->getPathname(), '/tests/')) { continue; } diff --git a/test/README.rst b/tests/README.rst similarity index 100% rename from test/README.rst rename to tests/README.rst diff --git a/test/bootstrap-dist.php b/tests/bootstrap-dist.php similarity index 100% rename from test/bootstrap-dist.php rename to tests/bootstrap-dist.php diff --git a/test/bootstrap-static.php b/tests/bootstrap-static.php similarity index 100% rename from test/bootstrap-static.php rename to tests/bootstrap-static.php diff --git a/test/ci-phplint b/tests/ci-phplint similarity index 100% rename from test/ci-phplint rename to tests/ci-phplint diff --git a/test/classes/AbstractTestCase.php b/tests/classes/AbstractTestCase.php similarity index 100% rename from test/classes/AbstractTestCase.php rename to tests/classes/AbstractTestCase.php diff --git a/test/classes/Advisory/AdvisorTest.php b/tests/classes/Advisory/AdvisorTest.php similarity index 100% rename from test/classes/Advisory/AdvisorTest.php rename to tests/classes/Advisory/AdvisorTest.php diff --git a/test/classes/Advisory/RulesTest.php b/tests/classes/Advisory/RulesTest.php similarity index 100% rename from test/classes/Advisory/RulesTest.php rename to tests/classes/Advisory/RulesTest.php diff --git a/test/classes/ApplicationTest.php b/tests/classes/ApplicationTest.php similarity index 100% rename from test/classes/ApplicationTest.php rename to tests/classes/ApplicationTest.php diff --git a/test/classes/BookmarkTest.php b/tests/classes/BookmarkTest.php similarity index 100% rename from test/classes/BookmarkTest.php rename to tests/classes/BookmarkTest.php diff --git a/test/classes/BrowseForeignersTest.php b/tests/classes/BrowseForeignersTest.php similarity index 100% rename from test/classes/BrowseForeignersTest.php rename to tests/classes/BrowseForeignersTest.php diff --git a/test/classes/CacheTest.php b/tests/classes/CacheTest.php similarity index 100% rename from test/classes/CacheTest.php rename to tests/classes/CacheTest.php diff --git a/test/classes/Charsets/CharsetTest.php b/tests/classes/Charsets/CharsetTest.php similarity index 100% rename from test/classes/Charsets/CharsetTest.php rename to tests/classes/Charsets/CharsetTest.php diff --git a/test/classes/Charsets/CollationTest.php b/tests/classes/Charsets/CollationTest.php similarity index 100% rename from test/classes/Charsets/CollationTest.php rename to tests/classes/Charsets/CollationTest.php diff --git a/test/classes/CharsetsTest.php b/tests/classes/CharsetsTest.php similarity index 100% rename from test/classes/CharsetsTest.php rename to tests/classes/CharsetsTest.php diff --git a/test/classes/CheckUserPrivilegesTest.php b/tests/classes/CheckUserPrivilegesTest.php similarity index 100% rename from test/classes/CheckUserPrivilegesTest.php rename to tests/classes/CheckUserPrivilegesTest.php diff --git a/test/classes/Command/SetVersionCommandTest.php b/tests/classes/Command/SetVersionCommandTest.php similarity index 100% rename from test/classes/Command/SetVersionCommandTest.php rename to tests/classes/Command/SetVersionCommandTest.php diff --git a/test/classes/Command/TwigLintCommandTest.php b/tests/classes/Command/TwigLintCommandTest.php similarity index 94% rename from test/classes/Command/TwigLintCommandTest.php rename to tests/classes/Command/TwigLintCommandTest.php index d95b7289543..7b7e89117da 100644 --- a/test/classes/Command/TwigLintCommandTest.php +++ b/tests/classes/Command/TwigLintCommandTest.php @@ -41,7 +41,7 @@ public function setUp(): void public function testGetTemplateContents(): void { $contents = $this->callFunction($this->command, TwigLintCommand::class, 'getTemplateContents', [ - TEST_PATH . 'test/classes/_data/file_listing/subfolder/one.ini', + TEST_PATH . 'tests/classes/_data/file_listing/subfolder/one.ini', ]); $this->assertSame('key=value' . "\n", $contents); @@ -49,7 +49,7 @@ public function testGetTemplateContents(): void public function testFindFiles(): void { - $path = TEST_PATH . 'test/classes/_data/file_listing'; + $path = TEST_PATH . 'tests/classes/_data/file_listing'; $filesFound = $this->callFunction($this->command, TwigLintCommand::class, 'findFiles', [$path]); // Sort results to avoid file system test specific failures @@ -65,7 +65,7 @@ public function testFindFiles(): void public function testGetFilesInfo(): void { - $path = TEST_PATH . 'test/classes/_data/file_listing'; + $path = TEST_PATH . 'tests/classes/_data/file_listing'; $filesInfos = $this->callFunction($this->command, TwigLintCommand::class, 'getFilesInfo', [$path]); // Sort results to avoid file system test specific failures @@ -105,7 +105,7 @@ public function testGetFilesInfoInvalidFile(): void ]); $filesFound = $this->callFunction($command, TwigLintCommand::class, 'getFilesInfo', [ - TEST_PATH . 'test/classes/_data/file_listing', + TEST_PATH . 'tests/classes/_data/file_listing', ]); $this->assertEquals([ diff --git a/test/classes/Command/WriteGitRevisionCommandTest.php b/tests/classes/Command/WriteGitRevisionCommandTest.php similarity index 100% rename from test/classes/Command/WriteGitRevisionCommandTest.php rename to tests/classes/Command/WriteGitRevisionCommandTest.php diff --git a/test/classes/Config/ConfigFileTest.php b/tests/classes/Config/ConfigFileTest.php similarity index 100% rename from test/classes/Config/ConfigFileTest.php rename to tests/classes/Config/ConfigFileTest.php diff --git a/test/classes/Config/DescriptionTest.php b/tests/classes/Config/DescriptionTest.php similarity index 100% rename from test/classes/Config/DescriptionTest.php rename to tests/classes/Config/DescriptionTest.php diff --git a/test/classes/Config/FormDisplayTemplateTest.php b/tests/classes/Config/FormDisplayTemplateTest.php similarity index 100% rename from test/classes/Config/FormDisplayTemplateTest.php rename to tests/classes/Config/FormDisplayTemplateTest.php diff --git a/test/classes/Config/FormDisplayTest.php b/tests/classes/Config/FormDisplayTest.php similarity index 100% rename from test/classes/Config/FormDisplayTest.php rename to tests/classes/Config/FormDisplayTest.php diff --git a/test/classes/Config/FormTest.php b/tests/classes/Config/FormTest.php similarity index 100% rename from test/classes/Config/FormTest.php rename to tests/classes/Config/FormTest.php diff --git a/test/classes/Config/Forms/FormListTest.php b/tests/classes/Config/Forms/FormListTest.php similarity index 100% rename from test/classes/Config/Forms/FormListTest.php rename to tests/classes/Config/Forms/FormListTest.php diff --git a/test/classes/Config/PageSettingsTest.php b/tests/classes/Config/PageSettingsTest.php similarity index 100% rename from test/classes/Config/PageSettingsTest.php rename to tests/classes/Config/PageSettingsTest.php diff --git a/test/classes/Config/ServerConfigChecksTest.php b/tests/classes/Config/ServerConfigChecksTest.php similarity index 100% rename from test/classes/Config/ServerConfigChecksTest.php rename to tests/classes/Config/ServerConfigChecksTest.php diff --git a/test/classes/Config/Settings/ConsoleTest.php b/tests/classes/Config/Settings/ConsoleTest.php similarity index 100% rename from test/classes/Config/Settings/ConsoleTest.php rename to tests/classes/Config/Settings/ConsoleTest.php diff --git a/test/classes/Config/Settings/DebugTest.php b/tests/classes/Config/Settings/DebugTest.php similarity index 100% rename from test/classes/Config/Settings/DebugTest.php rename to tests/classes/Config/Settings/DebugTest.php diff --git a/test/classes/Config/Settings/ExportTest.php b/tests/classes/Config/Settings/ExportTest.php similarity index 100% rename from test/classes/Config/Settings/ExportTest.php rename to tests/classes/Config/Settings/ExportTest.php diff --git a/test/classes/Config/Settings/ImportTest.php b/tests/classes/Config/Settings/ImportTest.php similarity index 100% rename from test/classes/Config/Settings/ImportTest.php rename to tests/classes/Config/Settings/ImportTest.php diff --git a/test/classes/Config/Settings/SchemaTest.php b/tests/classes/Config/Settings/SchemaTest.php similarity index 100% rename from test/classes/Config/Settings/SchemaTest.php rename to tests/classes/Config/Settings/SchemaTest.php diff --git a/test/classes/Config/Settings/ServerTest.php b/tests/classes/Config/Settings/ServerTest.php similarity index 100% rename from test/classes/Config/Settings/ServerTest.php rename to tests/classes/Config/Settings/ServerTest.php diff --git a/test/classes/Config/Settings/SqlQueryBoxTest.php b/tests/classes/Config/Settings/SqlQueryBoxTest.php similarity index 100% rename from test/classes/Config/Settings/SqlQueryBoxTest.php rename to tests/classes/Config/Settings/SqlQueryBoxTest.php diff --git a/test/classes/Config/Settings/TransformationsTest.php b/tests/classes/Config/Settings/TransformationsTest.php similarity index 100% rename from test/classes/Config/Settings/TransformationsTest.php rename to tests/classes/Config/Settings/TransformationsTest.php diff --git a/test/classes/Config/SettingsTest.php b/tests/classes/Config/SettingsTest.php similarity index 100% rename from test/classes/Config/SettingsTest.php rename to tests/classes/Config/SettingsTest.php diff --git a/test/classes/ConfigStorage/RelationCleanupTest.php b/tests/classes/ConfigStorage/RelationCleanupTest.php similarity index 100% rename from test/classes/ConfigStorage/RelationCleanupTest.php rename to tests/classes/ConfigStorage/RelationCleanupTest.php diff --git a/test/classes/ConfigStorage/RelationParametersTest.php b/tests/classes/ConfigStorage/RelationParametersTest.php similarity index 100% rename from test/classes/ConfigStorage/RelationParametersTest.php rename to tests/classes/ConfigStorage/RelationParametersTest.php diff --git a/test/classes/ConfigStorage/RelationTest.php b/tests/classes/ConfigStorage/RelationTest.php similarity index 100% rename from test/classes/ConfigStorage/RelationTest.php rename to tests/classes/ConfigStorage/RelationTest.php diff --git a/test/classes/ConfigStorage/UserGroupsTest.php b/tests/classes/ConfigStorage/UserGroupsTest.php similarity index 100% rename from test/classes/ConfigStorage/UserGroupsTest.php rename to tests/classes/ConfigStorage/UserGroupsTest.php diff --git a/test/classes/ConfigTest.php b/tests/classes/ConfigTest.php similarity index 99% rename from test/classes/ConfigTest.php rename to tests/classes/ConfigTest.php index 4931d8f7d19..5c050f6983b 100644 --- a/test/classes/ConfigTest.php +++ b/tests/classes/ConfigTest.php @@ -367,7 +367,7 @@ public function testCheckConfigSource(): void $this->assertFalse($this->object->checkConfigSource()); $this->assertEquals(0, $this->object->sourceMtime); - $this->object->setSource(TEST_PATH . 'test/test_data/config.inc.php'); + $this->object->setSource(TEST_PATH . 'tests/test_data/config.inc.php'); $this->assertNotEmpty($this->object->getSource()); $this->assertTrue($this->object->checkConfigSource()); @@ -548,8 +548,8 @@ public function testLoad(string $source, bool $result): void public static function configPaths(): array { return [ - [TEST_PATH . 'test/test_data/config.inc.php', true], - [TEST_PATH . 'test/test_data/config-nonexisting.inc.php', false], + [TEST_PATH . 'tests/test_data/config.inc.php', true], + [TEST_PATH . 'tests/test_data/config-nonexisting.inc.php', false], ]; } diff --git a/test/classes/ConsoleTest.php b/tests/classes/ConsoleTest.php similarity index 100% rename from test/classes/ConsoleTest.php rename to tests/classes/ConsoleTest.php diff --git a/test/classes/Controllers/AbstractControllerTest.php b/tests/classes/Controllers/AbstractControllerTest.php similarity index 100% rename from test/classes/Controllers/AbstractControllerTest.php rename to tests/classes/Controllers/AbstractControllerTest.php diff --git a/test/classes/Controllers/BrowseForeignersControllerTest.php b/tests/classes/Controllers/BrowseForeignersControllerTest.php similarity index 100% rename from test/classes/Controllers/BrowseForeignersControllerTest.php rename to tests/classes/Controllers/BrowseForeignersControllerTest.php diff --git a/test/classes/Controllers/CheckRelationsControllerTest.php b/tests/classes/Controllers/CheckRelationsControllerTest.php similarity index 100% rename from test/classes/Controllers/CheckRelationsControllerTest.php rename to tests/classes/Controllers/CheckRelationsControllerTest.php diff --git a/test/classes/Controllers/CollationConnectionControllerTest.php b/tests/classes/Controllers/CollationConnectionControllerTest.php similarity index 100% rename from test/classes/Controllers/CollationConnectionControllerTest.php rename to tests/classes/Controllers/CollationConnectionControllerTest.php diff --git a/test/classes/Controllers/Console/Bookmark/AddControllerTest.php b/tests/classes/Controllers/Console/Bookmark/AddControllerTest.php similarity index 100% rename from test/classes/Controllers/Console/Bookmark/AddControllerTest.php rename to tests/classes/Controllers/Console/Bookmark/AddControllerTest.php diff --git a/test/classes/Controllers/Console/Bookmark/RefreshControllerTest.php b/tests/classes/Controllers/Console/Bookmark/RefreshControllerTest.php similarity index 100% rename from test/classes/Controllers/Console/Bookmark/RefreshControllerTest.php rename to tests/classes/Controllers/Console/Bookmark/RefreshControllerTest.php diff --git a/test/classes/Controllers/Database/EventsControllerTest.php b/tests/classes/Controllers/Database/EventsControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/EventsControllerTest.php rename to tests/classes/Controllers/Database/EventsControllerTest.php diff --git a/test/classes/Controllers/Database/MultiTableQuery/TablesControllerTest.php b/tests/classes/Controllers/Database/MultiTableQuery/TablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/MultiTableQuery/TablesControllerTest.php rename to tests/classes/Controllers/Database/MultiTableQuery/TablesControllerTest.php diff --git a/test/classes/Controllers/Database/PrivilegesControllerTest.php b/tests/classes/Controllers/Database/PrivilegesControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/PrivilegesControllerTest.php rename to tests/classes/Controllers/Database/PrivilegesControllerTest.php diff --git a/test/classes/Controllers/Database/RoutinesControllerTest.php b/tests/classes/Controllers/Database/RoutinesControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/RoutinesControllerTest.php rename to tests/classes/Controllers/Database/RoutinesControllerTest.php diff --git a/test/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php b/tests/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php rename to tests/classes/Controllers/Database/Structure/FavoriteTableControllerTest.php diff --git a/test/classes/Controllers/Database/Structure/RealRowCountControllerTest.php b/tests/classes/Controllers/Database/Structure/RealRowCountControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/Structure/RealRowCountControllerTest.php rename to tests/classes/Controllers/Database/Structure/RealRowCountControllerTest.php diff --git a/test/classes/Controllers/Database/StructureControllerTest.php b/tests/classes/Controllers/Database/StructureControllerTest.php similarity index 100% rename from test/classes/Controllers/Database/StructureControllerTest.php rename to tests/classes/Controllers/Database/StructureControllerTest.php diff --git a/test/classes/Controllers/Export/ExportControllerTest.php b/tests/classes/Controllers/Export/ExportControllerTest.php similarity index 100% rename from test/classes/Controllers/Export/ExportControllerTest.php rename to tests/classes/Controllers/Export/ExportControllerTest.php diff --git a/test/classes/Controllers/Export/Template/CreateControllerTest.php b/tests/classes/Controllers/Export/Template/CreateControllerTest.php similarity index 100% rename from test/classes/Controllers/Export/Template/CreateControllerTest.php rename to tests/classes/Controllers/Export/Template/CreateControllerTest.php diff --git a/test/classes/Controllers/Export/Template/DeleteControllerTest.php b/tests/classes/Controllers/Export/Template/DeleteControllerTest.php similarity index 100% rename from test/classes/Controllers/Export/Template/DeleteControllerTest.php rename to tests/classes/Controllers/Export/Template/DeleteControllerTest.php diff --git a/test/classes/Controllers/Export/Template/LoadControllerTest.php b/tests/classes/Controllers/Export/Template/LoadControllerTest.php similarity index 100% rename from test/classes/Controllers/Export/Template/LoadControllerTest.php rename to tests/classes/Controllers/Export/Template/LoadControllerTest.php diff --git a/test/classes/Controllers/Export/Template/UpdateControllerTest.php b/tests/classes/Controllers/Export/Template/UpdateControllerTest.php similarity index 100% rename from test/classes/Controllers/Export/Template/UpdateControllerTest.php rename to tests/classes/Controllers/Export/Template/UpdateControllerTest.php diff --git a/test/classes/Controllers/GisDataEditorControllerTest.php b/tests/classes/Controllers/GisDataEditorControllerTest.php similarity index 100% rename from test/classes/Controllers/GisDataEditorControllerTest.php rename to tests/classes/Controllers/GisDataEditorControllerTest.php diff --git a/test/classes/Controllers/HomeControllerTest.php b/tests/classes/Controllers/HomeControllerTest.php similarity index 100% rename from test/classes/Controllers/HomeControllerTest.php rename to tests/classes/Controllers/HomeControllerTest.php diff --git a/test/classes/Controllers/Import/ImportControllerTest.php b/tests/classes/Controllers/Import/ImportControllerTest.php similarity index 100% rename from test/classes/Controllers/Import/ImportControllerTest.php rename to tests/classes/Controllers/Import/ImportControllerTest.php diff --git a/test/classes/Controllers/JavaScriptMessagesControllerTest.php b/tests/classes/Controllers/JavaScriptMessagesControllerTest.php similarity index 100% rename from test/classes/Controllers/JavaScriptMessagesControllerTest.php rename to tests/classes/Controllers/JavaScriptMessagesControllerTest.php diff --git a/test/classes/Controllers/LintControllerTest.php b/tests/classes/Controllers/LintControllerTest.php similarity index 100% rename from test/classes/Controllers/LintControllerTest.php rename to tests/classes/Controllers/LintControllerTest.php diff --git a/test/classes/Controllers/LogoutControllerTest.php b/tests/classes/Controllers/LogoutControllerTest.php similarity index 100% rename from test/classes/Controllers/LogoutControllerTest.php rename to tests/classes/Controllers/LogoutControllerTest.php diff --git a/test/classes/Controllers/NavigationControllerTest.php b/tests/classes/Controllers/NavigationControllerTest.php similarity index 100% rename from test/classes/Controllers/NavigationControllerTest.php rename to tests/classes/Controllers/NavigationControllerTest.php diff --git a/test/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php b/tests/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php rename to tests/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php diff --git a/test/classes/Controllers/Normalization/CreateNewColumnControllerTest.php b/tests/classes/Controllers/Normalization/CreateNewColumnControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/CreateNewColumnControllerTest.php rename to tests/classes/Controllers/Normalization/CreateNewColumnControllerTest.php diff --git a/test/classes/Controllers/Normalization/FirstNormalForm/FirstStepControllerTest.php b/tests/classes/Controllers/Normalization/FirstNormalForm/FirstStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/FirstNormalForm/FirstStepControllerTest.php rename to tests/classes/Controllers/Normalization/FirstNormalForm/FirstStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/FirstNormalForm/FourthStepControllerTest.php b/tests/classes/Controllers/Normalization/FirstNormalForm/FourthStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/FirstNormalForm/FourthStepControllerTest.php rename to tests/classes/Controllers/Normalization/FirstNormalForm/FourthStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/FirstNormalForm/SecondStepControllerTest.php b/tests/classes/Controllers/Normalization/FirstNormalForm/SecondStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/FirstNormalForm/SecondStepControllerTest.php rename to tests/classes/Controllers/Normalization/FirstNormalForm/SecondStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/FirstNormalForm/ThirdStepControllerTest.php b/tests/classes/Controllers/Normalization/FirstNormalForm/ThirdStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/FirstNormalForm/ThirdStepControllerTest.php rename to tests/classes/Controllers/Normalization/FirstNormalForm/ThirdStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/GetColumnsControllerTest.php b/tests/classes/Controllers/Normalization/GetColumnsControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/GetColumnsControllerTest.php rename to tests/classes/Controllers/Normalization/GetColumnsControllerTest.php diff --git a/test/classes/Controllers/Normalization/MainControllerTest.php b/tests/classes/Controllers/Normalization/MainControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/MainControllerTest.php rename to tests/classes/Controllers/Normalization/MainControllerTest.php diff --git a/test/classes/Controllers/Normalization/MoveRepeatingGroupTest.php b/tests/classes/Controllers/Normalization/MoveRepeatingGroupTest.php similarity index 100% rename from test/classes/Controllers/Normalization/MoveRepeatingGroupTest.php rename to tests/classes/Controllers/Normalization/MoveRepeatingGroupTest.php diff --git a/test/classes/Controllers/Normalization/PartialDependenciesControllerTest.php b/tests/classes/Controllers/Normalization/PartialDependenciesControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/PartialDependenciesControllerTest.php rename to tests/classes/Controllers/Normalization/PartialDependenciesControllerTest.php diff --git a/test/classes/Controllers/Normalization/SecondNormalForm/CreateNewTablesControllerTest.php b/tests/classes/Controllers/Normalization/SecondNormalForm/CreateNewTablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/SecondNormalForm/CreateNewTablesControllerTest.php rename to tests/classes/Controllers/Normalization/SecondNormalForm/CreateNewTablesControllerTest.php diff --git a/test/classes/Controllers/Normalization/SecondNormalForm/FirstStepControllerTest.php b/tests/classes/Controllers/Normalization/SecondNormalForm/FirstStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/SecondNormalForm/FirstStepControllerTest.php rename to tests/classes/Controllers/Normalization/SecondNormalForm/FirstStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/SecondNormalForm/NewTablesControllerTest.php b/tests/classes/Controllers/Normalization/SecondNormalForm/NewTablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/SecondNormalForm/NewTablesControllerTest.php rename to tests/classes/Controllers/Normalization/SecondNormalForm/NewTablesControllerTest.php diff --git a/test/classes/Controllers/Normalization/ThirdNormalForm/CreateNewTablesControllerTest.php b/tests/classes/Controllers/Normalization/ThirdNormalForm/CreateNewTablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/ThirdNormalForm/CreateNewTablesControllerTest.php rename to tests/classes/Controllers/Normalization/ThirdNormalForm/CreateNewTablesControllerTest.php diff --git a/test/classes/Controllers/Normalization/ThirdNormalForm/FirstStepControllerTest.php b/tests/classes/Controllers/Normalization/ThirdNormalForm/FirstStepControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/ThirdNormalForm/FirstStepControllerTest.php rename to tests/classes/Controllers/Normalization/ThirdNormalForm/FirstStepControllerTest.php diff --git a/test/classes/Controllers/Normalization/ThirdNormalForm/NewTablesControllerTest.php b/tests/classes/Controllers/Normalization/ThirdNormalForm/NewTablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Normalization/ThirdNormalForm/NewTablesControllerTest.php rename to tests/classes/Controllers/Normalization/ThirdNormalForm/NewTablesControllerTest.php diff --git a/test/classes/Controllers/Operations/TableControllerTest.php b/tests/classes/Controllers/Operations/TableControllerTest.php similarity index 100% rename from test/classes/Controllers/Operations/TableControllerTest.php rename to tests/classes/Controllers/Operations/TableControllerTest.php diff --git a/test/classes/Controllers/SchemaExportControllerTest.php b/tests/classes/Controllers/SchemaExportControllerTest.php similarity index 100% rename from test/classes/Controllers/SchemaExportControllerTest.php rename to tests/classes/Controllers/SchemaExportControllerTest.php diff --git a/test/classes/Controllers/Server/BinlogControllerTest.php b/tests/classes/Controllers/Server/BinlogControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/BinlogControllerTest.php rename to tests/classes/Controllers/Server/BinlogControllerTest.php diff --git a/test/classes/Controllers/Server/CollationsControllerTest.php b/tests/classes/Controllers/Server/CollationsControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/CollationsControllerTest.php rename to tests/classes/Controllers/Server/CollationsControllerTest.php diff --git a/test/classes/Controllers/Server/Databases/CreateControllerTest.php b/tests/classes/Controllers/Server/Databases/CreateControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Databases/CreateControllerTest.php rename to tests/classes/Controllers/Server/Databases/CreateControllerTest.php diff --git a/test/classes/Controllers/Server/Databases/DestroyControllerTest.php b/tests/classes/Controllers/Server/Databases/DestroyControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Databases/DestroyControllerTest.php rename to tests/classes/Controllers/Server/Databases/DestroyControllerTest.php diff --git a/test/classes/Controllers/Server/DatabasesControllerTest.php b/tests/classes/Controllers/Server/DatabasesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/DatabasesControllerTest.php rename to tests/classes/Controllers/Server/DatabasesControllerTest.php diff --git a/test/classes/Controllers/Server/EnginesControllerTest.php b/tests/classes/Controllers/Server/EnginesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/EnginesControllerTest.php rename to tests/classes/Controllers/Server/EnginesControllerTest.php diff --git a/test/classes/Controllers/Server/PluginsControllerTest.php b/tests/classes/Controllers/Server/PluginsControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/PluginsControllerTest.php rename to tests/classes/Controllers/Server/PluginsControllerTest.php diff --git a/test/classes/Controllers/Server/Privileges/AccountLockControllerTest.php b/tests/classes/Controllers/Server/Privileges/AccountLockControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Privileges/AccountLockControllerTest.php rename to tests/classes/Controllers/Server/Privileges/AccountLockControllerTest.php diff --git a/test/classes/Controllers/Server/Privileges/AccountUnlockControllerTest.php b/tests/classes/Controllers/Server/Privileges/AccountUnlockControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Privileges/AccountUnlockControllerTest.php rename to tests/classes/Controllers/Server/Privileges/AccountUnlockControllerTest.php diff --git a/test/classes/Controllers/Server/PrivilegesControllerTest.php b/tests/classes/Controllers/Server/PrivilegesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/PrivilegesControllerTest.php rename to tests/classes/Controllers/Server/PrivilegesControllerTest.php diff --git a/test/classes/Controllers/Server/ShowEngineControllerTest.php b/tests/classes/Controllers/Server/ShowEngineControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/ShowEngineControllerTest.php rename to tests/classes/Controllers/Server/ShowEngineControllerTest.php diff --git a/test/classes/Controllers/Server/Status/AdvisorControllerTest.php b/tests/classes/Controllers/Server/Status/AdvisorControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/AdvisorControllerTest.php rename to tests/classes/Controllers/Server/Status/AdvisorControllerTest.php diff --git a/test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php b/tests/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php rename to tests/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php diff --git a/test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php b/tests/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php rename to tests/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php diff --git a/test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php b/tests/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php rename to tests/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php diff --git a/test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php b/tests/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php rename to tests/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php diff --git a/test/classes/Controllers/Server/Status/MonitorControllerTest.php b/tests/classes/Controllers/Server/Status/MonitorControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/MonitorControllerTest.php rename to tests/classes/Controllers/Server/Status/MonitorControllerTest.php diff --git a/test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php b/tests/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php rename to tests/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php diff --git a/test/classes/Controllers/Server/Status/ProcessesControllerTest.php b/tests/classes/Controllers/Server/Status/ProcessesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/ProcessesControllerTest.php rename to tests/classes/Controllers/Server/Status/ProcessesControllerTest.php diff --git a/test/classes/Controllers/Server/Status/QueriesControllerTest.php b/tests/classes/Controllers/Server/Status/QueriesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/QueriesControllerTest.php rename to tests/classes/Controllers/Server/Status/QueriesControllerTest.php diff --git a/test/classes/Controllers/Server/Status/StatusControllerTest.php b/tests/classes/Controllers/Server/Status/StatusControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/StatusControllerTest.php rename to tests/classes/Controllers/Server/Status/StatusControllerTest.php diff --git a/test/classes/Controllers/Server/Status/VariablesControllerTest.php b/tests/classes/Controllers/Server/Status/VariablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/Status/VariablesControllerTest.php rename to tests/classes/Controllers/Server/Status/VariablesControllerTest.php diff --git a/test/classes/Controllers/Server/VariablesControllerTest.php b/tests/classes/Controllers/Server/VariablesControllerTest.php similarity index 100% rename from test/classes/Controllers/Server/VariablesControllerTest.php rename to tests/classes/Controllers/Server/VariablesControllerTest.php diff --git a/test/classes/Controllers/Sql/EnumValuesControllerTest.php b/tests/classes/Controllers/Sql/EnumValuesControllerTest.php similarity index 100% rename from test/classes/Controllers/Sql/EnumValuesControllerTest.php rename to tests/classes/Controllers/Sql/EnumValuesControllerTest.php diff --git a/test/classes/Controllers/Sql/SetValuesControllerTest.php b/tests/classes/Controllers/Sql/SetValuesControllerTest.php similarity index 100% rename from test/classes/Controllers/Sql/SetValuesControllerTest.php rename to tests/classes/Controllers/Sql/SetValuesControllerTest.php diff --git a/test/classes/Controllers/Table/AddFieldControllerTest.php b/tests/classes/Controllers/Table/AddFieldControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/AddFieldControllerTest.php rename to tests/classes/Controllers/Table/AddFieldControllerTest.php diff --git a/test/classes/Controllers/Table/ChangeControllerTest.php b/tests/classes/Controllers/Table/ChangeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ChangeControllerTest.php rename to tests/classes/Controllers/Table/ChangeControllerTest.php diff --git a/test/classes/Controllers/Table/ChangeRowsControllerTest.php b/tests/classes/Controllers/Table/ChangeRowsControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ChangeRowsControllerTest.php rename to tests/classes/Controllers/Table/ChangeRowsControllerTest.php diff --git a/test/classes/Controllers/Table/ChartControllerTest.php b/tests/classes/Controllers/Table/ChartControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ChartControllerTest.php rename to tests/classes/Controllers/Table/ChartControllerTest.php diff --git a/test/classes/Controllers/Table/CreateControllerTest.php b/tests/classes/Controllers/Table/CreateControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/CreateControllerTest.php rename to tests/classes/Controllers/Table/CreateControllerTest.php diff --git a/test/classes/Controllers/Table/DeleteConfirmControllerTest.php b/tests/classes/Controllers/Table/DeleteConfirmControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/DeleteConfirmControllerTest.php rename to tests/classes/Controllers/Table/DeleteConfirmControllerTest.php diff --git a/test/classes/Controllers/Table/DeleteRowsControllerTest.php b/tests/classes/Controllers/Table/DeleteRowsControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/DeleteRowsControllerTest.php rename to tests/classes/Controllers/Table/DeleteRowsControllerTest.php diff --git a/test/classes/Controllers/Table/DropColumnConfirmationControllerTest.php b/tests/classes/Controllers/Table/DropColumnConfirmationControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/DropColumnConfirmationControllerTest.php rename to tests/classes/Controllers/Table/DropColumnConfirmationControllerTest.php diff --git a/test/classes/Controllers/Table/DropColumnControllerTest.php b/tests/classes/Controllers/Table/DropColumnControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/DropColumnControllerTest.php rename to tests/classes/Controllers/Table/DropColumnControllerTest.php diff --git a/test/classes/Controllers/Table/ExportControllerTest.php b/tests/classes/Controllers/Table/ExportControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ExportControllerTest.php rename to tests/classes/Controllers/Table/ExportControllerTest.php diff --git a/test/classes/Controllers/Table/ExportRowsControllerTest.php b/tests/classes/Controllers/Table/ExportRowsControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ExportRowsControllerTest.php rename to tests/classes/Controllers/Table/ExportRowsControllerTest.php diff --git a/test/classes/Controllers/Table/FindReplaceControllerTest.php b/tests/classes/Controllers/Table/FindReplaceControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/FindReplaceControllerTest.php rename to tests/classes/Controllers/Table/FindReplaceControllerTest.php diff --git a/test/classes/Controllers/Table/GetFieldControllerTest.php b/tests/classes/Controllers/Table/GetFieldControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/GetFieldControllerTest.php rename to tests/classes/Controllers/Table/GetFieldControllerTest.php diff --git a/test/classes/Controllers/Table/GisVisualizationControllerTest.php b/tests/classes/Controllers/Table/GisVisualizationControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/GisVisualizationControllerTest.php rename to tests/classes/Controllers/Table/GisVisualizationControllerTest.php diff --git a/test/classes/Controllers/Table/ImportControllerTest.php b/tests/classes/Controllers/Table/ImportControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ImportControllerTest.php rename to tests/classes/Controllers/Table/ImportControllerTest.php diff --git a/test/classes/Controllers/Table/IndexRenameControllerTest.php b/tests/classes/Controllers/Table/IndexRenameControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/IndexRenameControllerTest.php rename to tests/classes/Controllers/Table/IndexRenameControllerTest.php diff --git a/test/classes/Controllers/Table/IndexesControllerTest.php b/tests/classes/Controllers/Table/IndexesControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/IndexesControllerTest.php rename to tests/classes/Controllers/Table/IndexesControllerTest.php diff --git a/test/classes/Controllers/Table/Maintenance/AnalyzeControllerTest.php b/tests/classes/Controllers/Table/Maintenance/AnalyzeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Maintenance/AnalyzeControllerTest.php rename to tests/classes/Controllers/Table/Maintenance/AnalyzeControllerTest.php diff --git a/test/classes/Controllers/Table/Maintenance/CheckControllerTest.php b/tests/classes/Controllers/Table/Maintenance/CheckControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Maintenance/CheckControllerTest.php rename to tests/classes/Controllers/Table/Maintenance/CheckControllerTest.php diff --git a/test/classes/Controllers/Table/Maintenance/ChecksumControllerTest.php b/tests/classes/Controllers/Table/Maintenance/ChecksumControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Maintenance/ChecksumControllerTest.php rename to tests/classes/Controllers/Table/Maintenance/ChecksumControllerTest.php diff --git a/test/classes/Controllers/Table/Maintenance/OptimizeControllerTest.php b/tests/classes/Controllers/Table/Maintenance/OptimizeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Maintenance/OptimizeControllerTest.php rename to tests/classes/Controllers/Table/Maintenance/OptimizeControllerTest.php diff --git a/test/classes/Controllers/Table/Maintenance/RepairControllerTest.php b/tests/classes/Controllers/Table/Maintenance/RepairControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Maintenance/RepairControllerTest.php rename to tests/classes/Controllers/Table/Maintenance/RepairControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/AnalyzeControllerTest.php b/tests/classes/Controllers/Table/Partition/AnalyzeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/AnalyzeControllerTest.php rename to tests/classes/Controllers/Table/Partition/AnalyzeControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/CheckControllerTest.php b/tests/classes/Controllers/Table/Partition/CheckControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/CheckControllerTest.php rename to tests/classes/Controllers/Table/Partition/CheckControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/DropControllerTest.php b/tests/classes/Controllers/Table/Partition/DropControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/DropControllerTest.php rename to tests/classes/Controllers/Table/Partition/DropControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/OptimizeControllerTest.php b/tests/classes/Controllers/Table/Partition/OptimizeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/OptimizeControllerTest.php rename to tests/classes/Controllers/Table/Partition/OptimizeControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/RebuildControllerTest.php b/tests/classes/Controllers/Table/Partition/RebuildControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/RebuildControllerTest.php rename to tests/classes/Controllers/Table/Partition/RebuildControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/RepairControllerTest.php b/tests/classes/Controllers/Table/Partition/RepairControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/RepairControllerTest.php rename to tests/classes/Controllers/Table/Partition/RepairControllerTest.php diff --git a/test/classes/Controllers/Table/Partition/TruncateControllerTest.php b/tests/classes/Controllers/Table/Partition/TruncateControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Partition/TruncateControllerTest.php rename to tests/classes/Controllers/Table/Partition/TruncateControllerTest.php diff --git a/test/classes/Controllers/Table/PrivilegesControllerTest.php b/tests/classes/Controllers/Table/PrivilegesControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/PrivilegesControllerTest.php rename to tests/classes/Controllers/Table/PrivilegesControllerTest.php diff --git a/test/classes/Controllers/Table/RecentFavoriteControllerTest.php b/tests/classes/Controllers/Table/RecentFavoriteControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/RecentFavoriteControllerTest.php rename to tests/classes/Controllers/Table/RecentFavoriteControllerTest.php diff --git a/test/classes/Controllers/Table/RelationControllerTest.php b/tests/classes/Controllers/Table/RelationControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/RelationControllerTest.php rename to tests/classes/Controllers/Table/RelationControllerTest.php diff --git a/test/classes/Controllers/Table/ReplaceControllerTest.php b/tests/classes/Controllers/Table/ReplaceControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ReplaceControllerTest.php rename to tests/classes/Controllers/Table/ReplaceControllerTest.php diff --git a/test/classes/Controllers/Table/SearchControllerTest.php b/tests/classes/Controllers/Table/SearchControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/SearchControllerTest.php rename to tests/classes/Controllers/Table/SearchControllerTest.php diff --git a/test/classes/Controllers/Table/SqlControllerTest.php b/tests/classes/Controllers/Table/SqlControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/SqlControllerTest.php rename to tests/classes/Controllers/Table/SqlControllerTest.php diff --git a/test/classes/Controllers/Table/Structure/ChangeControllerTest.php b/tests/classes/Controllers/Table/Structure/ChangeControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Structure/ChangeControllerTest.php rename to tests/classes/Controllers/Table/Structure/ChangeControllerTest.php diff --git a/test/classes/Controllers/Table/Structure/SaveControllerTest.php b/tests/classes/Controllers/Table/Structure/SaveControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Structure/SaveControllerTest.php rename to tests/classes/Controllers/Table/Structure/SaveControllerTest.php diff --git a/test/classes/Controllers/Table/Structure/SpatialControllerTest.php b/tests/classes/Controllers/Table/Structure/SpatialControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Structure/SpatialControllerTest.php rename to tests/classes/Controllers/Table/Structure/SpatialControllerTest.php diff --git a/test/classes/Controllers/Table/Structure/UniqueControllerTest.php b/tests/classes/Controllers/Table/Structure/UniqueControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/Structure/UniqueControllerTest.php rename to tests/classes/Controllers/Table/Structure/UniqueControllerTest.php diff --git a/test/classes/Controllers/Table/StructureControllerTest.php b/tests/classes/Controllers/Table/StructureControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/StructureControllerTest.php rename to tests/classes/Controllers/Table/StructureControllerTest.php diff --git a/test/classes/Controllers/Table/TrackingControllerTest.php b/tests/classes/Controllers/Table/TrackingControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/TrackingControllerTest.php rename to tests/classes/Controllers/Table/TrackingControllerTest.php diff --git a/test/classes/Controllers/Table/ZoomSearchControllerTest.php b/tests/classes/Controllers/Table/ZoomSearchControllerTest.php similarity index 100% rename from test/classes/Controllers/Table/ZoomSearchControllerTest.php rename to tests/classes/Controllers/Table/ZoomSearchControllerTest.php diff --git a/test/classes/Controllers/ThemeSetControllerTest.php b/tests/classes/Controllers/ThemeSetControllerTest.php similarity index 100% rename from test/classes/Controllers/ThemeSetControllerTest.php rename to tests/classes/Controllers/ThemeSetControllerTest.php diff --git a/test/classes/Controllers/Transformation/OverviewControllerTest.php b/tests/classes/Controllers/Transformation/OverviewControllerTest.php similarity index 100% rename from test/classes/Controllers/Transformation/OverviewControllerTest.php rename to tests/classes/Controllers/Transformation/OverviewControllerTest.php diff --git a/test/classes/Controllers/Triggers/IndexControllerTest.php b/tests/classes/Controllers/Triggers/IndexControllerTest.php similarity index 100% rename from test/classes/Controllers/Triggers/IndexControllerTest.php rename to tests/classes/Controllers/Triggers/IndexControllerTest.php diff --git a/test/classes/Controllers/VersionCheckControllerTest.php b/tests/classes/Controllers/VersionCheckControllerTest.php similarity index 100% rename from test/classes/Controllers/VersionCheckControllerTest.php rename to tests/classes/Controllers/VersionCheckControllerTest.php diff --git a/test/classes/CoreTest.php b/tests/classes/CoreTest.php similarity index 100% rename from test/classes/CoreTest.php rename to tests/classes/CoreTest.php diff --git a/test/classes/CreateAddFieldTest.php b/tests/classes/CreateAddFieldTest.php similarity index 100% rename from test/classes/CreateAddFieldTest.php rename to tests/classes/CreateAddFieldTest.php diff --git a/test/classes/Crypto/CryptoTest.php b/tests/classes/Crypto/CryptoTest.php similarity index 100% rename from test/classes/Crypto/CryptoTest.php rename to tests/classes/Crypto/CryptoTest.php diff --git a/test/classes/Database/CentralColumnsTest.php b/tests/classes/Database/CentralColumnsTest.php similarity index 100% rename from test/classes/Database/CentralColumnsTest.php rename to tests/classes/Database/CentralColumnsTest.php diff --git a/test/classes/Database/Designer/CommonTest.php b/tests/classes/Database/Designer/CommonTest.php similarity index 100% rename from test/classes/Database/Designer/CommonTest.php rename to tests/classes/Database/Designer/CommonTest.php diff --git a/test/classes/Database/DesignerTest.php b/tests/classes/Database/DesignerTest.php similarity index 100% rename from test/classes/Database/DesignerTest.php rename to tests/classes/Database/DesignerTest.php diff --git a/test/classes/Database/EventsTest.php b/tests/classes/Database/EventsTest.php similarity index 100% rename from test/classes/Database/EventsTest.php rename to tests/classes/Database/EventsTest.php diff --git a/test/classes/Database/RoutinesTest.php b/tests/classes/Database/RoutinesTest.php similarity index 100% rename from test/classes/Database/RoutinesTest.php rename to tests/classes/Database/RoutinesTest.php diff --git a/test/classes/Database/SearchTest.php b/tests/classes/Database/SearchTest.php similarity index 100% rename from test/classes/Database/SearchTest.php rename to tests/classes/Database/SearchTest.php diff --git a/test/classes/DatabaseInterfaceTest.php b/tests/classes/DatabaseInterfaceTest.php similarity index 100% rename from test/classes/DatabaseInterfaceTest.php rename to tests/classes/DatabaseInterfaceTest.php diff --git a/test/classes/DbTableExistsTest.php b/tests/classes/DbTableExistsTest.php similarity index 100% rename from test/classes/DbTableExistsTest.php rename to tests/classes/DbTableExistsTest.php diff --git a/test/classes/Dbal/DbiDummyTest.php b/tests/classes/Dbal/DbiDummyTest.php similarity index 100% rename from test/classes/Dbal/DbiDummyTest.php rename to tests/classes/Dbal/DbiDummyTest.php diff --git a/test/classes/Dbal/DbiMysqliTest.php b/tests/classes/Dbal/DbiMysqliTest.php similarity index 100% rename from test/classes/Dbal/DbiMysqliTest.php rename to tests/classes/Dbal/DbiMysqliTest.php diff --git a/test/classes/Dbal/MysqliResultTest.php b/tests/classes/Dbal/MysqliResultTest.php similarity index 100% rename from test/classes/Dbal/MysqliResultTest.php rename to tests/classes/Dbal/MysqliResultTest.php diff --git a/test/classes/Dbal/MysqliStatementTest.php b/tests/classes/Dbal/MysqliStatementTest.php similarity index 100% rename from test/classes/Dbal/MysqliStatementTest.php rename to tests/classes/Dbal/MysqliStatementTest.php diff --git a/test/classes/Dbal/WarningTest.php b/tests/classes/Dbal/WarningTest.php similarity index 100% rename from test/classes/Dbal/WarningTest.php rename to tests/classes/Dbal/WarningTest.php diff --git a/test/classes/Display/DisplayPartsTest.php b/tests/classes/Display/DisplayPartsTest.php similarity index 100% rename from test/classes/Display/DisplayPartsTest.php rename to tests/classes/Display/DisplayPartsTest.php diff --git a/test/classes/Display/ResultsTest.php b/tests/classes/Display/ResultsTest.php similarity index 100% rename from test/classes/Display/ResultsTest.php rename to tests/classes/Display/ResultsTest.php diff --git a/test/classes/EncodingTest.php b/tests/classes/EncodingTest.php similarity index 100% rename from test/classes/EncodingTest.php rename to tests/classes/EncodingTest.php diff --git a/test/classes/Engines/BdbTest.php b/tests/classes/Engines/BdbTest.php similarity index 100% rename from test/classes/Engines/BdbTest.php rename to tests/classes/Engines/BdbTest.php diff --git a/test/classes/Engines/BinlogTest.php b/tests/classes/Engines/BinlogTest.php similarity index 100% rename from test/classes/Engines/BinlogTest.php rename to tests/classes/Engines/BinlogTest.php diff --git a/test/classes/Engines/InnodbTest.php b/tests/classes/Engines/InnodbTest.php similarity index 100% rename from test/classes/Engines/InnodbTest.php rename to tests/classes/Engines/InnodbTest.php diff --git a/test/classes/Engines/MemoryTest.php b/tests/classes/Engines/MemoryTest.php similarity index 100% rename from test/classes/Engines/MemoryTest.php rename to tests/classes/Engines/MemoryTest.php diff --git a/test/classes/Engines/MrgMyisamTest.php b/tests/classes/Engines/MrgMyisamTest.php similarity index 100% rename from test/classes/Engines/MrgMyisamTest.php rename to tests/classes/Engines/MrgMyisamTest.php diff --git a/test/classes/Engines/MyisamTest.php b/tests/classes/Engines/MyisamTest.php similarity index 100% rename from test/classes/Engines/MyisamTest.php rename to tests/classes/Engines/MyisamTest.php diff --git a/test/classes/Engines/NdbclusterTest.php b/tests/classes/Engines/NdbclusterTest.php similarity index 100% rename from test/classes/Engines/NdbclusterTest.php rename to tests/classes/Engines/NdbclusterTest.php diff --git a/test/classes/Engines/PbxtTest.php b/tests/classes/Engines/PbxtTest.php similarity index 100% rename from test/classes/Engines/PbxtTest.php rename to tests/classes/Engines/PbxtTest.php diff --git a/test/classes/Engines/PerformanceSchemaTest.php b/tests/classes/Engines/PerformanceSchemaTest.php similarity index 100% rename from test/classes/Engines/PerformanceSchemaTest.php rename to tests/classes/Engines/PerformanceSchemaTest.php diff --git a/test/classes/EnvironmentTest.php b/tests/classes/EnvironmentTest.php similarity index 100% rename from test/classes/EnvironmentTest.php rename to tests/classes/EnvironmentTest.php diff --git a/test/classes/ErrorHandlerTest.php b/tests/classes/ErrorHandlerTest.php similarity index 100% rename from test/classes/ErrorHandlerTest.php rename to tests/classes/ErrorHandlerTest.php diff --git a/test/classes/ErrorReportTest.php b/tests/classes/ErrorReportTest.php similarity index 100% rename from test/classes/ErrorReportTest.php rename to tests/classes/ErrorReportTest.php diff --git a/test/classes/ErrorTest.php b/tests/classes/ErrorTest.php similarity index 98% rename from test/classes/ErrorTest.php rename to tests/classes/ErrorTest.php index 2ccaddb7a92..247e04c3b38 100644 --- a/test/classes/ErrorTest.php +++ b/tests/classes/ErrorTest.php @@ -83,7 +83,7 @@ public static function filePathProvider(): array ['./ChangeLog', '.' . DIRECTORY_SEPARATOR . 'ChangeLog'], [ __FILE__, - '.' . DIRECTORY_SEPARATOR . 'test' . DIRECTORY_SEPARATOR + '.' . DIRECTORY_SEPARATOR . 'tests' . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR . 'ErrorTest.php', ], ['./NONEXISTING', 'NONEXISTING'], diff --git a/test/classes/Export/ExportTest.php b/tests/classes/Export/ExportTest.php similarity index 100% rename from test/classes/Export/ExportTest.php rename to tests/classes/Export/ExportTest.php diff --git a/test/classes/Export/OptionsTest.php b/tests/classes/Export/OptionsTest.php similarity index 100% rename from test/classes/Export/OptionsTest.php rename to tests/classes/Export/OptionsTest.php diff --git a/test/classes/FieldHelper.php b/tests/classes/FieldHelper.php similarity index 100% rename from test/classes/FieldHelper.php rename to tests/classes/FieldHelper.php diff --git a/test/classes/FieldMetadataTest.php b/tests/classes/FieldMetadataTest.php similarity index 100% rename from test/classes/FieldMetadataTest.php rename to tests/classes/FieldMetadataTest.php diff --git a/test/classes/FileListingTest.php b/tests/classes/FileListingTest.php similarity index 96% rename from test/classes/FileListingTest.php rename to tests/classes/FileListingTest.php index b9c1b20161f..bac5ddb42ef 100644 --- a/test/classes/FileListingTest.php +++ b/tests/classes/FileListingTest.php @@ -31,7 +31,7 @@ public function testGetDirContent(): void { $this->assertFalse($this->fileListing->getDirContent('nonexistent directory')); - $fixturesDir = TEST_PATH . 'test/classes/_data/file_listing'; + $fixturesDir = TEST_PATH . 'tests/classes/_data/file_listing'; $dirContent = $this->fileListing->getDirContent($fixturesDir); if (is_bool($dirContent)) { @@ -46,7 +46,7 @@ public function testGetDirContent(): void public function testGetFileSelectOptions(): void { - $fixturesDir = TEST_PATH . 'test/classes/_data/file_listing'; + $fixturesDir = TEST_PATH . 'tests/classes/_data/file_listing'; $this->assertFalse($this->fileListing->getFileSelectOptions('nonexistent directory')); diff --git a/test/classes/FileTest.php b/tests/classes/FileTest.php similarity index 90% rename from test/classes/FileTest.php rename to tests/classes/FileTest.php index 6c0c91f0919..a3bf206ba28 100644 --- a/test/classes/FileTest.php +++ b/tests/classes/FileTest.php @@ -72,9 +72,9 @@ public function testReadCompressed(string $file): void public static function compressedFiles(): array { return [ - ['./test/test_data/test.gz', 'application/gzip'], - ['./test/test_data/test.bz2', 'application/bzip2'], - ['./test/test_data/test.zip', 'application/zip'], + ['./tests/test_data/test.gz', 'application/gzip'], + ['./tests/test_data/test.bz2', 'application/bzip2'], + ['./tests/test_data/test.zip', 'application/zip'], ]; } } diff --git a/test/classes/FlashMessagesTest.php b/tests/classes/FlashMessagesTest.php similarity index 100% rename from test/classes/FlashMessagesTest.php rename to tests/classes/FlashMessagesTest.php diff --git a/test/classes/FontTest.php b/tests/classes/FontTest.php similarity index 100% rename from test/classes/FontTest.php rename to tests/classes/FontTest.php diff --git a/test/classes/FooterTest.php b/tests/classes/FooterTest.php similarity index 100% rename from test/classes/FooterTest.php rename to tests/classes/FooterTest.php diff --git a/test/classes/Gis/Ds/PolygonTest.php b/tests/classes/Gis/Ds/PolygonTest.php similarity index 100% rename from test/classes/Gis/Ds/PolygonTest.php rename to tests/classes/Gis/Ds/PolygonTest.php diff --git a/test/classes/Gis/GisFactoryTest.php b/tests/classes/Gis/GisFactoryTest.php similarity index 100% rename from test/classes/Gis/GisFactoryTest.php rename to tests/classes/Gis/GisFactoryTest.php diff --git a/test/classes/Gis/GisGeomTestCase.php b/tests/classes/Gis/GisGeomTestCase.php similarity index 96% rename from test/classes/Gis/GisGeomTestCase.php rename to tests/classes/Gis/GisGeomTestCase.php index bff15337a78..c7c5cf61116 100644 --- a/test/classes/Gis/GisGeomTestCase.php +++ b/tests/classes/Gis/GisGeomTestCase.php @@ -29,7 +29,7 @@ protected function setUp(): void { parent::setUp(); - $this->testDir = 'file://' . getcwd() . '/test/test_data/gis'; + $this->testDir = 'file://' . getcwd() . '/tests/test_data/gis'; (new ReflectionProperty(TCPDF_STATIC::class, 'tcpdf_version'))->setValue(null, '6.6.2'); } diff --git a/test/classes/Gis/GisGeometryCollectionTest.php b/tests/classes/Gis/GisGeometryCollectionTest.php similarity index 100% rename from test/classes/Gis/GisGeometryCollectionTest.php rename to tests/classes/Gis/GisGeometryCollectionTest.php diff --git a/test/classes/Gis/GisGeometryTest.php b/tests/classes/Gis/GisGeometryTest.php similarity index 100% rename from test/classes/Gis/GisGeometryTest.php rename to tests/classes/Gis/GisGeometryTest.php diff --git a/test/classes/Gis/GisLineStringTest.php b/tests/classes/Gis/GisLineStringTest.php similarity index 100% rename from test/classes/Gis/GisLineStringTest.php rename to tests/classes/Gis/GisLineStringTest.php diff --git a/test/classes/Gis/GisMultiLineStringTest.php b/tests/classes/Gis/GisMultiLineStringTest.php similarity index 100% rename from test/classes/Gis/GisMultiLineStringTest.php rename to tests/classes/Gis/GisMultiLineStringTest.php diff --git a/test/classes/Gis/GisMultiPointTest.php b/tests/classes/Gis/GisMultiPointTest.php similarity index 100% rename from test/classes/Gis/GisMultiPointTest.php rename to tests/classes/Gis/GisMultiPointTest.php diff --git a/test/classes/Gis/GisMultiPolygonTest.php b/tests/classes/Gis/GisMultiPolygonTest.php similarity index 100% rename from test/classes/Gis/GisMultiPolygonTest.php rename to tests/classes/Gis/GisMultiPolygonTest.php diff --git a/test/classes/Gis/GisPointTest.php b/tests/classes/Gis/GisPointTest.php similarity index 100% rename from test/classes/Gis/GisPointTest.php rename to tests/classes/Gis/GisPointTest.php diff --git a/test/classes/Gis/GisPolygonTest.php b/tests/classes/Gis/GisPolygonTest.php similarity index 100% rename from test/classes/Gis/GisPolygonTest.php rename to tests/classes/Gis/GisPolygonTest.php diff --git a/test/classes/Gis/GisVisualizationTest.php b/tests/classes/Gis/GisVisualizationTest.php similarity index 100% rename from test/classes/Gis/GisVisualizationTest.php rename to tests/classes/Gis/GisVisualizationTest.php diff --git a/test/classes/GitTest.php b/tests/classes/GitTest.php similarity index 100% rename from test/classes/GitTest.php rename to tests/classes/GitTest.php diff --git a/test/classes/HeaderTest.php b/tests/classes/HeaderTest.php similarity index 100% rename from test/classes/HeaderTest.php rename to tests/classes/HeaderTest.php diff --git a/test/classes/Html/GeneratorTest.php b/tests/classes/Html/GeneratorTest.php similarity index 100% rename from test/classes/Html/GeneratorTest.php rename to tests/classes/Html/GeneratorTest.php diff --git a/test/classes/Html/MySQLDocumentationTest.php b/tests/classes/Html/MySQLDocumentationTest.php similarity index 100% rename from test/classes/Html/MySQLDocumentationTest.php rename to tests/classes/Html/MySQLDocumentationTest.php diff --git a/test/classes/Html/SecurityTest.php b/tests/classes/Html/SecurityTest.php similarity index 100% rename from test/classes/Html/SecurityTest.php rename to tests/classes/Html/SecurityTest.php diff --git a/test/classes/Http/Factory/ResponseFactoryTest.php b/tests/classes/Http/Factory/ResponseFactoryTest.php similarity index 100% rename from test/classes/Http/Factory/ResponseFactoryTest.php rename to tests/classes/Http/Factory/ResponseFactoryTest.php diff --git a/test/classes/Http/Factory/ServerRequestFactoryTest.php b/tests/classes/Http/Factory/ServerRequestFactoryTest.php similarity index 100% rename from test/classes/Http/Factory/ServerRequestFactoryTest.php rename to tests/classes/Http/Factory/ServerRequestFactoryTest.php diff --git a/test/classes/Http/Factory/UriFactoryTest.php b/tests/classes/Http/Factory/UriFactoryTest.php similarity index 100% rename from test/classes/Http/Factory/UriFactoryTest.php rename to tests/classes/Http/Factory/UriFactoryTest.php diff --git a/test/classes/Http/Handler/ApplicationHandlerTest.php b/tests/classes/Http/Handler/ApplicationHandlerTest.php similarity index 100% rename from test/classes/Http/Handler/ApplicationHandlerTest.php rename to tests/classes/Http/Handler/ApplicationHandlerTest.php diff --git a/test/classes/Http/Handler/QueueRequestHandlerTest.php b/tests/classes/Http/Handler/QueueRequestHandlerTest.php similarity index 100% rename from test/classes/Http/Handler/QueueRequestHandlerTest.php rename to tests/classes/Http/Handler/QueueRequestHandlerTest.php diff --git a/test/classes/Http/Middleware/TokenRequestParamCheckingTest.php b/tests/classes/Http/Middleware/TokenRequestParamCheckingTest.php similarity index 100% rename from test/classes/Http/Middleware/TokenRequestParamCheckingTest.php rename to tests/classes/Http/Middleware/TokenRequestParamCheckingTest.php diff --git a/test/classes/Http/Middleware/UrlParamsSettingTest.php b/tests/classes/Http/Middleware/UrlParamsSettingTest.php similarity index 100% rename from test/classes/Http/Middleware/UrlParamsSettingTest.php rename to tests/classes/Http/Middleware/UrlParamsSettingTest.php diff --git a/test/classes/Http/ResponseTest.php b/tests/classes/Http/ResponseTest.php similarity index 100% rename from test/classes/Http/ResponseTest.php rename to tests/classes/Http/ResponseTest.php diff --git a/test/classes/Http/ServerRequestTest.php b/tests/classes/Http/ServerRequestTest.php similarity index 100% rename from test/classes/Http/ServerRequestTest.php rename to tests/classes/Http/ServerRequestTest.php diff --git a/test/classes/Identifiers/DatabaseNameTest.php b/tests/classes/Identifiers/DatabaseNameTest.php similarity index 100% rename from test/classes/Identifiers/DatabaseNameTest.php rename to tests/classes/Identifiers/DatabaseNameTest.php diff --git a/test/classes/Identifiers/TableNameTest.php b/tests/classes/Identifiers/TableNameTest.php similarity index 100% rename from test/classes/Identifiers/TableNameTest.php rename to tests/classes/Identifiers/TableNameTest.php diff --git a/test/classes/Identifiers/TriggerNameTest.php b/tests/classes/Identifiers/TriggerNameTest.php similarity index 100% rename from test/classes/Identifiers/TriggerNameTest.php rename to tests/classes/Identifiers/TriggerNameTest.php diff --git a/test/classes/Import/AjaxTest.php b/tests/classes/Import/AjaxTest.php similarity index 100% rename from test/classes/Import/AjaxTest.php rename to tests/classes/Import/AjaxTest.php diff --git a/test/classes/Import/ImportTest.php b/tests/classes/Import/ImportTest.php similarity index 100% rename from test/classes/Import/ImportTest.php rename to tests/classes/Import/ImportTest.php diff --git a/test/classes/Import/SimulateDmlTest.php b/tests/classes/Import/SimulateDmlTest.php similarity index 100% rename from test/classes/Import/SimulateDmlTest.php rename to tests/classes/Import/SimulateDmlTest.php diff --git a/test/classes/IndexColumnTest.php b/tests/classes/IndexColumnTest.php similarity index 100% rename from test/classes/IndexColumnTest.php rename to tests/classes/IndexColumnTest.php diff --git a/test/classes/IndexTest.php b/tests/classes/IndexTest.php similarity index 100% rename from test/classes/IndexTest.php rename to tests/classes/IndexTest.php diff --git a/test/classes/InsertEditTest.php b/tests/classes/InsertEditTest.php similarity index 100% rename from test/classes/InsertEditTest.php rename to tests/classes/InsertEditTest.php diff --git a/test/classes/InternalRelationsTest.php b/tests/classes/InternalRelationsTest.php similarity index 100% rename from test/classes/InternalRelationsTest.php rename to tests/classes/InternalRelationsTest.php diff --git a/test/classes/IpAllowDenyTest.php b/tests/classes/IpAllowDenyTest.php similarity index 100% rename from test/classes/IpAllowDenyTest.php rename to tests/classes/IpAllowDenyTest.php diff --git a/test/classes/LanguageTest.php b/tests/classes/LanguageTest.php similarity index 100% rename from test/classes/LanguageTest.php rename to tests/classes/LanguageTest.php diff --git a/test/classes/LinterTest.php b/tests/classes/LinterTest.php similarity index 100% rename from test/classes/LinterTest.php rename to tests/classes/LinterTest.php diff --git a/test/classes/ListDatabaseTest.php b/tests/classes/ListDatabaseTest.php similarity index 100% rename from test/classes/ListDatabaseTest.php rename to tests/classes/ListDatabaseTest.php diff --git a/test/classes/LoggingTest.php b/tests/classes/LoggingTest.php similarity index 100% rename from test/classes/LoggingTest.php rename to tests/classes/LoggingTest.php diff --git a/test/classes/MenuTest.php b/tests/classes/MenuTest.php similarity index 100% rename from test/classes/MenuTest.php rename to tests/classes/MenuTest.php diff --git a/test/classes/MessageTest.php b/tests/classes/MessageTest.php similarity index 100% rename from test/classes/MessageTest.php rename to tests/classes/MessageTest.php diff --git a/test/classes/MimeTest.php b/tests/classes/MimeTest.php similarity index 100% rename from test/classes/MimeTest.php rename to tests/classes/MimeTest.php diff --git a/test/classes/Navigation/NavigationTest.php b/tests/classes/Navigation/NavigationTest.php similarity index 100% rename from test/classes/Navigation/NavigationTest.php rename to tests/classes/Navigation/NavigationTest.php diff --git a/test/classes/Navigation/NavigationTreeTest.php b/tests/classes/Navigation/NavigationTreeTest.php similarity index 100% rename from test/classes/Navigation/NavigationTreeTest.php rename to tests/classes/Navigation/NavigationTreeTest.php diff --git a/test/classes/Navigation/Nodes/NodeColumnContainerTest.php b/tests/classes/Navigation/Nodes/NodeColumnContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeColumnContainerTest.php rename to tests/classes/Navigation/Nodes/NodeColumnContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeColumnTest.php b/tests/classes/Navigation/Nodes/NodeColumnTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeColumnTest.php rename to tests/classes/Navigation/Nodes/NodeColumnTest.php diff --git a/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php b/tests/classes/Navigation/Nodes/NodeDatabaseChildTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeDatabaseChildTest.php rename to tests/classes/Navigation/Nodes/NodeDatabaseChildTest.php diff --git a/test/classes/Navigation/Nodes/NodeDatabaseTest.php b/tests/classes/Navigation/Nodes/NodeDatabaseTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeDatabaseTest.php rename to tests/classes/Navigation/Nodes/NodeDatabaseTest.php diff --git a/test/classes/Navigation/Nodes/NodeEventContainerTest.php b/tests/classes/Navigation/Nodes/NodeEventContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeEventContainerTest.php rename to tests/classes/Navigation/Nodes/NodeEventContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeEventTest.php b/tests/classes/Navigation/Nodes/NodeEventTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeEventTest.php rename to tests/classes/Navigation/Nodes/NodeEventTest.php diff --git a/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php b/tests/classes/Navigation/Nodes/NodeFunctionContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeFunctionContainerTest.php rename to tests/classes/Navigation/Nodes/NodeFunctionContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeFunctionTest.php b/tests/classes/Navigation/Nodes/NodeFunctionTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeFunctionTest.php rename to tests/classes/Navigation/Nodes/NodeFunctionTest.php diff --git a/test/classes/Navigation/Nodes/NodeIndexContainerTest.php b/tests/classes/Navigation/Nodes/NodeIndexContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeIndexContainerTest.php rename to tests/classes/Navigation/Nodes/NodeIndexContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeIndexTest.php b/tests/classes/Navigation/Nodes/NodeIndexTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeIndexTest.php rename to tests/classes/Navigation/Nodes/NodeIndexTest.php diff --git a/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php b/tests/classes/Navigation/Nodes/NodeProcedureContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeProcedureContainerTest.php rename to tests/classes/Navigation/Nodes/NodeProcedureContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeProcedureTest.php b/tests/classes/Navigation/Nodes/NodeProcedureTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeProcedureTest.php rename to tests/classes/Navigation/Nodes/NodeProcedureTest.php diff --git a/test/classes/Navigation/Nodes/NodeTableContainerTest.php b/tests/classes/Navigation/Nodes/NodeTableContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeTableContainerTest.php rename to tests/classes/Navigation/Nodes/NodeTableContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeTableTest.php b/tests/classes/Navigation/Nodes/NodeTableTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeTableTest.php rename to tests/classes/Navigation/Nodes/NodeTableTest.php diff --git a/test/classes/Navigation/Nodes/NodeTest.php b/tests/classes/Navigation/Nodes/NodeTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeTest.php rename to tests/classes/Navigation/Nodes/NodeTest.php diff --git a/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php b/tests/classes/Navigation/Nodes/NodeTriggerContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeTriggerContainerTest.php rename to tests/classes/Navigation/Nodes/NodeTriggerContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeTriggerTest.php b/tests/classes/Navigation/Nodes/NodeTriggerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeTriggerTest.php rename to tests/classes/Navigation/Nodes/NodeTriggerTest.php diff --git a/test/classes/Navigation/Nodes/NodeViewContainerTest.php b/tests/classes/Navigation/Nodes/NodeViewContainerTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeViewContainerTest.php rename to tests/classes/Navigation/Nodes/NodeViewContainerTest.php diff --git a/test/classes/Navigation/Nodes/NodeViewTest.php b/tests/classes/Navigation/Nodes/NodeViewTest.php similarity index 100% rename from test/classes/Navigation/Nodes/NodeViewTest.php rename to tests/classes/Navigation/Nodes/NodeViewTest.php diff --git a/test/classes/NormalizationTest.php b/tests/classes/NormalizationTest.php similarity index 100% rename from test/classes/NormalizationTest.php rename to tests/classes/NormalizationTest.php diff --git a/test/classes/OpenDocumentTest.php b/tests/classes/OpenDocumentTest.php similarity index 100% rename from test/classes/OpenDocumentTest.php rename to tests/classes/OpenDocumentTest.php diff --git a/test/classes/OperationsTest.php b/tests/classes/OperationsTest.php similarity index 100% rename from test/classes/OperationsTest.php rename to tests/classes/OperationsTest.php diff --git a/test/classes/ParseAnalyzeTest.php b/tests/classes/ParseAnalyzeTest.php similarity index 100% rename from test/classes/ParseAnalyzeTest.php rename to tests/classes/ParseAnalyzeTest.php diff --git a/test/classes/Partitioning/PartitionTest.php b/tests/classes/Partitioning/PartitionTest.php similarity index 100% rename from test/classes/Partitioning/PartitionTest.php rename to tests/classes/Partitioning/PartitionTest.php diff --git a/test/classes/Partitioning/SubPartitionTest.php b/tests/classes/Partitioning/SubPartitionTest.php similarity index 100% rename from test/classes/Partitioning/SubPartitionTest.php rename to tests/classes/Partitioning/SubPartitionTest.php diff --git a/test/classes/Partitioning/TablePartitionDefinitionTest.php b/tests/classes/Partitioning/TablePartitionDefinitionTest.php similarity index 100% rename from test/classes/Partitioning/TablePartitionDefinitionTest.php rename to tests/classes/Partitioning/TablePartitionDefinitionTest.php diff --git a/test/classes/PdfTest.php b/tests/classes/PdfTest.php similarity index 100% rename from test/classes/PdfTest.php rename to tests/classes/PdfTest.php diff --git a/test/classes/Plugins/Auth/AuthenticationConfigTest.php b/tests/classes/Plugins/Auth/AuthenticationConfigTest.php similarity index 100% rename from test/classes/Plugins/Auth/AuthenticationConfigTest.php rename to tests/classes/Plugins/Auth/AuthenticationConfigTest.php diff --git a/test/classes/Plugins/Auth/AuthenticationCookieTest.php b/tests/classes/Plugins/Auth/AuthenticationCookieTest.php similarity index 100% rename from test/classes/Plugins/Auth/AuthenticationCookieTest.php rename to tests/classes/Plugins/Auth/AuthenticationCookieTest.php diff --git a/test/classes/Plugins/Auth/AuthenticationHttpTest.php b/tests/classes/Plugins/Auth/AuthenticationHttpTest.php similarity index 100% rename from test/classes/Plugins/Auth/AuthenticationHttpTest.php rename to tests/classes/Plugins/Auth/AuthenticationHttpTest.php diff --git a/test/classes/Plugins/Auth/AuthenticationSignonTest.php b/tests/classes/Plugins/Auth/AuthenticationSignonTest.php similarity index 100% rename from test/classes/Plugins/Auth/AuthenticationSignonTest.php rename to tests/classes/Plugins/Auth/AuthenticationSignonTest.php diff --git a/test/classes/Plugins/AuthenticationPluginFactoryTest.php b/tests/classes/Plugins/AuthenticationPluginFactoryTest.php similarity index 100% rename from test/classes/Plugins/AuthenticationPluginFactoryTest.php rename to tests/classes/Plugins/AuthenticationPluginFactoryTest.php diff --git a/test/classes/Plugins/AuthenticationPluginTest.php b/tests/classes/Plugins/AuthenticationPluginTest.php similarity index 100% rename from test/classes/Plugins/AuthenticationPluginTest.php rename to tests/classes/Plugins/AuthenticationPluginTest.php diff --git a/test/classes/Plugins/Export/ExportCodegenTest.php b/tests/classes/Plugins/Export/ExportCodegenTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportCodegenTest.php rename to tests/classes/Plugins/Export/ExportCodegenTest.php diff --git a/test/classes/Plugins/Export/ExportCsvTest.php b/tests/classes/Plugins/Export/ExportCsvTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportCsvTest.php rename to tests/classes/Plugins/Export/ExportCsvTest.php diff --git a/test/classes/Plugins/Export/ExportExcelTest.php b/tests/classes/Plugins/Export/ExportExcelTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportExcelTest.php rename to tests/classes/Plugins/Export/ExportExcelTest.php diff --git a/test/classes/Plugins/Export/ExportHtmlwordTest.php b/tests/classes/Plugins/Export/ExportHtmlwordTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportHtmlwordTest.php rename to tests/classes/Plugins/Export/ExportHtmlwordTest.php diff --git a/test/classes/Plugins/Export/ExportJsonTest.php b/tests/classes/Plugins/Export/ExportJsonTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportJsonTest.php rename to tests/classes/Plugins/Export/ExportJsonTest.php diff --git a/test/classes/Plugins/Export/ExportLatexTest.php b/tests/classes/Plugins/Export/ExportLatexTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportLatexTest.php rename to tests/classes/Plugins/Export/ExportLatexTest.php diff --git a/test/classes/Plugins/Export/ExportMediawikiTest.php b/tests/classes/Plugins/Export/ExportMediawikiTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportMediawikiTest.php rename to tests/classes/Plugins/Export/ExportMediawikiTest.php diff --git a/test/classes/Plugins/Export/ExportOdsTest.php b/tests/classes/Plugins/Export/ExportOdsTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportOdsTest.php rename to tests/classes/Plugins/Export/ExportOdsTest.php diff --git a/test/classes/Plugins/Export/ExportOdtTest.php b/tests/classes/Plugins/Export/ExportOdtTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportOdtTest.php rename to tests/classes/Plugins/Export/ExportOdtTest.php diff --git a/test/classes/Plugins/Export/ExportPdfTest.php b/tests/classes/Plugins/Export/ExportPdfTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportPdfTest.php rename to tests/classes/Plugins/Export/ExportPdfTest.php diff --git a/test/classes/Plugins/Export/ExportPhparrayTest.php b/tests/classes/Plugins/Export/ExportPhparrayTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportPhparrayTest.php rename to tests/classes/Plugins/Export/ExportPhparrayTest.php diff --git a/test/classes/Plugins/Export/ExportSqlTest.php b/tests/classes/Plugins/Export/ExportSqlTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportSqlTest.php rename to tests/classes/Plugins/Export/ExportSqlTest.php diff --git a/test/classes/Plugins/Export/ExportTexytextTest.php b/tests/classes/Plugins/Export/ExportTexytextTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportTexytextTest.php rename to tests/classes/Plugins/Export/ExportTexytextTest.php diff --git a/test/classes/Plugins/Export/ExportXmlTest.php b/tests/classes/Plugins/Export/ExportXmlTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportXmlTest.php rename to tests/classes/Plugins/Export/ExportXmlTest.php diff --git a/test/classes/Plugins/Export/ExportYamlTest.php b/tests/classes/Plugins/Export/ExportYamlTest.php similarity index 100% rename from test/classes/Plugins/Export/ExportYamlTest.php rename to tests/classes/Plugins/Export/ExportYamlTest.php diff --git a/test/classes/Plugins/Export/Helpers/TablePropertyTest.php b/tests/classes/Plugins/Export/Helpers/TablePropertyTest.php similarity index 100% rename from test/classes/Plugins/Export/Helpers/TablePropertyTest.php rename to tests/classes/Plugins/Export/Helpers/TablePropertyTest.php diff --git a/test/classes/Plugins/Import/ImportCsvTest.php b/tests/classes/Plugins/Import/ImportCsvTest.php similarity index 98% rename from test/classes/Plugins/Import/ImportCsvTest.php rename to tests/classes/Plugins/Import/ImportCsvTest.php index 043b10afc0c..12005097028 100644 --- a/test/classes/Plugins/Import/ImportCsvTest.php +++ b/tests/classes/Plugins/Import/ImportCsvTest.php @@ -62,7 +62,7 @@ protected function setUp(): void $GLOBALS['offset'] = 0; Config::getInstance()->selectedServer['DisableIS'] = false; - $GLOBALS['import_file'] = 'test/test_data/db_test.csv'; + $GLOBALS['import_file'] = 'tests/test_data/db_test.csv'; $GLOBALS['import_text'] = 'ImportCsv_Test'; $GLOBALS['compression'] = 'none'; $GLOBALS['read_multiply'] = 10; @@ -154,7 +154,7 @@ public function testDoPartialImport(): void $importHandle = new File($GLOBALS['import_file']); $importHandle->open(); - $GLOBALS['import_file'] = 'test/test_data/db_test_partial_import.csv'; + $GLOBALS['import_file'] = 'tests/test_data/db_test_partial_import.csv'; $_REQUEST['csv_new_tbl_name'] = 'ImportTestTable'; $_REQUEST['csv_new_db_name'] = 'ImportTestDb'; $_REQUEST['csv_partial_import'] = 5; diff --git a/test/classes/Plugins/Import/ImportLdiTest.php b/tests/classes/Plugins/Import/ImportLdiTest.php similarity index 96% rename from test/classes/Plugins/Import/ImportLdiTest.php rename to tests/classes/Plugins/Import/ImportLdiTest.php index deeb1cc998a..aba2d42bfdd 100644 --- a/test/classes/Plugins/Import/ImportLdiTest.php +++ b/tests/classes/Plugins/Import/ImportLdiTest.php @@ -48,7 +48,7 @@ protected function setUp(): void $config = Config::getInstance(); $config->selectedServer['DisableIS'] = false; - $GLOBALS['import_file'] = 'test/test_data/db_test_ldi.csv'; + $GLOBALS['import_file'] = 'tests/test_data/db_test_ldi.csv'; $GLOBALS['import_text'] = 'ImportLdi_Test'; $GLOBALS['read_multiply'] = 10; $GLOBALS['import_type'] = 'csv'; @@ -138,7 +138,7 @@ public function testDoImport(): void //asset that all sql are executed $this->assertStringContainsString( - 'LOAD DATA INFILE \'test/test_data/db_test_ldi.csv\' INTO TABLE `phpmyadmintest`', + 'LOAD DATA INFILE \'tests/test_data/db_test_ldi.csv\' INTO TABLE `phpmyadmintest`', $GLOBALS['sql_query'], ); @@ -196,7 +196,7 @@ public function testDoImportLDISetting(): void //asset that all sql are executed //replace $this->assertStringContainsString( - 'LOAD DATA LOCAL INFILE \'test/test_data/db_test_ldi.csv\' REPLACE INTO TABLE `phpmyadmintest`', + 'LOAD DATA LOCAL INFILE \'tests/test_data/db_test_ldi.csv\' REPLACE INTO TABLE `phpmyadmintest`', $GLOBALS['sql_query'], ); diff --git a/test/classes/Plugins/Import/ImportMediawikiTest.php b/tests/classes/Plugins/Import/ImportMediawikiTest.php similarity index 98% rename from test/classes/Plugins/Import/ImportMediawikiTest.php rename to tests/classes/Plugins/Import/ImportMediawikiTest.php index 429bcedd381..f4517b669dd 100644 --- a/test/classes/Plugins/Import/ImportMediawikiTest.php +++ b/tests/classes/Plugins/Import/ImportMediawikiTest.php @@ -50,7 +50,7 @@ protected function setUp(): void $GLOBALS['offset'] = 0; Config::getInstance()->selectedServer['DisableIS'] = false; - $GLOBALS['import_file'] = 'test/test_data/phpmyadmin.mediawiki'; + $GLOBALS['import_file'] = 'tests/test_data/phpmyadmin.mediawiki'; $GLOBALS['import_text'] = 'ImportMediawiki_Test'; $GLOBALS['read_multiply'] = 10; $GLOBALS['import_type'] = 'Mediawiki'; diff --git a/test/classes/Plugins/Import/ImportOdsTest.php b/tests/classes/Plugins/Import/ImportOdsTest.php similarity index 98% rename from test/classes/Plugins/Import/ImportOdsTest.php rename to tests/classes/Plugins/Import/ImportOdsTest.php index 3a25b6461c3..33fc9a75eb8 100644 --- a/test/classes/Plugins/Import/ImportOdsTest.php +++ b/tests/classes/Plugins/Import/ImportOdsTest.php @@ -112,7 +112,7 @@ public function testDoImport(): void $GLOBALS['sql_query_disabled'] = false; - $GLOBALS['import_file'] = 'test/test_data/db_test.ods'; + $GLOBALS['import_file'] = 'tests/test_data/db_test.ods'; $_REQUEST['ods_empty_rows'] = true; $this->dummyDbi = $this->createDbiDummy(); @@ -169,7 +169,7 @@ public function testDoImportDataset2(bool $odsEmptyRowsMode): void $GLOBALS['sql_query_disabled'] = false; - $GLOBALS['import_file'] = 'test/test_data/import-slim.ods.xml'; + $GLOBALS['import_file'] = 'tests/test_data/import-slim.ods.xml'; $_REQUEST['ods_col_names'] = true; $_REQUEST['ods_empty_rows'] = $odsEmptyRowsMode; diff --git a/test/classes/Plugins/Import/ImportShpTest.php b/tests/classes/Plugins/Import/ImportShpTest.php similarity index 98% rename from test/classes/Plugins/Import/ImportShpTest.php rename to tests/classes/Plugins/Import/ImportShpTest.php index 74b5070c3ca..0bdb38a77d1 100644 --- a/test/classes/Plugins/Import/ImportShpTest.php +++ b/tests/classes/Plugins/Import/ImportShpTest.php @@ -132,7 +132,7 @@ public function testImportOsm(): void $GLOBALS['db'] = ''; //Test function called - $this->runImport('test/test_data/dresden_osm.shp.zip'); + $this->runImport('tests/test_data/dresden_osm.shp.zip'); $this->assertMessages($GLOBALS['import_notice']); @@ -167,7 +167,7 @@ public function testDoImport(): void $GLOBALS['db'] = ''; //Test function called - $this->runImport('test/test_data/timezone.shp.zip'); + $this->runImport('tests/test_data/timezone.shp.zip'); // asset that all sql are executed $this->assertStringContainsString( diff --git a/test/classes/Plugins/Import/ImportSqlTest.php b/tests/classes/Plugins/Import/ImportSqlTest.php similarity index 97% rename from test/classes/Plugins/Import/ImportSqlTest.php rename to tests/classes/Plugins/Import/ImportSqlTest.php index 09c56f6779c..f4c7e51b9d6 100644 --- a/test/classes/Plugins/Import/ImportSqlTest.php +++ b/tests/classes/Plugins/Import/ImportSqlTest.php @@ -46,7 +46,7 @@ protected function setUp(): void $GLOBALS['offset'] = 0; Config::getInstance()->selectedServer['DisableIS'] = false; - $GLOBALS['import_file'] = 'test/test_data/pma_bookmark.sql'; + $GLOBALS['import_file'] = 'tests/test_data/pma_bookmark.sql'; $GLOBALS['import_text'] = 'ImportSql_Test'; $GLOBALS['compression'] = 'none'; $GLOBALS['read_multiply'] = 10; diff --git a/test/classes/Plugins/Import/ImportXmlTest.php b/tests/classes/Plugins/Import/ImportXmlTest.php similarity index 98% rename from test/classes/Plugins/Import/ImportXmlTest.php rename to tests/classes/Plugins/Import/ImportXmlTest.php index 19ff98e8317..378091c3136 100644 --- a/test/classes/Plugins/Import/ImportXmlTest.php +++ b/tests/classes/Plugins/Import/ImportXmlTest.php @@ -53,7 +53,7 @@ protected function setUp(): void $GLOBALS['offset'] = 0; Config::getInstance()->selectedServer['DisableIS'] = false; - $GLOBALS['import_file'] = 'test/test_data/phpmyadmin_importXML_For_Testing.xml'; + $GLOBALS['import_file'] = 'tests/test_data/phpmyadmin_importXML_For_Testing.xml'; $GLOBALS['import_text'] = 'ImportXml_Test'; $GLOBALS['compression'] = 'none'; $GLOBALS['read_multiply'] = 10; diff --git a/test/classes/Plugins/Schema/DiaRelationSchemaTest.php b/tests/classes/Plugins/Schema/DiaRelationSchemaTest.php similarity index 100% rename from test/classes/Plugins/Schema/DiaRelationSchemaTest.php rename to tests/classes/Plugins/Schema/DiaRelationSchemaTest.php diff --git a/test/classes/Plugins/Schema/EpsRelationSchemaTest.php b/tests/classes/Plugins/Schema/EpsRelationSchemaTest.php similarity index 100% rename from test/classes/Plugins/Schema/EpsRelationSchemaTest.php rename to tests/classes/Plugins/Schema/EpsRelationSchemaTest.php diff --git a/test/classes/Plugins/Schema/ExportRelationSchemaTest.php b/tests/classes/Plugins/Schema/ExportRelationSchemaTest.php similarity index 100% rename from test/classes/Plugins/Schema/ExportRelationSchemaTest.php rename to tests/classes/Plugins/Schema/ExportRelationSchemaTest.php diff --git a/test/classes/Plugins/Schema/PdfRelationSchemaTest.php b/tests/classes/Plugins/Schema/PdfRelationSchemaTest.php similarity index 100% rename from test/classes/Plugins/Schema/PdfRelationSchemaTest.php rename to tests/classes/Plugins/Schema/PdfRelationSchemaTest.php diff --git a/test/classes/Plugins/Schema/SchemaDiaTest.php b/tests/classes/Plugins/Schema/SchemaDiaTest.php similarity index 100% rename from test/classes/Plugins/Schema/SchemaDiaTest.php rename to tests/classes/Plugins/Schema/SchemaDiaTest.php diff --git a/test/classes/Plugins/Schema/SchemaEpsTest.php b/tests/classes/Plugins/Schema/SchemaEpsTest.php similarity index 100% rename from test/classes/Plugins/Schema/SchemaEpsTest.php rename to tests/classes/Plugins/Schema/SchemaEpsTest.php diff --git a/test/classes/Plugins/Schema/SchemaPdfTest.php b/tests/classes/Plugins/Schema/SchemaPdfTest.php similarity index 100% rename from test/classes/Plugins/Schema/SchemaPdfTest.php rename to tests/classes/Plugins/Schema/SchemaPdfTest.php diff --git a/test/classes/Plugins/Schema/SchemaSvgTest.php b/tests/classes/Plugins/Schema/SchemaSvgTest.php similarity index 100% rename from test/classes/Plugins/Schema/SchemaSvgTest.php rename to tests/classes/Plugins/Schema/SchemaSvgTest.php diff --git a/test/classes/Plugins/Schema/SvgRelationSchemaTest.php b/tests/classes/Plugins/Schema/SvgRelationSchemaTest.php similarity index 100% rename from test/classes/Plugins/Schema/SvgRelationSchemaTest.php rename to tests/classes/Plugins/Schema/SvgRelationSchemaTest.php diff --git a/test/classes/Plugins/Transformations/TransformationPluginsTest.php b/tests/classes/Plugins/Transformations/TransformationPluginsTest.php similarity index 100% rename from test/classes/Plugins/Transformations/TransformationPluginsTest.php rename to tests/classes/Plugins/Transformations/TransformationPluginsTest.php diff --git a/test/classes/Plugins/TwoFactor/KeyTest.php b/tests/classes/Plugins/TwoFactor/KeyTest.php similarity index 100% rename from test/classes/Plugins/TwoFactor/KeyTest.php rename to tests/classes/Plugins/TwoFactor/KeyTest.php diff --git a/test/classes/Plugins/TwoFactor/WebAuthnTest.php b/tests/classes/Plugins/TwoFactor/WebAuthnTest.php similarity index 100% rename from test/classes/Plugins/TwoFactor/WebAuthnTest.php rename to tests/classes/Plugins/TwoFactor/WebAuthnTest.php diff --git a/test/classes/PluginsTest.php b/tests/classes/PluginsTest.php similarity index 100% rename from test/classes/PluginsTest.php rename to tests/classes/PluginsTest.php diff --git a/test/classes/ProfilingTest.php b/tests/classes/ProfilingTest.php similarity index 100% rename from test/classes/ProfilingTest.php rename to tests/classes/ProfilingTest.php diff --git a/test/classes/Properties/Options/Groups/OptionsPropertyMainGroupTest.php b/tests/classes/Properties/Options/Groups/OptionsPropertyMainGroupTest.php similarity index 100% rename from test/classes/Properties/Options/Groups/OptionsPropertyMainGroupTest.php rename to tests/classes/Properties/Options/Groups/OptionsPropertyMainGroupTest.php diff --git a/test/classes/Properties/Options/Groups/OptionsPropertyRootGroupTest.php b/tests/classes/Properties/Options/Groups/OptionsPropertyRootGroupTest.php similarity index 100% rename from test/classes/Properties/Options/Groups/OptionsPropertyRootGroupTest.php rename to tests/classes/Properties/Options/Groups/OptionsPropertyRootGroupTest.php diff --git a/test/classes/Properties/Options/Groups/OptionsPropertySubgroupTest.php b/tests/classes/Properties/Options/Groups/OptionsPropertySubgroupTest.php similarity index 100% rename from test/classes/Properties/Options/Groups/OptionsPropertySubgroupTest.php rename to tests/classes/Properties/Options/Groups/OptionsPropertySubgroupTest.php diff --git a/test/classes/Properties/Options/Items/PropertyItemsTest.php b/tests/classes/Properties/Options/Items/PropertyItemsTest.php similarity index 100% rename from test/classes/Properties/Options/Items/PropertyItemsTest.php rename to tests/classes/Properties/Options/Items/PropertyItemsTest.php diff --git a/test/classes/Properties/Options/OptionsPropertyGroupTest.php b/tests/classes/Properties/Options/OptionsPropertyGroupTest.php similarity index 100% rename from test/classes/Properties/Options/OptionsPropertyGroupTest.php rename to tests/classes/Properties/Options/OptionsPropertyGroupTest.php diff --git a/test/classes/Properties/Options/OptionsPropertyItemTest.php b/tests/classes/Properties/Options/OptionsPropertyItemTest.php similarity index 100% rename from test/classes/Properties/Options/OptionsPropertyItemTest.php rename to tests/classes/Properties/Options/OptionsPropertyItemTest.php diff --git a/test/classes/Properties/Options/OptionsPropertyOneItemTest.php b/tests/classes/Properties/Options/OptionsPropertyOneItemTest.php similarity index 100% rename from test/classes/Properties/Options/OptionsPropertyOneItemTest.php rename to tests/classes/Properties/Options/OptionsPropertyOneItemTest.php diff --git a/test/classes/Properties/Plugins/ExportPluginPropertiesTest.php b/tests/classes/Properties/Plugins/ExportPluginPropertiesTest.php similarity index 100% rename from test/classes/Properties/Plugins/ExportPluginPropertiesTest.php rename to tests/classes/Properties/Plugins/ExportPluginPropertiesTest.php diff --git a/test/classes/Properties/Plugins/ImportPluginPropertiesTest.php b/tests/classes/Properties/Plugins/ImportPluginPropertiesTest.php similarity index 100% rename from test/classes/Properties/Plugins/ImportPluginPropertiesTest.php rename to tests/classes/Properties/Plugins/ImportPluginPropertiesTest.php diff --git a/test/classes/Properties/Plugins/PluginPropertyItemTest.php b/tests/classes/Properties/Plugins/PluginPropertyItemTest.php similarity index 100% rename from test/classes/Properties/Plugins/PluginPropertyItemTest.php rename to tests/classes/Properties/Plugins/PluginPropertyItemTest.php diff --git a/test/classes/Properties/PropertyItemTest.php b/tests/classes/Properties/PropertyItemTest.php similarity index 100% rename from test/classes/Properties/PropertyItemTest.php rename to tests/classes/Properties/PropertyItemTest.php diff --git a/test/classes/Query/CompatibilityTest.php b/tests/classes/Query/CompatibilityTest.php similarity index 100% rename from test/classes/Query/CompatibilityTest.php rename to tests/classes/Query/CompatibilityTest.php diff --git a/test/classes/Query/GeneratorTest.php b/tests/classes/Query/GeneratorTest.php similarity index 100% rename from test/classes/Query/GeneratorTest.php rename to tests/classes/Query/GeneratorTest.php diff --git a/test/classes/Replication/ReplicationGuiTest.php b/tests/classes/Replication/ReplicationGuiTest.php similarity index 100% rename from test/classes/Replication/ReplicationGuiTest.php rename to tests/classes/Replication/ReplicationGuiTest.php diff --git a/test/classes/ResponseRendererTest.php b/tests/classes/ResponseRendererTest.php similarity index 100% rename from test/classes/ResponseRendererTest.php rename to tests/classes/ResponseRendererTest.php diff --git a/test/classes/Routing/RoutesTest.php b/tests/classes/Routing/RoutesTest.php similarity index 100% rename from test/classes/Routing/RoutesTest.php rename to tests/classes/Routing/RoutesTest.php diff --git a/test/classes/Routing/RoutingTest.php b/tests/classes/Routing/RoutingTest.php similarity index 95% rename from test/classes/Routing/RoutingTest.php rename to tests/classes/Routing/RoutingTest.php index 5bef6d9b418..10409cb05b8 100644 --- a/test/classes/Routing/RoutingTest.php +++ b/tests/classes/Routing/RoutingTest.php @@ -28,8 +28,8 @@ public function testGetDispatcher(): void { $expected = [Dispatcher::FOUND, HomeController::class, []]; $cacheFilename = CACHE_DIR . 'routes.cache.php'; - $validCacheFilename = TEST_PATH . 'test/test_data/routes/routes-valid.cache.txt'; - $invalidCacheFilename = TEST_PATH . 'test/test_data/routes/routes-invalid.cache.txt'; + $validCacheFilename = TEST_PATH . 'tests/test_data/routes/routes-valid.cache.txt'; + $invalidCacheFilename = TEST_PATH . 'tests/test_data/routes/routes-invalid.cache.txt'; $config = Config::getInstance(); $config->settings['environment'] = null; diff --git a/test/classes/SanitizeTest.php b/tests/classes/SanitizeTest.php similarity index 100% rename from test/classes/SanitizeTest.php rename to tests/classes/SanitizeTest.php diff --git a/test/classes/ScriptsTest.php b/tests/classes/ScriptsTest.php similarity index 100% rename from test/classes/ScriptsTest.php rename to tests/classes/ScriptsTest.php diff --git a/test/classes/Server/PluginTest.php b/tests/classes/Server/PluginTest.php similarity index 100% rename from test/classes/Server/PluginTest.php rename to tests/classes/Server/PluginTest.php diff --git a/test/classes/Server/PluginsTest.php b/tests/classes/Server/PluginsTest.php similarity index 100% rename from test/classes/Server/PluginsTest.php rename to tests/classes/Server/PluginsTest.php diff --git a/test/classes/Server/Privileges/AccountLockingTest.php b/tests/classes/Server/Privileges/AccountLockingTest.php similarity index 100% rename from test/classes/Server/Privileges/AccountLockingTest.php rename to tests/classes/Server/Privileges/AccountLockingTest.php diff --git a/test/classes/Server/PrivilegesTest.php b/tests/classes/Server/PrivilegesTest.php similarity index 100% rename from test/classes/Server/PrivilegesTest.php rename to tests/classes/Server/PrivilegesTest.php diff --git a/test/classes/Server/SelectTest.php b/tests/classes/Server/SelectTest.php similarity index 100% rename from test/classes/Server/SelectTest.php rename to tests/classes/Server/SelectTest.php diff --git a/test/classes/Server/SysInfo/SysInfoTest.php b/tests/classes/Server/SysInfo/SysInfoTest.php similarity index 100% rename from test/classes/Server/SysInfo/SysInfoTest.php rename to tests/classes/Server/SysInfo/SysInfoTest.php diff --git a/test/classes/Setup/ConfigGeneratorTest.php b/tests/classes/Setup/ConfigGeneratorTest.php similarity index 100% rename from test/classes/Setup/ConfigGeneratorTest.php rename to tests/classes/Setup/ConfigGeneratorTest.php diff --git a/test/classes/Setup/FormProcessingTest.php b/tests/classes/Setup/FormProcessingTest.php similarity index 100% rename from test/classes/Setup/FormProcessingTest.php rename to tests/classes/Setup/FormProcessingTest.php diff --git a/test/classes/Setup/IndexTest.php b/tests/classes/Setup/IndexTest.php similarity index 100% rename from test/classes/Setup/IndexTest.php rename to tests/classes/Setup/IndexTest.php diff --git a/test/classes/ShowGrantsTest.php b/tests/classes/ShowGrantsTest.php similarity index 100% rename from test/classes/ShowGrantsTest.php rename to tests/classes/ShowGrantsTest.php diff --git a/test/classes/SqlQueryFormTest.php b/tests/classes/SqlQueryFormTest.php similarity index 100% rename from test/classes/SqlQueryFormTest.php rename to tests/classes/SqlQueryFormTest.php diff --git a/test/classes/SqlTest.php b/tests/classes/SqlTest.php similarity index 100% rename from test/classes/SqlTest.php rename to tests/classes/SqlTest.php diff --git a/test/classes/StatementInfoTest.php b/tests/classes/StatementInfoTest.php similarity index 100% rename from test/classes/StatementInfoTest.php rename to tests/classes/StatementInfoTest.php diff --git a/test/classes/StorageEngineTest.php b/tests/classes/StorageEngineTest.php similarity index 100% rename from test/classes/StorageEngineTest.php rename to tests/classes/StorageEngineTest.php diff --git a/test/classes/Stubs/DbiDummy.php b/tests/classes/Stubs/DbiDummy.php similarity index 100% rename from test/classes/Stubs/DbiDummy.php rename to tests/classes/Stubs/DbiDummy.php diff --git a/test/classes/Stubs/DummyResult.php b/tests/classes/Stubs/DummyResult.php similarity index 100% rename from test/classes/Stubs/DummyResult.php rename to tests/classes/Stubs/DummyResult.php diff --git a/test/classes/Stubs/ResponseRenderer.php b/tests/classes/Stubs/ResponseRenderer.php similarity index 100% rename from test/classes/Stubs/ResponseRenderer.php rename to tests/classes/Stubs/ResponseRenderer.php diff --git a/test/classes/SystemDatabaseTest.php b/tests/classes/SystemDatabaseTest.php similarity index 100% rename from test/classes/SystemDatabaseTest.php rename to tests/classes/SystemDatabaseTest.php diff --git a/test/classes/Table/ColumnsDefinitionTest.php b/tests/classes/Table/ColumnsDefinitionTest.php similarity index 100% rename from test/classes/Table/ColumnsDefinitionTest.php rename to tests/classes/Table/ColumnsDefinitionTest.php diff --git a/test/classes/Table/IndexesTest.php b/tests/classes/Table/IndexesTest.php similarity index 100% rename from test/classes/Table/IndexesTest.php rename to tests/classes/Table/IndexesTest.php diff --git a/test/classes/Table/Maintenance/MessageTest.php b/tests/classes/Table/Maintenance/MessageTest.php similarity index 100% rename from test/classes/Table/Maintenance/MessageTest.php rename to tests/classes/Table/Maintenance/MessageTest.php diff --git a/test/classes/Table/SearchTest.php b/tests/classes/Table/SearchTest.php similarity index 100% rename from test/classes/Table/SearchTest.php rename to tests/classes/Table/SearchTest.php diff --git a/test/classes/Table/TableTest.php b/tests/classes/Table/TableTest.php similarity index 100% rename from test/classes/Table/TableTest.php rename to tests/classes/Table/TableTest.php diff --git a/test/classes/TemplateTest.php b/tests/classes/TemplateTest.php similarity index 100% rename from test/classes/TemplateTest.php rename to tests/classes/TemplateTest.php diff --git a/test/classes/Theme/ThemeManagerTest.php b/tests/classes/Theme/ThemeManagerTest.php similarity index 100% rename from test/classes/Theme/ThemeManagerTest.php rename to tests/classes/Theme/ThemeManagerTest.php diff --git a/test/classes/Theme/ThemeTest.php b/tests/classes/Theme/ThemeTest.php similarity index 97% rename from test/classes/Theme/ThemeTest.php rename to tests/classes/Theme/ThemeTest.php index 3d2568cf18c..be9f98a8df7 100644 --- a/test/classes/Theme/ThemeTest.php +++ b/tests/classes/Theme/ThemeTest.php @@ -54,7 +54,7 @@ public function testCheckImgPathNotExisted(): void */ public function testCheckImgPathIncorrect(): void { - $this->object->setPath(TEST_PATH . 'test/classes/_data/incorrect_theme'); + $this->object->setPath(TEST_PATH . 'tests/classes/_data/incorrect_theme'); $this->assertFalse( $this->object->loadInfo(), 'Theme name is not properly set', @@ -66,7 +66,7 @@ public function testCheckImgPathIncorrect(): void */ public function testCheckImgPathFull(): void { - $this->object->setFsPath(TEST_PATH . 'test/classes/_data/gen_version_info/'); + $this->object->setFsPath(TEST_PATH . 'tests/classes/_data/gen_version_info/'); $this->assertTrue($this->object->loadInfo()); $this->assertEquals('Test Theme', $this->object->getName()); $this->assertEquals('6.0', $this->object->getVersion()); diff --git a/test/classes/Tracking/TrackerTest.php b/tests/classes/Tracking/TrackerTest.php similarity index 100% rename from test/classes/Tracking/TrackerTest.php rename to tests/classes/Tracking/TrackerTest.php diff --git a/test/classes/Tracking/TrackingCheckerTest.php b/tests/classes/Tracking/TrackingCheckerTest.php similarity index 100% rename from test/classes/Tracking/TrackingCheckerTest.php rename to tests/classes/Tracking/TrackingCheckerTest.php diff --git a/test/classes/Tracking/TrackingTest.php b/tests/classes/Tracking/TrackingTest.php similarity index 100% rename from test/classes/Tracking/TrackingTest.php rename to tests/classes/Tracking/TrackingTest.php diff --git a/test/classes/TransformationsTest.php b/tests/classes/TransformationsTest.php similarity index 100% rename from test/classes/TransformationsTest.php rename to tests/classes/TransformationsTest.php diff --git a/test/classes/Triggers/TriggerTest.php b/tests/classes/Triggers/TriggerTest.php similarity index 100% rename from test/classes/Triggers/TriggerTest.php rename to tests/classes/Triggers/TriggerTest.php diff --git a/test/classes/Triggers/TriggersTest.php b/tests/classes/Triggers/TriggersTest.php similarity index 100% rename from test/classes/Triggers/TriggersTest.php rename to tests/classes/Triggers/TriggersTest.php diff --git a/test/classes/TwoFactorTest.php b/tests/classes/TwoFactorTest.php similarity index 100% rename from test/classes/TwoFactorTest.php rename to tests/classes/TwoFactorTest.php diff --git a/test/classes/TypesByDatabaseVersionTest.php b/tests/classes/TypesByDatabaseVersionTest.php similarity index 100% rename from test/classes/TypesByDatabaseVersionTest.php rename to tests/classes/TypesByDatabaseVersionTest.php diff --git a/test/classes/TypesTest.php b/tests/classes/TypesTest.php similarity index 100% rename from test/classes/TypesTest.php rename to tests/classes/TypesTest.php diff --git a/test/classes/UniqueConditionTest.php b/tests/classes/UniqueConditionTest.php similarity index 100% rename from test/classes/UniqueConditionTest.php rename to tests/classes/UniqueConditionTest.php diff --git a/test/classes/UrlTest.php b/tests/classes/UrlTest.php similarity index 100% rename from test/classes/UrlTest.php rename to tests/classes/UrlTest.php diff --git a/test/classes/UserPasswordTest.php b/tests/classes/UserPasswordTest.php similarity index 100% rename from test/classes/UserPasswordTest.php rename to tests/classes/UserPasswordTest.php diff --git a/test/classes/UserPreferencesTest.php b/tests/classes/UserPreferencesTest.php similarity index 100% rename from test/classes/UserPreferencesTest.php rename to tests/classes/UserPreferencesTest.php diff --git a/test/classes/UtilTest.php b/tests/classes/UtilTest.php similarity index 100% rename from test/classes/UtilTest.php rename to tests/classes/UtilTest.php diff --git a/test/classes/Utils/ForeignKeyTest.php b/tests/classes/Utils/ForeignKeyTest.php similarity index 100% rename from test/classes/Utils/ForeignKeyTest.php rename to tests/classes/Utils/ForeignKeyTest.php diff --git a/test/classes/Utils/FormatConverterTest.php b/tests/classes/Utils/FormatConverterTest.php similarity index 100% rename from test/classes/Utils/FormatConverterTest.php rename to tests/classes/Utils/FormatConverterTest.php diff --git a/test/classes/Utils/GisTest.php b/tests/classes/Utils/GisTest.php similarity index 100% rename from test/classes/Utils/GisTest.php rename to tests/classes/Utils/GisTest.php diff --git a/test/classes/Utils/HttpRequestTest.php b/tests/classes/Utils/HttpRequestTest.php similarity index 100% rename from test/classes/Utils/HttpRequestTest.php rename to tests/classes/Utils/HttpRequestTest.php diff --git a/test/classes/Utils/SessionCacheTest.php b/tests/classes/Utils/SessionCacheTest.php similarity index 100% rename from test/classes/Utils/SessionCacheTest.php rename to tests/classes/Utils/SessionCacheTest.php diff --git a/test/classes/VersionInformationTest.php b/tests/classes/VersionInformationTest.php similarity index 100% rename from test/classes/VersionInformationTest.php rename to tests/classes/VersionInformationTest.php diff --git a/test/classes/VersionTest.php b/tests/classes/VersionTest.php similarity index 100% rename from test/classes/VersionTest.php rename to tests/classes/VersionTest.php diff --git a/test/classes/WebAuthn/CBORDecoderTest.php b/tests/classes/WebAuthn/CBORDecoderTest.php similarity index 100% rename from test/classes/WebAuthn/CBORDecoderTest.php rename to tests/classes/WebAuthn/CBORDecoderTest.php diff --git a/test/classes/WebAuthn/WebauthnLibServerTest.php b/tests/classes/WebAuthn/WebauthnLibServerTest.php similarity index 100% rename from test/classes/WebAuthn/WebauthnLibServerTest.php rename to tests/classes/WebAuthn/WebauthnLibServerTest.php diff --git a/test/classes/ZipExtensionTest.php b/tests/classes/ZipExtensionTest.php similarity index 91% rename from test/classes/ZipExtensionTest.php rename to tests/classes/ZipExtensionTest.php index fad3935475a..d10255a490b 100644 --- a/test/classes/ZipExtensionTest.php +++ b/tests/classes/ZipExtensionTest.php @@ -52,17 +52,17 @@ public static function provideTestGetContents(): array { return [ 'null as specific entry' => [ - './test/test_data/test.zip', + './tests/test_data/test.zip', null, ['error' => '', 'data' => 'TEST FILE' . "\n"], ], 'an existent specific entry' => [ - './test/test_data/test.zip', + './tests/test_data/test.zip', '/test.file/', ['error' => '', 'data' => 'TEST FILE' . "\n"], ], 'a nonexistent specific entry' => [ - './test/test_data/test.zip', + './tests/test_data/test.zip', '/foobar/', ['error' => 'Error in ZIP archive: Could not find "/foobar/"', 'data' => ''], ], @@ -95,8 +95,8 @@ public function testFindFile(string $file, string $fileRegexp, string|bool $outp public static function provideTestFindFile(): array { return [ - ['./test/test_data/test.zip', '/test/', 'test.file'], - ['./test/test_data/test.zip', '/invalid/', false], + ['./tests/test_data/test.zip', '/test/', 'test.file'], + ['./tests/test_data/test.zip', '/invalid/', false], ]; } @@ -106,7 +106,7 @@ public static function provideTestFindFile(): array public function testGetNumberOfFiles(): void { $this->assertEquals( - $this->zipExtension->getNumberOfFiles('./test/test_data/test.zip'), + $this->zipExtension->getNumberOfFiles('./tests/test_data/test.zip'), 1, ); } @@ -118,14 +118,14 @@ public function testExtract(): void { $this->assertFalse( $this->zipExtension->extract( - './test/test_data/test.zip', + './tests/test_data/test.zip', 'wrongName', ), ); $this->assertEquals( "TEST FILE\n", $this->zipExtension->extract( - './test/test_data/test.zip', + './tests/test_data/test.zip', 'test.file', ), ); diff --git a/test/classes/_data/file_listing/one.txt b/tests/classes/_data/file_listing/one.txt similarity index 100% rename from test/classes/_data/file_listing/one.txt rename to tests/classes/_data/file_listing/one.txt diff --git a/test/classes/_data/file_listing/subfolder/one.ini b/tests/classes/_data/file_listing/subfolder/one.ini similarity index 100% rename from test/classes/_data/file_listing/subfolder/one.ini rename to tests/classes/_data/file_listing/subfolder/one.ini diff --git a/test/classes/_data/file_listing/subfolder/zero.txt b/tests/classes/_data/file_listing/subfolder/zero.txt similarity index 100% rename from test/classes/_data/file_listing/subfolder/zero.txt rename to tests/classes/_data/file_listing/subfolder/zero.txt diff --git a/test/classes/_data/file_listing/two.md b/tests/classes/_data/file_listing/two.md similarity index 100% rename from test/classes/_data/file_listing/two.md rename to tests/classes/_data/file_listing/two.md diff --git a/test/classes/_data/gen_version_info/theme.json b/tests/classes/_data/gen_version_info/theme.json similarity index 100% rename from test/classes/_data/gen_version_info/theme.json rename to tests/classes/_data/gen_version_info/theme.json diff --git a/test/classes/_data/incorrect_theme/theme.json b/tests/classes/_data/incorrect_theme/theme.json similarity index 100% rename from test/classes/_data/incorrect_theme/theme.json rename to tests/classes/_data/incorrect_theme/theme.json diff --git a/test/config.e2e.inc.php b/tests/config.e2e.inc.php similarity index 84% rename from test/config.e2e.inc.php rename to tests/config.e2e.inc.php index 1a7260021f4..83ad7beeb77 100644 --- a/test/config.e2e.inc.php +++ b/tests/config.e2e.inc.php @@ -8,5 +8,5 @@ $cfg['Servers'][$i]['verbose'] = 'Local'; $cfg['Servers'][$i]['host'] = '127.0.0.1'; $cfg['Servers'][$i]['auth_type'] = 'cookie'; -$cfg['UploadDir'] = '../test/test_data/'; +$cfg['UploadDir'] = '../tests/test_data/'; $cfg['Console']['Mode'] = 'show'; diff --git a/test/doctum-config.php b/tests/doctum-config.php similarity index 100% rename from test/doctum-config.php rename to tests/doctum-config.php diff --git a/test/javascript/functions.test.ts b/tests/javascript/functions.test.ts similarity index 100% rename from test/javascript/functions.test.ts rename to tests/javascript/functions.test.ts diff --git a/test/javascript/sql.test.ts b/tests/javascript/sql.test.ts similarity index 100% rename from test/javascript/sql.test.ts rename to tests/javascript/sql.test.ts diff --git a/test/nginx.conf b/tests/nginx.conf similarity index 100% rename from test/nginx.conf rename to tests/nginx.conf diff --git a/test/php-fpm.conf b/tests/php-fpm.conf similarity index 100% rename from test/php-fpm.conf rename to tests/php-fpm.conf diff --git a/test/php.ini b/tests/php.ini similarity index 100% rename from test/php.ini rename to tests/php.ini diff --git a/test/phpstan-constants.php b/tests/phpstan-constants.php similarity index 100% rename from test/phpstan-constants.php rename to tests/phpstan-constants.php diff --git a/test/selenium/ChangePasswordTest.php b/tests/selenium/ChangePasswordTest.php similarity index 100% rename from test/selenium/ChangePasswordTest.php rename to tests/selenium/ChangePasswordTest.php diff --git a/test/selenium/CreateDropDatabaseTest.php b/tests/selenium/CreateDropDatabaseTest.php similarity index 100% rename from test/selenium/CreateDropDatabaseTest.php rename to tests/selenium/CreateDropDatabaseTest.php diff --git a/test/selenium/CreateRemoveUserTest.php b/tests/selenium/CreateRemoveUserTest.php similarity index 100% rename from test/selenium/CreateRemoveUserTest.php rename to tests/selenium/CreateRemoveUserTest.php diff --git a/test/selenium/Database/EventsTest.php b/tests/selenium/Database/EventsTest.php similarity index 100% rename from test/selenium/Database/EventsTest.php rename to tests/selenium/Database/EventsTest.php diff --git a/test/selenium/Database/OperationsTest.php b/tests/selenium/Database/OperationsTest.php similarity index 100% rename from test/selenium/Database/OperationsTest.php rename to tests/selenium/Database/OperationsTest.php diff --git a/test/selenium/Database/ProceduresTest.php b/tests/selenium/Database/ProceduresTest.php similarity index 100% rename from test/selenium/Database/ProceduresTest.php rename to tests/selenium/Database/ProceduresTest.php diff --git a/test/selenium/Database/StructureTest.php b/tests/selenium/Database/StructureTest.php similarity index 100% rename from test/selenium/Database/StructureTest.php rename to tests/selenium/Database/StructureTest.php diff --git a/test/selenium/ExportTest.php b/tests/selenium/ExportTest.php similarity index 100% rename from test/selenium/ExportTest.php rename to tests/selenium/ExportTest.php diff --git a/test/selenium/ImportTest.php b/tests/selenium/ImportTest.php similarity index 100% rename from test/selenium/ImportTest.php rename to tests/selenium/ImportTest.php diff --git a/test/selenium/LoginTest.php b/tests/selenium/LoginTest.php similarity index 100% rename from test/selenium/LoginTest.php rename to tests/selenium/LoginTest.php diff --git a/test/selenium/NormalizationTest.php b/tests/selenium/NormalizationTest.php similarity index 100% rename from test/selenium/NormalizationTest.php rename to tests/selenium/NormalizationTest.php diff --git a/test/selenium/ServerSettingsTest.php b/tests/selenium/ServerSettingsTest.php similarity index 100% rename from test/selenium/ServerSettingsTest.php rename to tests/selenium/ServerSettingsTest.php diff --git a/test/selenium/SqlQueryTest.php b/tests/selenium/SqlQueryTest.php similarity index 100% rename from test/selenium/SqlQueryTest.php rename to tests/selenium/SqlQueryTest.php diff --git a/test/selenium/Table/BrowseTest.php b/tests/selenium/Table/BrowseTest.php similarity index 100% rename from test/selenium/Table/BrowseTest.php rename to tests/selenium/Table/BrowseTest.php diff --git a/test/selenium/Table/CreateTest.php b/tests/selenium/Table/CreateTest.php similarity index 100% rename from test/selenium/Table/CreateTest.php rename to tests/selenium/Table/CreateTest.php diff --git a/test/selenium/Table/InsertTest.php b/tests/selenium/Table/InsertTest.php similarity index 100% rename from test/selenium/Table/InsertTest.php rename to tests/selenium/Table/InsertTest.php diff --git a/test/selenium/Table/OperationsTest.php b/tests/selenium/Table/OperationsTest.php similarity index 100% rename from test/selenium/Table/OperationsTest.php rename to tests/selenium/Table/OperationsTest.php diff --git a/test/selenium/Table/StructureTest.php b/tests/selenium/Table/StructureTest.php similarity index 100% rename from test/selenium/Table/StructureTest.php rename to tests/selenium/Table/StructureTest.php diff --git a/test/selenium/TestBase.php b/tests/selenium/TestBase.php similarity index 100% rename from test/selenium/TestBase.php rename to tests/selenium/TestBase.php diff --git a/test/selenium/TrackingTest.php b/tests/selenium/TrackingTest.php similarity index 100% rename from test/selenium/TrackingTest.php rename to tests/selenium/TrackingTest.php diff --git a/test/selenium/TriggersTest.php b/tests/selenium/TriggersTest.php similarity index 100% rename from test/selenium/TriggersTest.php rename to tests/selenium/TriggersTest.php diff --git a/test/selenium/XssTest.php b/tests/selenium/XssTest.php similarity index 100% rename from test/selenium/XssTest.php rename to tests/selenium/XssTest.php diff --git a/test/start-local-server b/tests/start-local-server similarity index 96% rename from test/start-local-server rename to tests/start-local-server index 4519af68bb6..c0780c43209 100755 --- a/test/start-local-server +++ b/tests/start-local-server @@ -19,7 +19,7 @@ DIR=`mktemp -d --suffix=-phpMyAdminTest` CURRENT=`pwd` # Create configuration with correct paths -cp test/nginx.conf test/php-fpm.conf test/php.ini $DIR/ +cp tests/nginx.conf tests/php-fpm.conf tests/php.ini $DIR/ sed -i -e "s,%DIR%,$DIR," -e "s,%ROOT%,$CURRENT," $DIR/* mkdir $DIR/sessions diff --git a/test/stop-local-server b/tests/stop-local-server similarity index 100% rename from test/stop-local-server rename to tests/stop-local-server diff --git a/test/stubs/uploadprogress.stub b/tests/stubs/uploadprogress.stub similarity index 100% rename from test/stubs/uploadprogress.stub rename to tests/stubs/uploadprogress.stub diff --git a/test/test_data/config.inc.php b/tests/test_data/config.inc.php similarity index 100% rename from test/test_data/config.inc.php rename to tests/test_data/config.inc.php diff --git a/test/test_data/db_import.sql b/tests/test_data/db_import.sql similarity index 100% rename from test/test_data/db_import.sql rename to tests/test_data/db_import.sql diff --git a/test/test_data/db_test.csv b/tests/test_data/db_test.csv similarity index 100% rename from test/test_data/db_test.csv rename to tests/test_data/db_test.csv diff --git a/test/test_data/db_test.ods b/tests/test_data/db_test.ods similarity index 100% rename from test/test_data/db_test.ods rename to tests/test_data/db_test.ods diff --git a/test/test_data/db_test_ldi.csv b/tests/test_data/db_test_ldi.csv similarity index 100% rename from test/test_data/db_test_ldi.csv rename to tests/test_data/db_test_ldi.csv diff --git a/test/test_data/dresden_osm.shp.zip b/tests/test_data/dresden_osm.shp.zip similarity index 100% rename from test/test_data/dresden_osm.shp.zip rename to tests/test_data/dresden_osm.shp.zip diff --git a/test/test_data/exploit_test.sql b/tests/test_data/exploit_test.sql similarity index 100% rename from test/test_data/exploit_test.sql rename to tests/test_data/exploit_test.sql diff --git a/test/test_data/gis/.gitignore b/tests/test_data/gis/.gitignore similarity index 100% rename from test/test_data/gis/.gitignore rename to tests/test_data/gis/.gitignore diff --git a/test/test_data/gis/geometrycollection-expected.pdf b/tests/test_data/gis/geometrycollection-expected.pdf similarity index 100% rename from test/test_data/gis/geometrycollection-expected.pdf rename to tests/test_data/gis/geometrycollection-expected.pdf diff --git a/test/test_data/gis/geometrycollection-expected.png b/tests/test_data/gis/geometrycollection-expected.png similarity index 100% rename from test/test_data/gis/geometrycollection-expected.png rename to tests/test_data/gis/geometrycollection-expected.png diff --git a/test/test_data/gis/linestring-expected.pdf b/tests/test_data/gis/linestring-expected.pdf similarity index 100% rename from test/test_data/gis/linestring-expected.pdf rename to tests/test_data/gis/linestring-expected.pdf diff --git a/test/test_data/gis/linestring-expected.png b/tests/test_data/gis/linestring-expected.png similarity index 100% rename from test/test_data/gis/linestring-expected.png rename to tests/test_data/gis/linestring-expected.png diff --git a/test/test_data/gis/multilinestring-expected.pdf b/tests/test_data/gis/multilinestring-expected.pdf similarity index 100% rename from test/test_data/gis/multilinestring-expected.pdf rename to tests/test_data/gis/multilinestring-expected.pdf diff --git a/test/test_data/gis/multilinestring-expected.png b/tests/test_data/gis/multilinestring-expected.png similarity index 100% rename from test/test_data/gis/multilinestring-expected.png rename to tests/test_data/gis/multilinestring-expected.png diff --git a/test/test_data/gis/multipoint-expected-x86.pdf b/tests/test_data/gis/multipoint-expected-x86.pdf similarity index 100% rename from test/test_data/gis/multipoint-expected-x86.pdf rename to tests/test_data/gis/multipoint-expected-x86.pdf diff --git a/test/test_data/gis/multipoint-expected.pdf b/tests/test_data/gis/multipoint-expected.pdf similarity index 100% rename from test/test_data/gis/multipoint-expected.pdf rename to tests/test_data/gis/multipoint-expected.pdf diff --git a/test/test_data/gis/multipoint-expected.png b/tests/test_data/gis/multipoint-expected.png similarity index 100% rename from test/test_data/gis/multipoint-expected.png rename to tests/test_data/gis/multipoint-expected.png diff --git a/test/test_data/gis/multipolygon-expected.pdf b/tests/test_data/gis/multipolygon-expected.pdf similarity index 100% rename from test/test_data/gis/multipolygon-expected.pdf rename to tests/test_data/gis/multipolygon-expected.pdf diff --git a/test/test_data/gis/multipolygon-expected.png b/tests/test_data/gis/multipolygon-expected.png similarity index 100% rename from test/test_data/gis/multipolygon-expected.png rename to tests/test_data/gis/multipolygon-expected.png diff --git a/test/test_data/gis/point-expected-x86.pdf b/tests/test_data/gis/point-expected-x86.pdf similarity index 100% rename from test/test_data/gis/point-expected-x86.pdf rename to tests/test_data/gis/point-expected-x86.pdf diff --git a/test/test_data/gis/point-expected.pdf b/tests/test_data/gis/point-expected.pdf similarity index 100% rename from test/test_data/gis/point-expected.pdf rename to tests/test_data/gis/point-expected.pdf diff --git a/test/test_data/gis/point-expected.png b/tests/test_data/gis/point-expected.png similarity index 100% rename from test/test_data/gis/point-expected.png rename to tests/test_data/gis/point-expected.png diff --git a/test/test_data/gis/polygon-expected.pdf b/tests/test_data/gis/polygon-expected.pdf similarity index 100% rename from test/test_data/gis/polygon-expected.pdf rename to tests/test_data/gis/polygon-expected.pdf diff --git a/test/test_data/gis/polygon-expected.png b/tests/test_data/gis/polygon-expected.png similarity index 100% rename from test/test_data/gis/polygon-expected.png rename to tests/test_data/gis/polygon-expected.png diff --git a/test/test_data/import-slim.ods.xml b/tests/test_data/import-slim.ods.xml similarity index 100% rename from test/test_data/import-slim.ods.xml rename to tests/test_data/import-slim.ods.xml diff --git a/test/test_data/phpmyadmin.mediawiki b/tests/test_data/phpmyadmin.mediawiki similarity index 100% rename from test/test_data/phpmyadmin.mediawiki rename to tests/test_data/phpmyadmin.mediawiki diff --git a/test/test_data/phpmyadmin_importXML_For_Testing.xml b/tests/test_data/phpmyadmin_importXML_For_Testing.xml similarity index 100% rename from test/test_data/phpmyadmin_importXML_For_Testing.xml rename to tests/test_data/phpmyadmin_importXML_For_Testing.xml diff --git a/test/test_data/pma_bookmark.sql b/tests/test_data/pma_bookmark.sql similarity index 100% rename from test/test_data/pma_bookmark.sql rename to tests/test_data/pma_bookmark.sql diff --git a/test/test_data/routes/routes-invalid.cache.txt b/tests/test_data/routes/routes-invalid.cache.txt similarity index 100% rename from test/test_data/routes/routes-invalid.cache.txt rename to tests/test_data/routes/routes-invalid.cache.txt diff --git a/test/test_data/routes/routes-valid.cache.txt b/tests/test_data/routes/routes-valid.cache.txt similarity index 100% rename from test/test_data/routes/routes-valid.cache.txt rename to tests/test_data/routes/routes-valid.cache.txt diff --git a/test/test_data/server_import.sql b/tests/test_data/server_import.sql similarity index 100% rename from test/test_data/server_import.sql rename to tests/test_data/server_import.sql diff --git a/test/test_data/table_import.sql b/tests/test_data/table_import.sql similarity index 100% rename from test/test_data/table_import.sql rename to tests/test_data/table_import.sql diff --git a/test/test_data/test.bz2 b/tests/test_data/test.bz2 similarity index 100% rename from test/test_data/test.bz2 rename to tests/test_data/test.bz2 diff --git a/test/test_data/test.file b/tests/test_data/test.file similarity index 100% rename from test/test_data/test.file rename to tests/test_data/test.file diff --git a/test/test_data/test.gz b/tests/test_data/test.gz similarity index 100% rename from test/test_data/test.gz rename to tests/test_data/test.gz diff --git a/test/test_data/test.zip b/tests/test_data/test.zip similarity index 100% rename from test/test_data/test.zip rename to tests/test_data/test.zip diff --git a/test/test_data/timezone.shp.zip b/tests/test_data/timezone.shp.zip similarity index 100% rename from test/test_data/timezone.shp.zip rename to tests/test_data/timezone.shp.zip