diff --git a/.github/assets/github-actions-1.png b/.github/assets/github-actions-1.png new file mode 100644 index 0000000..d089f71 Binary files /dev/null and b/.github/assets/github-actions-1.png differ diff --git a/.github/assets/github-actions-2.png b/.github/assets/github-actions-2.png new file mode 100644 index 0000000..5deb1d1 Binary files /dev/null and b/.github/assets/github-actions-2.png differ diff --git a/.github/assets/gitlab-code-quality-report.png b/.github/assets/gitlab-code-quality-report.png new file mode 100644 index 0000000..3634154 Binary files /dev/null and b/.github/assets/gitlab-code-quality-report.png differ diff --git a/.github/assets/phpstorm-checkstyle.png b/.github/assets/phpstorm-checkstyle.png new file mode 100644 index 0000000..24ad64d Binary files /dev/null and b/.github/assets/phpstorm-checkstyle.png differ diff --git a/.github/assets/phpstorm-phan.png b/.github/assets/phpstorm-phan.png new file mode 100644 index 0000000..430c7a1 Binary files /dev/null and b/.github/assets/phpstorm-phan.png differ diff --git a/.github/assets/phpstorm-phpcpd.png b/.github/assets/phpstorm-phpcpd.png new file mode 100644 index 0000000..c0904ac Binary files /dev/null and b/.github/assets/phpstorm-phpcpd.png differ diff --git a/.github/assets/phpstorm-phpmd.png b/.github/assets/phpstorm-phpmd.png new file mode 100644 index 0000000..4a5949e Binary files /dev/null and b/.github/assets/phpstorm-phpmd.png differ diff --git a/.github/assets/phpstorm-phpmnd.png b/.github/assets/phpstorm-phpmnd.png new file mode 100644 index 0000000..286e9f6 Binary files /dev/null and b/.github/assets/phpstorm-phpmnd.png differ diff --git a/.github/assets/phpstorm-phpstan.png b/.github/assets/phpstorm-phpstan.png new file mode 100644 index 0000000..7405731 Binary files /dev/null and b/.github/assets/phpstorm-phpstan.png differ diff --git a/.github/assets/phpstorm-psalm.png b/.github/assets/phpstorm-psalm.png new file mode 100644 index 0000000..f56b199 Binary files /dev/null and b/.github/assets/phpstorm-psalm.png differ diff --git a/.github/assets/teamcity-as-code-inspections.png b/.github/assets/teamcity-as-code-inspections.png new file mode 100644 index 0000000..309d3b3 Binary files /dev/null and b/.github/assets/teamcity-as-code-inspections.png differ diff --git a/.github/assets/teamcity-as-failed-test.png b/.github/assets/teamcity-as-failed-test.png new file mode 100644 index 0000000..7bb50ac Binary files /dev/null and b/.github/assets/teamcity-as-failed-test.png differ diff --git a/.github/assets/teamcity-reported-statistic-values.png b/.github/assets/teamcity-reported-statistic-values.png new file mode 100644 index 0000000..88708c7 Binary files /dev/null and b/.github/assets/teamcity-reported-statistic-values.png differ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b85c62e..dd70965 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,14 +38,11 @@ jobs: strategy: matrix: php-version: [ 7.2, 7.3, 7.4 ] - experimental: [ false ] - composer_flags: [ "--prefer-lowest", "" ] build-way: ["build", "update"] + composer_flags: [ "--prefer-lowest", "" ] include: - - php-version: "8.0" - experimental: true - - php-version: "8.1" - experimental: true + - php-version: 8.0 + build-way: update steps: - name: Checkout code uses: actions/checkout@v2 @@ -60,17 +57,15 @@ jobs: tools: composer - name: Build the Project - continue-on-error: ${{ matrix.experimental }} run: make ${{ matrix.build-way }} --no-print-directory - name: ๐Ÿงช PHPUnit Tests - continue-on-error: ${{ matrix.experimental }} + if: ${{ !(matrix.build-way == 'build' && matrix.php-version == 8.0) }} run: make test --no-print-directory - name: Codecov Report uses: codecov/codecov-action@v1 - if: ${{ matrix.build-way == 'update' && matrix.php-version == '7.4' }} - continue-on-error: ${{ matrix.experimental }} + if: ${{ matrix.php-version == 7.4 || matrix.php-version == 8.0 }} with: token: ${{ secrets.CODECOV_TOKEN }} files: '*.xml' @@ -83,13 +78,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [ 7.4 ] - experimental: [ false ] - include: - - php-version: "8.0" - experimental: true - - php-version: "8.1" - experimental: true + php-version: [ 7.2, 7.3, 7.4 ] steps: - name: Checkout code uses: actions/checkout@v2 @@ -103,11 +92,9 @@ jobs: tools: composer - name: Build the Project - continue-on-error: ${{ matrix.experimental }} run: make update --no-print-directory - name: ๐Ÿ‘ Code Quality - continue-on-error: ${{ matrix.experimental }} run: make codestyle --no-print-directory @@ -118,10 +105,9 @@ jobs: matrix: php-version: [ 7.2, 7.3, 7.4 ] experimental: [ false ] + build-way: ["build", "update"] include: - - php-version: "8.0" - experimental: true - - php-version: "8.1" + - php-version: 8.0 experimental: true steps: - name: Checkout code @@ -137,17 +123,11 @@ jobs: - name: Building Phar binary file continue-on-error: ${{ matrix.experimental }} - run: make build --no-print-directory + run: make ${{ matrix.build-way }} --no-print-directory - name: Trying to use the phar file continue-on-error: ${{ matrix.experimental }} - run: | - echo "::group::Try to run it" - ./build/ci-report-converter.phar - echo "::endgroup::" - echo "::group::Show help message" - ./build/ci-report-converter.phar --help - echo "::endgroup::" + run: ./build/ci-report-converter.phar convert --help docker: @@ -163,13 +143,7 @@ jobs: run: make build-docker - name: Trying to use the Docker Image - run: | - echo "::group::Try to run it" - docker run --rm jbzoo-ci-report-converter - echo "::endgroup::" - echo "::group::Show help message" - docker run --rm jbzoo-ci-report-converter convert --help - echo "::endgroup::" + run: docker run --rm jbzoo-ci-report-converter convert --help release: @@ -192,4 +166,4 @@ jobs: with: body: ${{steps.github_release.outputs.changelog}} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 01281c3..a5b87cc 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ build vendor phpunit.xml *.cache +ci-report-converter.phar diff --git a/Makefile b/Makefile index 3e1ec5d..5786138 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ build-docker: update: ##@Project Install/Update all 3rd party dependencies @echo "Composer flags: $(JBZOO_COMPOSER_UPDATE_FLAGS)" @composer update --optimize-autoloader --no-progress $(JBZOO_COMPOSER_UPDATE_FLAGS) + @$(PHP_BIN) `pwd`/vendor/bin/composer-diff @make create-symlink @make build-phar diff --git a/README.md b/README.md index 8372fec..059a8d2 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,30 @@ - [Why?](#why) - [Installing](#installing) - [Using as GitHub Action](#using-as-github-action) + - [Example GitHub Action workflow](#example-github-action-workflow) - [Available Directions](#available-directions) - [Help description in terminal](#help-description-in-terminal) + - [Converting](#converting) + - [Custom Metrics in TeamCity](#custom-metrics-in-teamcity) - [Examples](#examples) + - [JetBrains IDE (IntelliJ IDEA, PhpStorm, WebStorm, etc)](#jetbrains-ide-intellij-idea-phpstorm-webstorm-etc) + - [Mess Detector (phpmd-json)](#mess-detector-phpmd-json) + - [Magic Number Detector (phpmnd)](#magic-number-detector-phpmnd) + - [Copy/Paste Detector (pmd-cpd)](#copypaste-detector-pmd-cpd) + - [PHPStan (checkstyle)](#phpstan-checkstyle) + - [Psalm (psalm-json)](#psalm-psalm-json) + - [Phan (checkstyle)](#phan-checkstyle) + - [TeamCity - Style Issue As Failed Unit test](#teamcity---style-issue-as-failed-unit-test) + - [TeamCity - Style Issue As Code Inspections](#teamcity---style-issue-as-code-inspections) + - [TeamCity - Reported Statistic Values](#teamcity---reported-statistic-values) + - [GitHub Actions](#github-actions) + - [GitLab CI](#gitlab-ci) - [Contributing](#contributing) - [License](#license) - -### Why? +## Why? I believe you are familiar with the huge zoo of various utilities for testing, checking code standards, linters etc. It's really often the output of utilities is not supported in popular CI systems (TeamCity, GitHub, etc...). @@ -34,7 +48,8 @@ Therefore, I developed a converter that changes the report format for deep integ Well... It may seem to you it's a useless thing, and _your favorite super tool_ works fine in TeamCity/PhpStorm. Just take a look at [the examples below](#examples). -### Installing + +## Installing ```shell composer require jbzoo/ci-report-converter @@ -42,14 +57,16 @@ php ./vendor/bin/ci-report-converter --help # OR use phar file wget https://github.com/JBZoo/CI-Report-Converter/releases/latest/download/ci-report-converter.phar -php ./ci-report-converter.phar --help +chmod +x ./ci-report-converter.phar +./ci-report-converter.phar --help # OR just pull the Docker Image docker run --rm jbzoo/ci-report-converter --help ``` -### Using as GitHub Action + +## Using as GitHub Action Action allows you to convert error reports to the [GitHub Annotations format](https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message) * See [demo of error output](https://github.com/JBZoo/CI-Report-Converter/actions/workflows/gh-action.yml?query=is%3Asuccess) @@ -81,16 +98,42 @@ Action allows you to convert error reports to the [GitHub Annotations format](ht ``` +### Example GitHub Action workflow +```yml +name: Linters + +on: + pull_request: + branches: + - "*" + +jobs: + linters: + name: PHPcs + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: PHP Code Sniffer + run: ./vendor/bin/phpcs --report=checkstyle --standard=PSR12 -q ./src > ./build/phpcs-checkstyle.xml + + - name: Converting checkstyle.xml to Github Annotations + uses: jbzoo/ci-report-converter@master + with: + input-file: build/phpcs-checkstyle.xml -### Available Directions +``` +## Available Directions +

-At the moment, conversion of reports works with +At the moment, converting of reports works with * Input Formats: * [checkstyle](tests/fixtures/origin/phpcs/codestyle.xml) - the most popular sort of error report. It works for [Phan](https://github.com/phan/phan), [PHPcs](https://github.com/squizlabs/PHP_CodeSniffer) and others. * [junit](tests/fixtures/origin/phpunit/junit-simple.xml) - also it's really popular sort of error report. Usually, the format is used to display unit test results. @@ -101,11 +144,11 @@ At the moment, conversion of reports works with * Output Formats: * [gitlab-json](tests/fixtures/origin/phpstan/gitlab.json) - [GitLab Custom Report](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#implementing-a-custom-tool). * [junit](tests/fixtures/origin/phpunit/junit-simple.xml) - The most popular sort of reporting. - * [tc-tests](tests/fixtures/test-cases/ConverterTeamCityTest) - [Reporting Tests in TeamCity/PhpStorm/JetBrains](https://www.jetbrains.com/help/teamcity/service-messages.html#Reporting+Tests). + * [tc-tests](tests/fixtures/test-cases/ConverterTeamCityTest/testJUnit.txt) - [Reporting Tests in TeamCity/PhpStorm/JetBrains](https://www.jetbrains.com/help/teamcity/service-messages.html#Reporting+Tests). * [tc-inspections](tests/fixtures/test-cases/ConverterTeamCityInspectionsTest) - [Reporting Inspections in TeamCity](https://www.jetbrains.com/help/teamcity/service-messages.html#Reporting+Inspections). -Als, you can follow [metrics around your code in TeamCity](https://www.jetbrains.com/help/teamcity/service-messages.html#Reporting+Build+Statistics) via `teamcity:stats` +Also, you can follow [metrics around your code in TeamCity](https://www.jetbrains.com/help/teamcity/service-messages.html#Reporting+Build+Statistics) via `teamcity:stats` * [JUnit.xml](tests/fixtures/origin/phpunit/junit-nested.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testJUnitXml.txt) * [PHPUnitClover.xml](tests/fixtures/origin/phpunit/clover.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpUnitCloverXml.txt) * [PHPDepend.xml](tests/fixtures/origin/pdepend/pdepend-old.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpDependXml.txt) @@ -113,9 +156,9 @@ Als, you can follow [metrics around your code in TeamCity](https://www.jetbrains * [PHPMetrics.xml](tests/fixtures/origin/phpmetrics/phpmetrics.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpMetricsXml.txt) -### Help description in terminal +## Help description in terminal -Convert one report format to another one +### Converting ``` $ php ./vendor/bin/ci-report-converter convert --help @@ -131,7 +174,7 @@ Options: -N, --suite-name=SUITE-NAME Set custom name of root group/suite -I, --input-file[=INPUT-FILE] File path with the original report format. If not set or empty, then the STDIN is used. -O, --output-file[=OUTPUT-FILE] File path with the result report format. If not set or empty, then the STDOUT is used. - -R, --root-path[=ROOT-PATH] If option is set, all absolute file paths will be converted to relative once. + -R, --root-path[=ROOT-PATH] If option is set, all absolute file paths will be converted to relative once. [default: "."] -F, --tc-flow-id[=TC-FLOW-ID] Custom flowId for TeamCity output -h, --help Display this help message -q, --quiet Do not output any message @@ -144,7 +187,10 @@ Options: ``` -Push code metrics to TeamCity Stats + +### Custom Metrics in TeamCity + +To clarify the use of the method, take a look at the [examples and screenshots](#teamcity---reported-statistic-values) below, please. ``` $ php ./vendor/bin/ci-report-converter teamcity:stats --help @@ -158,7 +204,7 @@ Options: -S, --input-format=INPUT-FORMAT Source format. Available options: junit-xml, pdepend-xml, phploc-json, phpmetrics-xml, phpunit-clover-xml -I, --input-file[=INPUT-FILE] File path with the original report format. If not set or empty, then the STDIN is used. -O, --output-file[=OUTPUT-FILE] File path with the result report format. If not set or empty, then the STDOUT is used. - -R, --root-path[=ROOT-PATH] If option is set, all absolute file paths will be converted to relative once. + -R, --root-path[=ROOT-PATH] If option is set, all absolute file paths will be converted to relative once. [default: "."] -F, --tc-flow-id[=TC-FLOW-ID] Custom flowId for TeamCity output -h, --help Display this help message -q, --quiet Do not output any message @@ -172,15 +218,279 @@ Options: -### Examples +## Examples + +### JetBrains IDE (IntelliJ IDEA, PhpStorm, WebStorm, etc) + +One of the unique features of the tool is converting reports to a unit test format compatible with JetBrains IDE and TeamCity. +The following examples show how to use JetBrains IDE UI to display any kind of style issues. +Yeah, I know that the integration is not the cleanest, and it's not super beautiful. However, this code/screenshots demonstrate the usability of the approach. + +![PHPcs in JetBrains PhpStorm](.github/assets/phpstorm-checkstyle.png) + +**NOTE:** I believe that coding style issues have the same level of severity as any other sort of errors. +Therefore, I prefer to use the same workflow to check the quality of the code as I have with regular PHPUnit tests. It's like "just one click!" +Also, you will have the awesome bonus - navigating the project and gives the most detailed information about errors. + +**The general idea is pretty simple:** + - We take almost any utility for testing. + - It saves report in the file or outputs error to StdOut as xml/json. + - CI-Report-Converter changes the report format. It saves result somewhere or just outputs it in StdOut. + - ??? + - Profit. + +In the next example we will see how to integrate JetBrains IDE UI with Code Sniffer deeply. I use PHPcs just as example. This is the most popular linter in PHP. +However, the approach is independent of the programming language or unit testing framework. + +```php + /dev/null' # We don't expect any output of phpcs and ignore error exit codes. + # Lol, we are very self-confident. Actually, we need only XML file, that's it. + ); + + // I've shown all the options explicitly just to add transparency. + // In fact, this example does the same thing as the code above in `testPipelineWay()`. + echo shell_exec( + './ci-report-converter.phar' . # The path to bin file of CI-Report-Converter. It depends of your installation way. See above. + ' --input-format=checkstyle' . # Source reporting format. Default value is "checkstyle". + ' --input-file=./build/phpcs-report.xml' . # Using prepared file on previous step as source. + ' --output-format=tc-tests' . # Target reporting format. Default value is "tc-tests". + ' --suite-name=PHPcs' . # Define the name of group. See screenshot below. + ' --root-path=`pwd`' # Specify the project path for pretty printing paths in UI. Default value is `.` (current dir). + ); + + # The same reason like in `testPipelineWay()`. + Assert::assertTrue(true); + } +} + +``` + +What happens under the hood. Also, see source file [as ready-to-use examples](tests/examples/CheckStyleExamples.php). + +```shell +cd ~/your/project/root/directory +php ./vendor/bin/phpunit ./tests/examples/CheckStyleExamples.php --teamcity + +# or +php ./vendor/bin/phpcs --report=checkstyle --standard=PSR12 -q ./src | ./ci-report-converter.phar +``` + + + +#### Mess Detector (phpmd-json) + +
+ Screenshot + + ![PHPmd in JetBrains PhpStorm](.github/assets/phpstorm-phpmd.png) + +
+ +```shell +php ./vendor/bin/phpmd ./src json cleancode | ./ci-report-converter.phar -Sphpmd-json +``` + -... Screenshots are coming soon ... +#### Magic Number Detector (phpmnd) -### Contributing +
+ Screenshot + + ![PHPmd in JetBrains PhpStorm](.github/assets/phpstorm-phpmnd.png) + +
```shell -# Clone the repo and build project +php ./vendor/bin/phpmnd ./src --hint --quiet --xml-output=./build/phpmnd-report.xml +./ci-report-converter.phar --root-path=./src --input-file=./build/phpmnd-report.xml --input-format=phpmnd +``` + + + +#### Copy/Paste Detector (pmd-cpd) + +
+ Screenshot + + ![PHPcpd in JetBrains PhpStorm](.github/assets/phpstorm-phpcpd.png) + +
+ +```shell +php ./vendor/bin/phpcpd ./src --log-pmd=./build/phpcpd-report.xml +./ci-report-converter.phar --input-file=./build/phpcpd-report.xml --input-format=pmd-cpd +``` + + + +#### PHPStan (checkstyle) + +
+ Screenshot + + ![PHPstan in JetBrains PhpStorm](.github/assets/phpstorm-phpstan.png) + +
+ +```shell +php ./vendor/bin/phpstan analyse --error-format=checkstyle --no-progress ./src | ./ci-report-converter.phar +``` + + + +#### Psalm (psalm-json) + +
+ Screenshot + + ![PHP Psalm in JetBrains PhpStorm](.github/assets/phpstorm-psalm.png) + +
+ +```shell +php ./vendor/bin/psalm --output-format=json | ./ci-report-converter.phar --input-format="psalm-json" +``` + + +#### Phan (checkstyle) + +
+ Screenshot + + ![PHP Psalm in JetBrains PhpStorm](.github/assets/phpstorm-phan.png) + +
+ +```shell +php ./vendor/bin/phan.phar --directory=./src --output-mode=checkstyle | ./ci-report-converter.phar +``` + +### TeamCity - Style Issue As Failed Unit test + +Use the option `--output-format=tc-tests` to convert any style report to unit test format in TeamCity + +![Style issues as failed tests in TeamCity](.github/assets/teamcity-as-failed-test.png) + + + +### TeamCity - Style Issue As Code Inspections + +Use the option `--output-format=tc-inspections` to convert any style report to unit test format in TeamCity + +![Style Issue As Code Inspections in TeamCity](.github/assets/teamcity-as-code-inspections.png) + + + +### TeamCity - Reported Statistic Values + +[PHPDepend.xml](tests/fixtures/origin/pdepend/pdepend-old.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpDependXml.txt) +```shell +./vendor/bin/pdepend.phar --summary-xml="./build/pdepend-summary.xml" --quiet ./src +./ci-report-converter.phar teamcity:stats --input-format="pdepend-xml" --input-file="./build/pdepend-summary.xml" +``` + + +[PHPloc.json](tests/fixtures/origin/phploc/json.json) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpLocJson.txt) + +```shell +./vendor/bin/phploc ./src --log-json="./build/phploc.json" --quiet +./ci-report-converter.phar teamcity:stats --input-format="phploc-json" --input-file="./build/phploc.json" +``` + + +[PHPUnitClover.xml](tests/fixtures/origin/phpunit/clover.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpUnitCloverXml.txt) + +```shell +./vendor/bin/phpunit --coverage-clover ./build/phpunit-report.xml +./ci-report-converter.phar teamcity:stats --input-format="phpunit-clover-xml" --input-file="./build/phpunit-report.xml" +``` + + +[JUnit.xml](tests/fixtures/origin/phpunit/junit-nested.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testJUnitXml.txt) + +```shell +./vendor/bin/phpunit --coverage-xml ./build/phpunit-junit.xml +./ci-report-converter.phar teamcity:stats --input-format="junit-xml" --input-file="./build/phpunit-junit.xml" +`````` + + +[PHPMetrics.xml](tests/fixtures/origin/phpmetrics/phpmetrics.xml) => [Example in TeamCity](tests/fixtures/test-cases/ConverterTeamCityStatsTest/testPhpMetricsXml.txt) + +```shell +./vendor/bin/phpmetrics ./src --report-violations="./build/phpmetrics-report.xml" +./ci-report-converter.phar teamcity:stats --input-format="phpmetrics-xml" --input-file="./build/phpmetrics-report.xml" +`````` + +![Style issues as failed tests in TeamCity](.github/assets/teamcity-reported-statistic-values.png) + + + +### GitHub Actions + +You can find a lot of [life examples here](https://github.com/JBZoo/CI-Report-Converter/actions/workflows/gh-action.yml?query=is%3Asuccess+branch%3Amaster) and see [real examples in YML file](.github/workflows/gh-action.yml) + +![GitHub Actions 1](.github/assets/github-actions-1.png) + +![GitHub Actions 1](.github/assets/github-actions-2.png) + + + +### GitLab CI + +Use the option `--output-format=gitlab-json` to convert the report to Gitlab JSON format. + +Als, see [how to implemente GitLab Custom Report](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#implementing-a-custom-tool) + +![GitLab Code Quality Report](.github/assets/gitlab-code-quality-report.png) + + + +## Contributing + +```shell +# Fork the repo and build project make build # Make your local changes @@ -188,9 +498,12 @@ make build # Run all tests and check code style make test make codestyle + +# Create your pull request and check all tests in CI ``` -### License + +## License MIT diff --git a/ci-report-converter.php b/ci-report-converter.php old mode 100644 new mode 100755 index 910224a..b602183 --- a/ci-report-converter.php +++ b/ci-report-converter.php @@ -41,4 +41,5 @@ $application->add(new Convert()); $application->add(new ConvertMap()); $application->add(new TeamCityStats()); +$application->setDefaultCommand('list'); $application->run(); diff --git a/composer.json b/composer.json index d6dcb81..4f473d5 100644 --- a/composer.json +++ b/composer.json @@ -41,6 +41,7 @@ "php" : ">=7.2", "ext-dom" : "*", "ext-simplexml" : "*", + "ext-hash" : "*", "jbzoo/data" : "^4.3.1", "jbzoo/utils" : "^4.5.2", diff --git a/composer.lock b/composer.lock index 071904f..2046093 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e08b4c6ea247dd653a450dd4f4db2ec2", + "content-hash": "27ebd3b2ceb044f7b78a94b29c5381ee", "packages": [ { "name": "jbzoo/data", @@ -223,16 +223,16 @@ }, { "name": "symfony/console", - "version": "v4.4.22", + "version": "v4.4.23", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "36bbd079b69b94bcc9c9c9e1e37ca3b1e7971625" + "reference": "1ab187ac21d41d7d34a4f529091a1f5d0bb2924f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36bbd079b69b94bcc9c9c9e1e37ca3b1e7971625", - "reference": "36bbd079b69b94bcc9c9c9e1e37ca3b1e7971625", + "url": "https://api.github.com/repos/symfony/console/zipball/1ab187ac21d41d7d34a4f529091a1f5d0bb2924f", + "reference": "1ab187ac21d41d7d34a4f529091a1f5d0bb2924f", "shasum": "" }, "require": { @@ -292,7 +292,7 @@ "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/console/tree/v4.4.22" + "source": "https://github.com/symfony/console/tree/v4.4.23" }, "funding": [ { @@ -308,7 +308,7 @@ "type": "tidelift" } ], - "time": "2021-04-16T17:32:19+00:00" + "time": "2021-05-10T12:53:15+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -869,16 +869,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.4.6", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "f27e06cd9675801df441b3656569b328e04aa37c" + "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c", - "reference": "f27e06cd9675801df441b3656569b328e04aa37c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", "shasum": "" }, "require": { @@ -913,7 +913,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.6" + "source": "https://github.com/composer/xdebug-handler/tree/2.0.1" }, "funding": [ { @@ -929,7 +929,7 @@ "type": "tidelift" } ], - "time": "2021-03-25T17:01:18+00:00" + "time": "2021-05-05T19:37:51+00:00" }, { "name": "doctrine/instantiator", @@ -2615,20 +2615,20 @@ }, { "name": "phpmd/phpmd", - "version": "2.10.0", + "version": "2.10.1", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "58ef9e746a1ab50ad3360d5d301e1229ed2612cb" + "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/58ef9e746a1ab50ad3360d5d301e1229ed2612cb", - "reference": "58ef9e746a1ab50ad3360d5d301e1229ed2612cb", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", + "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", "shasum": "" }, "require": { - "composer/xdebug-handler": "^1.0", + "composer/xdebug-handler": "^1.0 || ^2.0", "ext-xml": "*", "pdepend/pdepend": "^2.9.1", "php": ">=5.3.9" @@ -2686,7 +2686,7 @@ "support": { "irc": "irc://irc.freenode.org/phpmd", "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.10.0" + "source": "https://github.com/phpmd/phpmd/tree/2.10.1" }, "funding": [ { @@ -2694,7 +2694,7 @@ "type": "tidelift" } ], - "time": "2021-04-26T18:44:44+00:00" + "time": "2021-05-11T17:16:16+00:00" }, { "name": "phpmetrics/phpmetrics", @@ -2832,16 +2832,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.85", + "version": "0.12.87", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "20e6333c0067875ad7697cd8acdf245c6ef69d03" + "reference": "d464e00776afb711f419faffa96826dc02e4d145" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/20e6333c0067875ad7697cd8acdf245c6ef69d03", - "reference": "20e6333c0067875ad7697cd8acdf245c6ef69d03", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d464e00776afb711f419faffa96826dc02e4d145", + "reference": "d464e00776afb711f419faffa96826dc02e4d145", "shasum": "" }, "require": { @@ -2872,7 +2872,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.85" + "source": "https://github.com/phpstan/phpstan/tree/0.12.87" }, "funding": [ { @@ -2888,7 +2888,7 @@ "type": "tidelift" } ], - "time": "2021-04-27T14:13:16+00:00" + "time": "2021-05-12T15:17:52+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -3688,12 +3688,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "db47aac368cb81bc9d3b09556e63b716be61cf43" + "reference": "5ffdb87f627ff16cc392e30515a1fe069cddc3e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/db47aac368cb81bc9d3b09556e63b716be61cf43", - "reference": "db47aac368cb81bc9d3b09556e63b716be61cf43", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/5ffdb87f627ff16cc392e30515a1fe069cddc3e2", + "reference": "5ffdb87f627ff16cc392e30515a1fe069cddc3e2", "shasum": "" }, "conflict": { @@ -3711,7 +3711,7 @@ "barrelstrength/sprout-forms": "<3.9", "baserproject/basercms": ">=4,<=4.3.6|>=4.4,<4.4.1", "bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3", - "bolt/bolt": "<3.7.1", + "bolt/bolt": "<3.7.2", "bolt/core": "<4.1.13", "brightlocal/phpwhois": "<=4.2.5", "buddypress/buddypress": "<5.1.2", @@ -3741,8 +3741,9 @@ "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4", "dolibarr/dolibarr": "<11.0.4", "dompdf/dompdf": ">=0.6,<0.6.2", - "drupal/core": ">=7,<7.74|>=8,<8.8.11|>=8.9,<8.9.9|>=9,<9.0.8", - "drupal/drupal": ">=7,<7.74|>=8,<8.8.11|>=8.9,<8.9.9|>=9,<9.0.8", + "drupal/core": ">=7,<7.80|>=8,<8.9.14|>=9,<9.0.12|>=9.1,<9.1.7", + "drupal/drupal": ">=7,<7.80|>=8,<8.9.14|>=9,<9.0.12|>=9.1,<9.1.7", + "dweeves/magmi": "<=0.7.24", "endroid/qr-code-bundle": "<3.4.2", "enshrined/svg-sanitize": "<0.13.1", "erusev/parsedown": "<1.7.2", @@ -3767,7 +3768,9 @@ "flarum/tags": "<=0.1-beta.13", "fluidtypo3/vhs": "<5.1.1", "fooman/tcpdf": "<6.2.22", + "forkcms/forkcms": "<5.8.3", "fossar/tcpdf-parser": "<6.2.22", + "francoisjacquet/rosariosis": "<6.5.1", "friendsofsymfony/oauth2-php": "<1.3", "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", "friendsofsymfony/user-bundle": ">=1.2,<1.3.5", @@ -3798,7 +3801,8 @@ "laravel/framework": "<6.20.26|>=7,<8.40", "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", "league/commonmark": "<0.18.3", - "librenms/librenms": "<1.53", + "lexik/jwt-authentication-bundle": ">=2,<2.10.7|>=2.11,<2.11.3", + "librenms/librenms": "<21.1", "livewire/livewire": ">2.2.4,<2.2.6", "magento/community-edition": ">=2,<2.2.10|>=2.3,<2.3.3", "magento/magento1ce": "<1.9.4.3", @@ -3819,11 +3823,12 @@ "nystudio107/craft-seomatic": "<3.3", "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", "october/backend": "<1.1.2", - "october/cms": "= 1.0.469|>=1.0.319,<1.0.469", + "october/cms": "= 1.1.1|= 1.0.471|= 1.0.469|>=1.0.319,<1.0.469", "october/october": ">=1.0.319,<1.0.466", "october/rain": "<1.0.472|>=1.1,<1.1.2", "onelogin/php-saml": "<2.10.4", "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", + "opencart/opencart": "<=3.0.3.2", "openid/php-openid": "<2.3", "openmage/magento-lts": "<=19.4.12|>=20,<=20.0.8", "orchid/platform": ">=9,<9.4.4", @@ -3917,20 +3922,21 @@ "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", "symfony/http-kernel": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.4.13|>=5,<5.1.5", "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", + "symfony/maker-bundle": ">=1.27,<1.31.1", "symfony/mime": ">=4.3,<4.3.8", "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/polyfill": ">=1,<1.10", "symfony/polyfill-php55": ">=1,<1.10", "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/routing": ">=2,<2.0.19", - "symfony/security": ">=2,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/security": ">=2,<2.7.51|>=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", "symfony/security-bundle": ">=2,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", - "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<2.8.37|>=3,<3.3.17|>=3.4,<3.4.7|>=4,<4.0.7", + "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", - "symfony/security-guard": ">=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", - "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", "symfony/serializer": ">=2,<2.0.11", - "symfony/symfony": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.4.13|>=5,<5.1.5", + "symfony/symfony": ">=2,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", "symfony/translation": ">=2,<2.0.17", "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", @@ -3995,7 +4001,8 @@ "zetacomponents/mail": "<1.8.2", "zf-commons/zfc-user": "<1.2.2", "zfcampus/zf-apigility-doctrine": ">=1,<1.0.3", - "zfr/zfr-oauth2-server-module": "<0.1.2" + "zfr/zfr-oauth2-server-module": "<0.1.2", + "zoujingli/thinkadmin": "<6.0.22" }, "type": "metapackage", "notification-url": "https://packagist.org/downloads/", @@ -4029,7 +4036,7 @@ "type": "tidelift" } ], - "time": "2021-05-02T09:01:19+00:00" + "time": "2021-05-13T21:03:10+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -4866,16 +4873,16 @@ }, { "name": "symfony/config", - "version": "v5.2.7", + "version": "v5.2.8", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "3817662ada105c8c4d1afdb4ec003003efd1d8d8" + "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/3817662ada105c8c4d1afdb4ec003003efd1d8d8", - "reference": "3817662ada105c8c4d1afdb4ec003003efd1d8d8", + "url": "https://api.github.com/repos/symfony/config/zipball/8dfa5f8adea9cd5155920069224beb04f11d6b7e", + "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e", "shasum": "" }, "require": { @@ -4924,7 +4931,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.2.7" + "source": "https://github.com/symfony/config/tree/v5.2.8" }, "funding": [ { @@ -4940,20 +4947,20 @@ "type": "tidelift" } ], - "time": "2021-04-07T16:07:52+00:00" + "time": "2021-05-07T13:41:16+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.2.7", + "version": "v5.2.8", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "6ca378b99e3c9ba6127eb43b68389fb2b7348577" + "reference": "024e929da5a994cbab0ce2291d332f7edf926acf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6ca378b99e3c9ba6127eb43b68389fb2b7348577", - "reference": "6ca378b99e3c9ba6127eb43b68389fb2b7348577", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/024e929da5a994cbab0ce2291d332f7edf926acf", + "reference": "024e929da5a994cbab0ce2291d332f7edf926acf", "shasum": "" }, "require": { @@ -5011,7 +5018,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.2.7" + "source": "https://github.com/symfony/dependency-injection/tree/v5.2.8" }, "funding": [ { @@ -5027,7 +5034,7 @@ "type": "tidelift" } ], - "time": "2021-04-24T14:32:26+00:00" + "time": "2021-05-11T16:07:35+00:00" }, { "name": "symfony/deprecation-contracts", @@ -5160,16 +5167,16 @@ }, { "name": "symfony/finder", - "version": "v5.2.4", + "version": "v5.2.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "0d639a0943822626290d169965804f79400e6a04" + "reference": "eccb8be70d7a6a2230d05f6ecede40f3fdd9e252" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/0d639a0943822626290d169965804f79400e6a04", - "reference": "0d639a0943822626290d169965804f79400e6a04", + "url": "https://api.github.com/repos/symfony/finder/zipball/eccb8be70d7a6a2230d05f6ecede40f3fdd9e252", + "reference": "eccb8be70d7a6a2230d05f6ecede40f3fdd9e252", "shasum": "" }, "require": { @@ -5201,7 +5208,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.2.4" + "source": "https://github.com/symfony/finder/tree/v5.2.8" }, "funding": [ { @@ -5217,7 +5224,7 @@ "type": "tidelift" } ], - "time": "2021-02-15T18:55:04+00:00" + "time": "2021-05-10T14:39:23+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5424,16 +5431,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.2.7", + "version": "v5.2.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "27cb9f7cfa3853c736425c7233a8f68814b19636" + "reference": "d693200a73fae179d27f8f1b16b4faf3e8569eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/27cb9f7cfa3853c736425c7233a8f68814b19636", - "reference": "27cb9f7cfa3853c736425c7233a8f68814b19636", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d693200a73fae179d27f8f1b16b4faf3e8569eba", + "reference": "d693200a73fae179d27f8f1b16b4faf3e8569eba", "shasum": "" }, "require": { @@ -5492,7 +5499,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.2.7" + "source": "https://github.com/symfony/var-dumper/tree/v5.2.8" }, "funding": [ { @@ -5508,7 +5515,7 @@ "type": "tidelift" } ], - "time": "2021-04-19T14:07:32+00:00" + "time": "2021-05-07T13:42:21+00:00" }, { "name": "symfony/yaml", @@ -5798,7 +5805,8 @@ "platform": { "php": ">=7.2", "ext-dom": "*", - "ext-simplexml": "*" + "ext-simplexml": "*", + "ext-hash": "*" }, "platform-dev": [], "plugin-api-version": "2.0.0" diff --git a/src/Commands/AbstractCommand.php b/src/Commands/AbstractCommand.php index d97095e..864218f 100644 --- a/src/Commands/AbstractCommand.php +++ b/src/Commands/AbstractCommand.php @@ -51,7 +51,7 @@ protected function configure(): void ->addOption('output-file', 'O', InputOption::VALUE_OPTIONAL, "File path with the result report format. " . "If not set or empty, then the STDOUT is used.") ->addOption('root-path', 'R', InputOption::VALUE_OPTIONAL, 'If option is set, ' . - 'all absolute file paths will be converted to relative once.') + 'all absolute file paths will be converted to relative once.', '.') ->addOption('tc-flow-id', 'F', InputOption::VALUE_OPTIONAL, 'Custom flowId for TeamCity output'); } diff --git a/src/Converters/AbstractConverter.php b/src/Converters/AbstractConverter.php index 4f8d244..965272b 100644 --- a/src/Converters/AbstractConverter.php +++ b/src/Converters/AbstractConverter.php @@ -71,7 +71,11 @@ public function fromInternal(SourceSuite $sourceSuite): string */ public function setRootPath(?string $rootPath): self { - $this->rootPath = $rootPath; + if ($rootPath === '.') { + $rootPath = realpath($rootPath); + } + + $this->rootPath = (string)$rootPath ?: null; return $this; } diff --git a/src/Converters/CheckStyleConverter.php b/src/Converters/CheckStyleConverter.php index d1e3cbc..155662f 100644 --- a/src/Converters/CheckStyleConverter.php +++ b/src/Converters/CheckStyleConverter.php @@ -84,7 +84,7 @@ public function toInternal(string $source): SourceSuite private static function getDetails(Data $data): ?string { return Helper::descAsList([ - '' => htmlspecialchars_decode($data->get('message')), + '' => htmlspecialchars_decode($data->getString('message')), 'Rule' => $data->get('source'), 'File Path' => self::getFilePoint($data->get('full_path'), $data->get('line'), $data->get('column')), 'Severity' => $data->get('severity'), diff --git a/tests/CliCommandsTest.php b/tests/CliCommandsTest.php index 3919070..03c26d7 100644 --- a/tests/CliCommandsTest.php +++ b/tests/CliCommandsTest.php @@ -57,7 +57,7 @@ public function testConvertCommandReadMe() isFileContains($helpMessage, PROJECT_ROOT . '/README.md'); } else { - skip('Old help text is different for different libs/php versions'); + success('Old help text is different for different libs/php versions'); } } @@ -76,7 +76,7 @@ public function testTcStatsCommandReadMe() isFileContains($helpMessage, PROJECT_ROOT . '/README.md'); } else { - skip('Old help text is different for different libs/php versions'); + success('Old help text is different for different libs/php versions'); } } diff --git a/tests/ConverterTeamCityTest.php b/tests/ConverterTeamCityTest.php index 00afb38..6940c79 100644 --- a/tests/ConverterTeamCityTest.php +++ b/tests/ConverterTeamCityTest.php @@ -30,55 +30,10 @@ class ConverterTeamCityTest extends PHPUnit public function testJUnit() { $flowId = 159753; - $filepath = '/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php'; $sourceCode = (new JUnitConverter())->toInternal(file_get_contents(Fixtures::PHPUNIT_JUNIT_NESTED)); $converter = (new TeamCityTestsConverter(['show-datetime' => false], $flowId)); - isSame(implode('', [ - "\n##teamcity[testCount count='14' flowId='{$flowId}']\n", - "\n##teamcity[testSuiteStarted name='JBZoo\PHPUnit\ExampleTest' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testValid' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testValid' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testValid' duration='7' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testInValid' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testInValid' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testInValid' message='Failed asserting that false is true.' details=' /Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:107|n {$filepath}:40|n ' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testInValid' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testSkipped' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testSkipped' flowId='{$flowId}']\n", - "\n##teamcity[testIgnored name='testSkipped' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testSkipped' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testIncomplete' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testIncomplete' flowId='{$flowId}']\n", - "\n##teamcity[testIgnored name='testIncomplete' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testIncomplete' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testFail' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testFail' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testFail' message='Some reason to fail' details=' /Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:51|n {$filepath}:55|n ' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testFail' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testEcho' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testEcho' flowId='{$flowId}']\n", - 'Some echo output', - "\n##teamcity[testFinished name='testEcho' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testStdOutput' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testStdOutput' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testStdOutput' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testErrOutput' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testErrOutput' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testErrOutput' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testNoAssert' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testNoAssert' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testNoAssert' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testNoAssert' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testNotice' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testNotice' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testNotice' message='Undefined variable: aaa' details=' {$filepath}:82|n ' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testNotice' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testWarning' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testWarning' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testWarning' message='Some warning' details=' /Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:87|n ' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testWarning' duration='0' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testException' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testException' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testException' message='JBZoo\PHPUnit\Exception: Exception message' details=' {$filepath}:93|n ' duration='1' flowId='{$flowId}']\n", - 'Some echo output', - "\n##teamcity[testFinished name='testException' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testCompareArrays' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testCompareArrays' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testCompareArrays' message='Failed asserting that two arrays are identical.' details=' /Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:197|n {$filepath}:98|n ' duration='1' type='comparisonFailure' actual='Array &0 (|n 0 => 1|n)' expected='Array &0 ()' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testCompareArrays' duration='1' flowId='{$flowId}']\n", - "\n##teamcity[testStarted name='testCompareString' locationHint='php_qn://{$filepath}::\JBZoo\PHPUnit\ExampleTest::testCompareString' flowId='{$flowId}']\n", - "\n##teamcity[testFailed name='testCompareString' message='Failed asserting that two strings are identical.' details=' /Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:197|n {$filepath}:103|n ' duration='10500' type='comparisonFailure' actual='|'123|'' expected='|'132|'' flowId='{$flowId}']\n", - "\n##teamcity[testFinished name='testCompareString' duration='10500' flowId='{$flowId}']\n", - "\n##teamcity[testSuiteFinished name='JBZoo\PHPUnit\ExampleTest' flowId='{$flowId}']\n", - ]), $converter->fromInternal($sourceCode)); + isSame(Fixtures::getExpectedFileContent('txt'), $converter->fromInternal($sourceCode)); } public function testSimpleSources() diff --git a/tests/Tools/Fixtures.php b/tests/Tools/Fixtures.php index 13a045d..2d63ce2 100644 --- a/tests/Tools/Fixtures.php +++ b/tests/Tools/Fixtures.php @@ -35,13 +35,13 @@ class Fixtures public const PHAN_CODECLIMATE = self::ROOT_ORIG . '/phan/codeclimate.json'; public const PHAN_CSV = self::ROOT_ORIG . '/phan/csv.csv'; public const PHAN_JSON = self::ROOT_ORIG . '/phan/json.json'; - public const PHAN_PYLINT = self::ROOT_ORIG . '/phan/pylint.txt'; + public const PHAN_PYLINT = self::ROOT_ORIG . '/phan/pylint.log'; public const PHPCPD_XML = self::ROOT_ORIG . '/phpcpd/pmd-cpd.xml'; public const PHPCS_CODESTYLE = self::ROOT_ORIG . '/phpcs/codestyle.xml'; public const PHPCS_CSV = self::ROOT_ORIG . '/phpcs/csv.csv'; - public const PHPCS_EMACS = self::ROOT_ORIG . '/phpcs/emacs.txt'; + public const PHPCS_EMACS = self::ROOT_ORIG . '/phpcs/emacs.log'; public const PHPCS_JSON = self::ROOT_ORIG . '/phpcs/json.json'; public const PHPCS_JUNIT = self::ROOT_ORIG . '/phpcs/junit.xml'; public const PHPCS_XML = self::ROOT_ORIG . '/phpcs/phpcs.xml'; @@ -56,22 +56,22 @@ class Fixtures public const PHPMND_XML = self::ROOT_ORIG . '/phpmnd/phpmnd.xml'; public const PHPSTAN_CHECKSTYLE = self::ROOT_ORIG . '/phpstan/checkstyle.xml'; - public const PHPSTAN_GITHUB = self::ROOT_ORIG . '/phpstan/github.txt'; + public const PHPSTAN_GITHUB = self::ROOT_ORIG . '/phpstan/github.log'; public const PHPSTAN_GITLAB = self::ROOT_ORIG . '/phpstan/gitlab.json'; public const PHPSTAN_JSON = self::ROOT_ORIG . '/phpstan/json.json'; public const PHPSTAN_JUNIT = self::ROOT_ORIG . '/phpstan/junit.xml'; public const PHPUNIT_JUNIT_NESTED = self::ROOT_ORIG . '/phpunit/junit-nested.xml'; public const PHPUNIT_JUNIT_SIMPLE = self::ROOT_ORIG . '/phpunit/junit-simple.xml'; - public const PHPUNIT_TEAMCITY = self::ROOT_ORIG . '/phpunit/teamcity.txt'; + public const PHPUNIT_TEAMCITY = self::ROOT_ORIG . '/phpunit/teamcity.log'; public const PHPUNIT_CLOVER = self::ROOT_ORIG . '/phpunit/clover.xml'; public const PSALM_CHECKSTYLE = self::ROOT_ORIG . '/psalm/checkstyle.xml'; - public const PSALM_EMACS = self::ROOT_ORIG . '/psalm/emacs.txt'; - public const PSALM_GITHUB = self::ROOT_ORIG . '/psalm/github.txt'; + public const PSALM_EMACS = self::ROOT_ORIG . '/psalm/emacs.log'; + public const PSALM_GITHUB = self::ROOT_ORIG . '/psalm/github.log'; public const PSALM_JSON = self::ROOT_ORIG . '/psalm/json.json'; public const PSALM_JUNIT = self::ROOT_ORIG . '/psalm/junit.xml'; - public const PSALM_PYLINT = self::ROOT_ORIG . '/psalm/pylint.txt'; + public const PSALM_PYLINT = self::ROOT_ORIG . '/psalm/pylint.log'; public const PSALM_SONARQUBE = self::ROOT_ORIG . '/psalm/sonarqube.json'; public const PSALM_XML = self::ROOT_ORIG . '/psalm/xml.xml'; diff --git a/tests/examples/CheckStyleExamples.php b/tests/examples/CheckStyleExamples.php new file mode 100644 index 0000000..5da1753 --- /dev/null +++ b/tests/examples/CheckStyleExamples.php @@ -0,0 +1,141 @@ + /dev/null' # Lol, we are very self-confident. Actually, we need only XML file, that's it. + ); + + echo shell_exec( + 'php ./ci-report-converter' . # The path to bin file of CI-Report-Converter. It depends of your installation way. + ' --input-format=checkstyle' . # Source reporting format. Default value is "checkstyle". I put it here just to show the option, + ' --input-file=./build/phpcs-report.xml' . # Using prepared file on previous step as source. + ' --output-format=tc-tests' . # Target reporting format. Default value is "tc-tests". I put it here just to show the option, + ' --suite-name=PHPcs' . # Define the name of group. See screenshot below. + ' --root-path=`pwd`' # Specify the root project path for pretty printing in UI. Default value is "." (dot, current dir). + ); + + Assert::assertTrue(true); + } + + public function testPhpMd(): void + { + echo shell_exec( + 'php ./vendor/bin/phpmd ./src json' . + ' cleancode,codesize,controversial,design,naming,unusedcode' . + ' | ' . + ' ./ci-report-converter --input-format=phpmd-json' + ); + + Assert::assertTrue(true); + } + + public function testMagicNumberDetector(): void + { + shell_exec('php ./vendor/bin/phpmnd ./src --hint --xml-output=./build/phpmnd-report.xml --quiet'); + echo shell_exec( + 'php ./ci-report-converter' . + ' --input-file=./build/phpmnd-report.xml' . + ' --input-format=phpmnd' . + ' --suite-name="Magic Number Detector"' + ); + + Assert::assertTrue(true); + } + + public function testPmdCpd(): void + { + shell_exec('php ./vendor/bin/phpcpd.phar --min-tokens=20 ./src --log-pmd=./build/phpcpd-report.xml'); + echo shell_exec( + 'php ./ci-report-converter' . + ' --input-file=./build/phpcpd-report.xml' . + ' --input-format=pmd-cpd' . + ' --suite-name="Copy&Paste Detector"' + ); + + Assert::assertTrue(true); + } + + public function testPhpStan(): void + { + echo shell_exec( + 'php ./vendor/bin/phpstan analyse --error-format=checkstyle --no-progress ./vendor/jbzoo' . + ' | ./ci-report-converter.phar --suite-name="PHPstan"' + ); + + Assert::assertTrue(true); + } + + public function testPsalm(): void + { + echo shell_exec( + 'php ./vendor/bin/psalm.phar' . + ' --config=./vendor/jbzoo/codestyle/psalm.xml' . + ' --output-format=json' . + ' ./vendor/jbzoo/jbdump/class.jbdump.php' . + ' | ./ci-report-converter.phar --input-format=psalm-json' + ); + + Assert::assertTrue(true); + } + + public function testPhan(): void + { + echo shell_exec( + 'php ./vendor/bin/phan.phar --allow-polyfill-parser --directory=./vendor/jbzoo/jbdump --output-mode=checkstyle' . + ' | ./ci-report-converter.phar' + ); + + Assert::assertTrue(true); + } +} diff --git a/tests/fixtures/origin/phan/html.html b/tests/fixtures/origin/phan/html.html new file mode 100644 index 0000000..6270aa8 --- /dev/null +++ b/tests/fixtures/origin/phan/html.html @@ -0,0 +1,375 @@ +

vendor/jbzoo/composer-diff/composer-diff.php:41: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-diff/composer-diff.php:42: PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-diff/composer-diff.php:43: PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-diff/composer-diff.php:44: PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:29: PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:35: PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:41: PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46: PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:48: PhanUndeclaredClassMethod Call to method getFormatter from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:52: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Formatter\OutputFormatterStyle

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:70: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84: PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:40: PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerDiff\Commands\DiffAction::setName

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:44: PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:46: PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:49: PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:51: PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:53: PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:54: PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61: PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Comparator.php:122: PhanUndeclaredClassMethod Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/composer-diff/src/Comparator.php:129: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException

+

vendor/jbzoo/composer-diff/src/Diff.php:141: PhanUndeclaredClassMethod Call to method greaterThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator)

+

vendor/jbzoo/composer-diff/src/Diff.php:145: PhanUndeclaredClassMethod Call to method lessThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator)

+

vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:131: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:134: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:154: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:35: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:39: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:41: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\Table

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:41: PhanUndeclaredClassMethod Call to method setColumnStyle from undeclared class \Symfony\Component\Console\Helper\Table

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:42: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:42: PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:43: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:43: PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle

+

vendor/jbzoo/composer-diff/src/Renders/Console.php:79: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:33: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:42: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:53: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:86: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:87: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:88: PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:89: PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-diff/src/Renders/Markdown.php:90: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/composer-graph.php:38: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-graph/composer-graph.php:39: PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-graph/composer-graph.php:40: PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-graph/composer-graph.php:41: PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:34: PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:40: PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:46: PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:53: PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:54: PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:60: PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerGraph\CommandBuild::setName

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:88: PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:88: PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:95: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:103: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:104: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:105: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:106: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:107: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:108: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:109: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:111: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:112: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:118: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:120: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:126: PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:127: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:139: PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:170: PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:171: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:186: PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/composer-graph/src/CommandBuild.php:187: PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface

+

vendor/jbzoo/data/src/Yml.php:37: PhanUndeclaredClassConstant Reference to constant DUMP_MULTI_LINE_LITERAL_BLOCK from undeclared class \Symfony\Component\Yaml\Yaml

+

vendor/jbzoo/data/src/Yml.php:37: PhanUndeclaredClassConstant Reference to constant DUMP_NULL_AS_TILDE from undeclared class \Symfony\Component\Yaml\Yaml

+

vendor/jbzoo/data/src/Yml.php:37: PhanUndeclaredClassMethod Call to method dump from undeclared class \Symfony\Component\Yaml\Yaml

+

vendor/jbzoo/data/src/Yml.php:48: PhanUndeclaredClassMethod Call to method parse from undeclared class \Symfony\Component\Yaml\Yaml

+

vendor/jbzoo/jbdump/_template.php:12: PhanTypeMismatchArgumentInternal Argument 1 ($array) is $pages of type null but \sort() takes array

+

vendor/jbzoo/jbdump/_template.php:15: PhanUndeclaredGlobalVariable Global variable $defaut is undeclared

+

vendor/jbzoo/jbdump/_template.php:31: PhanUndeclaredGlobalVariable Global variable $folder is undeclared

+

vendor/jbzoo/jbdump/_template.php:33: PhanUndeclaredGlobalVariable Global variable $folder is undeclared

+

vendor/jbzoo/jbdump/_template.php:49: PhanUndeclaredGlobalVariable Global variable $folder is undeclared

+

vendor/jbzoo/jbdump/class.jbdump.php:217: PhanTypeMagicVoidWithReturn Found a return statement with a value in the implementation of the magic method \JBDump::__construct, expected void return type

+

vendor/jbzoo/jbdump/class.jbdump.php:239: PhanTypeMismatchReturnProbablyReal Returning $this of type \JBDump but __construct() is declared to return void (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:323: PhanTypeMismatchArgument Argument 1 ($memoryBytes) is $memoStdValue of type bool|float but \JBDump::_profilerFormatMemory() takes int defined at vendor/jbzoo/jbdump/class.jbdump.php:1719

+

vendor/jbzoo/jbdump/class.jbdump.php:454: PhanTypeComparisonToArray string to array comparison

+

vendor/jbzoo/jbdump/class.jbdump.php:464: PhanTypeMismatchDimFetch When fetching an array index from a value of type array<string,string>|array<string,string[]>, found an array index of type 0, but expected the index to be of type string

+

vendor/jbzoo/jbdump/class.jbdump.php:464: PhanTypeMismatchDimFetch When fetching an array index from a value of type non-empty-array<string,string>|non-empty-array<string,string[]>, found an array index of type 0, but expected the index to be of type string

+

vendor/jbzoo/jbdump/class.jbdump.php:494: PhanTypeMismatchArgumentInternal Argument 2 ($value) is $reportLevel of type non-zero-int but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:495: PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1 of type 1 but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:496: PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1 of type 1 but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:500: PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:501: PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:502: PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:516: PhanTypeMismatchReturnProbablyReal Returning false of type false but maxTime() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:519: PhanTypeMismatchArgumentInternal Argument 2 ($value) is $time of type int but \ini_set() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:611: PhanTypeMismatchReturnProbablyReal Returning false of type false but ip() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:634: PhanTypeMismatchReturnProbablyReal Returning false of type false but get() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:650: PhanTypeMismatchReturnProbablyReal Returning false of type false but log() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:683: PhanTypeMismatchArgument Argument 2 ($varName) is $markName of type 'dumpVar'|non-empty-string but \JBDump_array2php::toString() takes null defined at vendor/jbzoo/jbdump/class.jbdump.php:4738

+

vendor/jbzoo/jbdump/class.jbdump.php:735: PhanUndeclaredVariableDim Variable $header was undeclared, but array fields are being added to it.

+

vendor/jbzoo/jbdump/class.jbdump.php:762: PhanTypeMismatchReturnProbablyReal Returning false of type false but files() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:775: PhanTypeMismatchReturnProbablyReal Returning false of type false but memory() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:793: PhanTypeMismatchReturnProbablyReal Returning false of type false but interfaces() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:808: PhanTypeMismatchReturnProbablyReal Returning false of type false but url() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:814: PhanTypeInvalidDimOffset Invalid offset "query_parsed" of $parsed of array type array{query:string,scheme?:string,host?:string,port?:int,user?:string,pass?:string,path?:string,fragment?:string}

+

vendor/jbzoo/jbdump/class.jbdump.php:827: PhanTypeMismatchReturnProbablyReal Returning false of type false but includes() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:841: PhanTypeMismatchReturnProbablyReal Returning false of type false but functions() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:883: PhanTypeMismatchReturnProbablyReal Returning false of type false but extensions() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:895: PhanTypeMismatchReturnProbablyReal Returning false of type false but headers() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:927: PhanTypeMismatchReturnProbablyReal Returning false of type false but phpini() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:932: PhanTypeMismatchReturnProbablyReal Returning false of type false but phpini() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:968: PhanTypeMismatchReturnProbablyReal Returning false of type false but path() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1007: PhanTypeMismatchReturnProbablyReal Returning false of type false but post() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1019: PhanTypeMismatchReturnProbablyReal Returning false of type false but server() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1031: PhanTypeMismatchReturnProbablyReal Returning false of type false but cookie() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1061: PhanTypeMismatchReturnProbablyReal Returning false of type false but env() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1091: PhanTypeMismatchReturnProbablyReal Returning false of type false but globals() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1131: PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($numeric_prefix) is null of type null but \http_build_query() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:1230: PhanTypeMismatchReturnProbablyReal Returning false of type false but locale() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1253: PhanTypeMismatchReturnProbablyReal Returning false of type false but timezone() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1284: PhanCommentParamWithoutRealParam Saw an @param annotation for $name, but it was not found in the param list of function phpArray(mixed $var, mixed|string $varname = 'varName', bool|false $isReturn = false) : mixed

+

vendor/jbzoo/jbdump/class.jbdump.php:1300: PhanTypeMismatchArgumentProbablyReal Argument 3 ($params) is $params of type null but \JBDump::_dumpRenderHtml() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:1986 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1300: PhanUndeclaredVariable Variable $params is undeclared

+

vendor/jbzoo/jbdump/class.jbdump.php:1344: PhanTypeMismatchReturnProbablyReal Returning false of type false but trace() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1406: PhanTypeArraySuspicious Suspicious array access to $result of type \JBDump

+

vendor/jbzoo/jbdump/class.jbdump.php:1461: PhanTypeMismatchReturnProbablyReal Returning false of type false but microtime() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1499: PhanCommentParamOutOfOrder Expected @param annotation for $name to be before the @param annotation for $outputMode

+

vendor/jbzoo/jbdump/class.jbdump.php:1593: PhanTypeMismatchReturnProbablyReal Returning false of type false but markStop() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1620: PhanTypeMismatchReturnProbablyReal Returning false of type false but mark() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:1653: PhanTypeMissingReturn Method \JBDump::profiler is declared to return \JBDump in phpdoc but has no return value

+

vendor/jbzoo/jbdump/class.jbdump.php:1946: PhanTypeMismatchReturnProbablyReal Returning false of type false but dump() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:2143: PhanTypeMismatchArgumentInternal Argument 1 ($haystack) is $output[5] of type null but \strpos() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:2143: PhanTypeMismatchArgumentInternal Argument 1 ($string) is $output[5] of type null but \substr() takes string

+

vendor/jbzoo/jbdump/class.jbdump.php:2195: PhanParamTooMany Call with 3 arg(s) to \JBDump::_boolean(bool $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2312

+

vendor/jbzoo/jbdump/class.jbdump.php:2198: PhanParamTooMany Call with 3 arg(s) to \JBDump::_integer(int $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2324

+

vendor/jbzoo/jbdump/class.jbdump.php:2201: PhanParamTooMany Call with 3 arg(s) to \JBDump::_float(float $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2335

+

vendor/jbzoo/jbdump/class.jbdump.php:2209: PhanParamTooMany Call with 3 arg(s) to \JBDump::_array(array $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2450

+

vendor/jbzoo/jbdump/class.jbdump.php:2212: PhanParamTooMany Call with 3 arg(s) to \JBDump::_maxDepth($var, $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2539

+

vendor/jbzoo/jbdump/class.jbdump.php:2220: PhanParamTooMany Call with 3 arg(s) to \JBDump::_closure(object $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2516

+

vendor/jbzoo/jbdump/class.jbdump.php:2222: PhanParamTooMany Call with 3 arg(s) to \JBDump::_object(object $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2479

+

vendor/jbzoo/jbdump/class.jbdump.php:2231: PhanParamTooMany Call with 3 arg(s) to \JBDump::_resource(resource $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2346

+

vendor/jbzoo/jbdump/class.jbdump.php:2234: PhanParamTooMany Call with 3 arg(s) to \JBDump::_undefined($var, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2551

+

vendor/jbzoo/jbdump/class.jbdump.php:2559: PhanCommentParamOutOfOrder Expected @param annotation for $name to be before the @param annotation for $data

+

vendor/jbzoo/jbdump/class.jbdump.php:2620: PhanTypeMismatchArgumentInternal Argument 3 ($subject) is self::$_config['root'] of type null but \str_replace() takes array|string

+

vendor/jbzoo/jbdump/class.jbdump.php:2799: PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'line' of $meta of array type array{file?:''|mixed,line?:''|mixed}

+

vendor/jbzoo/jbdump/class.jbdump.php:2800: PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'file' of $meta of array type array{file?:''|mixed,line?:''|mixed}

+

vendor/jbzoo/jbdump/class.jbdump.php:2841: PhanTypeMismatchReturnProbablyReal Returning false of type false but _getClass() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:2845: PhanTypeMismatchReturnProbablyReal Returning false of type false but _getClass() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type)

+

vendor/jbzoo/jbdump/class.jbdump.php:2852: PhanUndeclaredVariableDim Variable $result was undeclared, but array fields are being added to it.

+

vendor/jbzoo/jbdump/class.jbdump.php:3011: PhanTypeMismatchReturn Returning $result of type array{methods?:array<string,array<string,array{abstract:true}>>|array<string,array<string,array{comment:non-empty-string}>>|array<string,array<string,array{constructor:true}>>|array<string,array<string,array{declaringClass:string}>>|array<string,array<string,array{destructor:true}>>|array<string,array<string,array{final:true}>>|array<string,array<string,array{internal:true}>>|array<string,array<string,array{name:string}>>|array<string,array<string,array{parameters:non-empty-array<mixed,mixed>}>>|array<string,array<string,array{source\x3a\x3asource:string}>>|array<string,array<string,array{static:true}>>|null,properties?:array<string,array<string,array{class:string}>>|array<string,array<string,array{comment:false|string}>>|array<string,array<string,array{default:bool}>>|array<string,array<string,array{static:bool}>>|null,name:string,type:'class'|'interface',comment?:non-empty-string,path?:null|string,extension?:non-empty-string,abstract?:true,final?:true,parents?:array|array{}|non-empty-list<string>,interfaces?:non-empty-list<string>,constants?:array<string,mixed>,source\x3a\x3asource?:string,all_methods:list<string>}|non-empty-array<mixed,mixed>|non-empty-associative-array<mixed> but _getClass() is declared to return \JBDump

+

vendor/jbzoo/jbdump/class.jbdump.php:3055: PhanUndeclaredTypeParameter Parameter $functionName has undeclared type \function

+

vendor/jbzoo/jbdump/class.jbdump.php:3066: PhanTypeMismatchArgumentInternal Argument 1 ($function) is $functionName of type \function|non-empty-string but \ReflectionFunction::__construct() takes \Closure|callable-string

+

vendor/jbzoo/jbdump/class.jbdump.php:3119: PhanUndeclaredTypeParameter Parameter $extensionName has undeclared type \function

+

vendor/jbzoo/jbdump/class.jbdump.php:3318: PhanTypeSuspiciousStringExpression Suspicious type null of a variable or expression self::$_config['log']['path'] used to build a string. (Expected type to be able to cast to a string)

+

vendor/jbzoo/jbdump/class.jbdump.php:3367: PhanUndeclaredVariableDim Variable $result was undeclared, but array fields are being added to it.

+

vendor/jbzoo/jbdump/class.jbdump.php:3550: PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump

+

vendor/jbzoo/jbdump/class.jbdump.php:3553: PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump

+

vendor/jbzoo/jbdump/class.jbdump.php:3556: PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump

+

vendor/jbzoo/jbdump/class.jbdump.php:3589: PhanTypeMismatchReturn Returning $_this of type \JBDump but args() is declared to return bool

+

vendor/jbzoo/jbdump/class.jbdump.php:3603: PhanUndeclaredClassMethod Call to method __construct from undeclared class \JConfig

+

vendor/jbzoo/jbdump/class.jbdump.php:3604: PhanUndeclaredClassProperty Reference to instance property dbprefix from undeclared class \JConfig

+

vendor/jbzoo/jbdump/class.jbdump.php:4079: PhanTypeMismatchArgumentProbablyReal Argument 2 ($previous) is $token of type null but \JBDump_SqlFormatter::getNextToken() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3886 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

+

vendor/jbzoo/jbdump/class.jbdump.php:4837: PhanTypeMismatchArgumentInternal Argument 1 ($object) is $var of type int|string but \get_class() takes object

+

vendor/jbzoo/jbdump/class.jbdump.php:4852: PhanCommentParamOutOfOrder Expected @param annotation for $isDie to be before the @param annotation for $name

+

vendor/jbzoo/jbdump/joomla/jbdump.php:16: PhanUndeclaredFunction Call to undeclared function \jimport()

+

vendor/jbzoo/jbdump/joomla/jbdump.php:22: PhanUndeclaredExtendedClass Class extends undeclared class \JPlugin

+

vendor/jbzoo/jbdump/joomla/jbdump.php:33: PhanUndeclaredClass Reference to undeclared class \JPlugin

+

vendor/jbzoo/jbdump/joomla/jbdump.php:48: PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. (Did you mean \PATH_ROOT)

+

vendor/jbzoo/jbdump/joomla/jbdump.php:48: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:50: PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. (Did you mean \PATH_ROOT)

+

vendor/jbzoo/jbdump/joomla/jbdump.php:53: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:60: PhanUndeclaredConstant Reference to undeclared constant \JPATH_SITE. This will cause a thrown Error in php 8.0+.

+

vendor/jbzoo/jbdump/joomla/jbdump.php:64: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:67: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:68: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:71: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:72: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:73: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:77: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:78: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:79: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:82: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:83: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:84: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:86: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:87: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:88: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:89: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:90: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:91: PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params

+

vendor/jbzoo/jbdump/joomla/jbdump.php:95: PhanParamTooMany Call with 2 arg(s) to \JBDump::i(array $options = []) which only takes 1 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:362

+

vendor/jbzoo/jbdump/test/_ajaxtest.php:21: PhanUndeclaredGlobalVariable Global variable $unknown_var is undeclared

+

vendor/jbzoo/jbdump/test/_benchmark.php:21: PhanUndeclaredFunction Call to undeclared function \GetPHPFilesMark()

+

vendor/jbzoo/jbdump/test/_chain.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_declared.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_declared.php:28: PhanTypeMismatchArgument Argument 1 ($showAll) is 1 of type 1 but \JBDump::defines() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:861

+

vendor/jbzoo/jbdump/test/_declared.php:34: PhanTypeMismatchArgument Argument 1 ($showInternal) is 1 of type 1 but \JBDump::functions() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:838

+

vendor/jbzoo/jbdump/test/_env.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_errors.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_errors.php:35: PhanUndeclaredGlobalVariable Global variable $_NOT_DEFINED_VAR is undeclared

+

vendor/jbzoo/jbdump/test/_filesystem.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_lite_ajax.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_log.php:17: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_log.php:25: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:26: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:27: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:28: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:29: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:30: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:31: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:32: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:33: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_log.php:44: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_mail.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_mail.php:23: PhanTypeMismatchArgumentProbablyReal Argument 2 ($subject) is null of type null but \JBDump::mail() takes string (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3468 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

+

vendor/jbzoo/jbdump/test/_mail.php:24: PhanTypeMismatchArgumentProbablyReal Argument 3 ($to) is null of type null but \JBDump::mail() takes string (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3468 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

+

vendor/jbzoo/jbdump/test/_mini.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_mini.php:22: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_mini.php:22: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_mini.php:26: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_on_off.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_on_off.php:22: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_on_off.php:26: PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_on_off.php:30: PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_others.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_others.php:31: PhanUndeclaredGlobalVariable Global variable $jsonData is undeclared

+

vendor/jbzoo/jbdump/test/_others.php:37: PhanTypeMismatchArgumentProbablyReal Argument 3 ($params) is 'print_r' of type 'print_r' but \JBDump::print_r() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:1267 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

+

vendor/jbzoo/jbdump/test/_others.php:37: PhanTypeMismatchArgument Argument 2 ($varname) is 0 of type 0 but \JBDump::print_r() takes string defined at vendor/jbzoo/jbdump/class.jbdump.php:1267

+

vendor/jbzoo/jbdump/test/_others.php:37: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_others.php:40: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_php.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_php.php:34: PhanTypeMismatchArgument Argument 1 ($zend) is 1 of type 1 but \JBDump::extensions() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:880

+

vendor/jbzoo/jbdump/test/_profiler.php:24: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_reflect.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_reflect.php:48: PhanTypeMismatchArgument Argument 1 ($functionName) is $simpleClosureFunction of type false but \JBDump::funcInfo() takes \Closure|string defined at vendor/jbzoo/jbdump/class.jbdump.php:1444

+

vendor/jbzoo/jbdump/test/_request.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_request.php:26: PhanTypeMismatchArgument Argument 1 ($notReal) is 1 of type 1 but \JBDump::request() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:984

+

vendor/jbzoo/jbdump/test/_simple.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_simple.php:22: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_simple.php:22: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_simple.php:25: PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_simple.php:25: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_trace.php:18: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/test/_trace.php:25: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/_trace.php:29: PhanUndeclaredGlobalVariable Global variable $var is undeclared

+

vendor/jbzoo/jbdump/test/included_closure.php:7: PhanTypeInvalidUnaryOperandIncOrDec Invalid operator: unary operand of ++(expr) is null (expected int or string or float)

+

vendor/jbzoo/jbdump/test/included_file.php:17: PhanTypeMismatchArgument Argument 1 ($trace) is 1 of type 1 but \JBDump::trace() takes bool defined at vendor/jbzoo/jbdump/class.jbdump.php:1341

+

vendor/jbzoo/jbdump/test/included_file.php:164: PhanTypeMismatchArgument Argument 1 ($trace) is 1 of type 1 but \JBDump::trace() takes bool defined at vendor/jbzoo/jbdump/class.jbdump.php:1341

+

vendor/jbzoo/jbdump/test/included_file.php:185: PhanTypeObjectUnsetDeclaredProperty Suspicious attempt to unset class \simpleObject's property simpleVar declared at vendor/jbzoo/jbdump/test/included_file.php:105 (This can be done, but is more commonly done for dynamic properties and Phan does not expect this)

+

vendor/jbzoo/jbdump/tools/_base64_decode.php:20: PhanTypeMismatchArgument Argument 2 ($isDie) is 'base64_decode' of type 'base64_decode' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_base64_encode.php:21: PhanTypeMismatchArgument Argument 2 ($isDie) is 'base64_decode' of type 'base64_decode' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_dates.php:24: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_dates.php:32: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_dates.php:39: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_htmlspecialchars.php:21: PhanTypeMismatchArgument Argument 2 ($isDie) is 'htmlspecialchars' of type 'htmlspecialchars' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_htmlspecialchars_decode.php:21: PhanTypeMismatchArgument Argument 2 ($isDie) is 'htmlspecialchars' of type 'htmlspecialchars' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_json_decode.php:21: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_unserialize.php:20: PhanTypeMismatchArgument Argument 2 ($isDie) is 'unserialize' of type 'unserialize' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/jbdump/tools/_url.php:24: PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:40: PhanUndeclaredConstant Reference to undeclared constant \PROJECT_ROOT. This will cause a thrown Error in php 8.0+.

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:66: PhanUndeclaredStaticMethod Static call to undeclared method \JBZoo\PHPUnit\PHPUnit::setUp

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:72: PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:81: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:81: PhanUndeclaredClassMethod Call to method in from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:85: PhanUndeclaredClassMethod Call to method __construct from undeclared class \hanneskod\classtools\Iterator\ClassIterator

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:86: PhanUndeclaredClassMethod Call to method disableAutoloading from undeclared class \hanneskod\classtools\Iterator\ClassIterator

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:88: PhanUndeclaredClassMethod Call to method getClassMap from undeclared class \hanneskod\classtools\Iterator\ClassIterator

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:201: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:201: PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:247: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:247: PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:51: PhanUndeclaredConstant Reference to undeclared constant \PROJECT_ROOT. This will cause a thrown Error in php 8.0+.

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:268: PhanUndeclaredStaticMethod Static call to undeclared method \JBZoo\PHPUnit\PHPUnit::setUp

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:280: PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:374: PhanUndeclaredClassMethod Call to method name from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:416: PhanUndeclaredTypeReturnType Return type of createFinder() is undeclared type \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:418: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:418: PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:477: PhanUndeclaredTypeParameter Parameter $finder has undeclared type \Symfony\Component\Finder\Finder

+

vendor/jbzoo/phpunit/src/CovCatcher.php:48: PhanUndeclaredTypeProperty Property \JBZoo\PHPUnit\CovCatcher->coverage has undeclared type \SebastianBergmann\CodeCoverage\CodeCoverage

+

vendor/jbzoo/phpunit/src/CovCatcher.php:181: PhanUndeclaredClassMethod Call to method start from undeclared class \SebastianBergmann\CodeCoverage\CodeCoverage

+

vendor/jbzoo/phpunit/src/CovCatcher.php:194: PhanUndeclaredClassMethod Call to method stop from undeclared class \SebastianBergmann\CodeCoverage\CodeCoverage

+

vendor/jbzoo/phpunit/src/CovCatcher.php:208: PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\Clover

+

vendor/jbzoo/phpunit/src/CovCatcher.php:210: PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\Clover

+

vendor/jbzoo/phpunit/src/CovCatcher.php:218: PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\PHP

+

vendor/jbzoo/phpunit/src/CovCatcher.php:220: PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\PHP

+

vendor/jbzoo/phpunit/src/CovCatcher.php:228: PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\Html\Facade

+

vendor/jbzoo/phpunit/src/CovCatcher.php:230: PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\Html\Facade

+

vendor/jbzoo/phpunit/src/PHPUnit.php:28: PhanUndeclaredExtendedClass Class extends undeclared class \PHPUnit\Framework\TestCase

+

vendor/jbzoo/phpunit/src/fake-index.php:70: PhanUndeclaredClassMethod Call to method __construct from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:71: PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:72: PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:73: PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:74: PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:75: PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:78: PhanUndeclaredClassMethod Call to method process from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:80: PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:90: PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:91: PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:92: PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/fake-index.php:93: PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt

+

vendor/jbzoo/phpunit/src/functions/aliases.php:32: PhanUndeclaredClassMethod Call to method markTestSkipped from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:42: PhanUndeclaredClassMethod Call to method markTestIncomplete from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:52: PhanUndeclaredClassMethod Call to method fail from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:76: PhanUndeclaredClassMethod Call to method assertEquals from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:86: PhanUndeclaredClassMethod Call to method assertNotEquals from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:97: PhanUndeclaredClassMethod Call to method assertEquals from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:108: PhanUndeclaredClassMethod Call to method assertTrue from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:118: PhanUndeclaredClassMethod Call to method assertFalse from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:134: PhanUndeclaredClassMethod Call to method assertInstanceOf from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:144: PhanUndeclaredClassMethod Call to method assertCount from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:156: PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:161: PhanUndeclaredClassMethod Call to method assertMatchesRegularExpression from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:172: PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:177: PhanUndeclaredClassMethod Call to method assertDoesNotMatchRegularExpression from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:188: PhanUndeclaredClassMethod Call to method assertFileEquals from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:198: PhanUndeclaredClassMethod Call to method assertSame from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:208: PhanUndeclaredClassMethod Call to method assertNotSame from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:216: PhanUndeclaredClassMethod Call to method assertNull from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:224: PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:233: PhanUndeclaredClassMethod Call to method assertEmpty from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:242: PhanUndeclaredClassMethod Call to method assertNotEmpty from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:252: PhanUndeclaredClassMethod Call to method assertArrayHasKey from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:262: PhanUndeclaredClassMethod Call to method assertArrayNotHasKey from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:274: PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:275: PhanUndeclaredClassMethod Call to method assertObjectHasAttribute from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:287: PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:288: PhanUndeclaredClassMethod Call to method assertObjectNotHasAttribute from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:297: PhanUndeclaredClassMethod Call to method assertFileExists from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:298: PhanUndeclaredClassMethod Call to method assertDirectoryExists from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:320: PhanUndeclaredClassMethod Call to method assertFileExists from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:331: PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:336: PhanUndeclaredClassMethod Call to method assertFileDoesNotExist from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:351: PhanUndeclaredClassMethod Call to method assertStringContainsStringIgnoringCase from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:353: PhanUndeclaredClassMethod Call to method assertStringContainsString from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:366: PhanUndeclaredClassMethod Call to method assertStringNotContainsStringIgnoringCase from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:368: PhanUndeclaredClassMethod Call to method assertStringNotContainsString from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:402: PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:415: PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:433: PhanUndeclaredClassMethod Call to method assertNotEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:463: PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/aliases.php:488: PhanUndeclaredClassMethod Call to method assertNotEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert

+

vendor/jbzoo/phpunit/src/functions/defines.php:47: PhanUndeclaredGlobalVariable Global variable $path is undeclared

+

vendor/jbzoo/phpunit/src/functions/tools.php:97: PhanUndeclaredClassConstant Reference to constant GET from undeclared class \JBZoo\HttpClient\Request

+

vendor/jbzoo/phpunit/src/functions/tools.php:97: PhanUndeclaredTypeReturnType Return type of httpRequest() is undeclared type \JBZoo\HttpClient\Response

+

vendor/jbzoo/phpunit/src/functions/tools.php:97: PhanUndeclaredTypeThrowsType @throws type of httpRequest has undeclared type \JBZoo\HttpClient\Exception (Did you mean class \Exception or class \JBZoo\ComposerDiff\Exception or class \JBZoo\ComposerGraph\Exception or class \JBZoo\Data\Exception or class \JBZoo\MermaidPHP\Exception or class \JBZoo\PHPUnit\Exception or class \JBZoo\Utils\Exception)

+

vendor/jbzoo/phpunit/src/functions/tools.php:99: PhanUndeclaredClassReference Reference to undeclared class \JBZoo\HttpClient\HttpClient

+

vendor/jbzoo/phpunit/src/functions/tools.php:107: PhanUndeclaredClassMethod Call to method __construct from undeclared class \JBZoo\HttpClient\HttpClient

+

vendor/jbzoo/phpunit/src/functions/tools.php:108: PhanUndeclaredClassMethod Call to method request from undeclared class \JBZoo\HttpClient\HttpClient

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:22: PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\VarDumper\VarDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:27: PhanUndeclaredClassMethod Call to method setHandler from undeclared class \Symfony\Component\VarDumper\VarDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:30: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:31: PhanUndeclaredClassMethod Call to method setMaxItems from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:32: PhanUndeclaredClassMethod Call to method setMaxString from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:34: PhanUndeclaredClassConstant Reference to constant DUMP_COMMA_SEPARATOR from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:34: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:35: PhanUndeclaredClassMethod Call to method setMaxStringWidth from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:36: PhanUndeclaredClassMethod Call to method setIndentPad from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:37: PhanUndeclaredClassMethod Call to method setDisplayOptions from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:39: PhanUndeclaredClassMethod Call to method cloneVar from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner

+

vendor/jbzoo/toolbox-dev/src/var-dumper.php:41: PhanUndeclaredClassMethod Call to method dump from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper

+

vendor/jbzoo/utils/src/Cli.php:106: PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:125: PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:126: PhanUndeclaredClassMethod Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:128: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:131: PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:137: PhanUndeclaredClassMethod Call to method isSuccessful from undeclared class \Symfony\Component\Process\Process

+

vendor/jbzoo/utils/src/Cli.php:138: PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException

+

vendor/jbzoo/utils/src/Cli.php:141: PhanUndeclaredClassMethod Call to method getOutput from undeclared class \Symfony\Component\Process\Process

diff --git a/tests/fixtures/origin/phan/pylint.log b/tests/fixtures/origin/phan/pylint.log new file mode 100644 index 0000000..814b4b9 --- /dev/null +++ b/tests/fixtures/origin/phan/pylint.log @@ -0,0 +1,111 @@ +vendor/jbzoo/composer-diff/composer-diff.php:41: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:42: [E11009] PhanUndeclaredClassMethod: Call to method add from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:43: [E11009] PhanUndeclaredClassMethod: Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:44: [E11009] PhanUndeclaredClassMethod: Call to method run from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:29: [E11003] PhanUndeclaredExtendedClass: Class extends undeclared class \Symfony\Component\Console\Command\Command +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:35: [W11020] PhanUndeclaredTypeProperty: Property \JBZoo\ComposerDiff\Commands\AbstractCommand->input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:41: [W11020] PhanUndeclaredTypeProperty: Property \JBZoo\ComposerDiff\Commands\AbstractCommand->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46: [W11019] PhanUndeclaredTypeParameter: Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:48: [E11009] PhanUndeclaredClassMethod: Call to method getFormatter from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:52: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Formatter\OutputFormatterStyle +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:70: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84: [W11019] PhanUndeclaredTypeParameter: Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:40: [E11013] PhanUndeclaredMethod: Call to undeclared method \JBZoo\ComposerDiff\Commands\DiffAction::setName +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:44: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:46: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:49: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:51: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:53: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:54: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61: [W11019] PhanUndeclaredTypeParameter: Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Comparator.php:122: [E11009] PhanUndeclaredClassMethod: Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/composer-diff/src/Comparator.php:129: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException +vendor/jbzoo/composer-diff/src/Diff.php:141: [E11009] PhanUndeclaredClassMethod: Call to method greaterThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +vendor/jbzoo/composer-diff/src/Diff.php:145: [E11009] PhanUndeclaredClassMethod: Call to method lessThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:131: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:134: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:154: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:35: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:39: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:41: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Helper\Table +vendor/jbzoo/composer-diff/src/Renders/Console.php:41: [E11009] PhanUndeclaredClassMethod: Call to method setColumnStyle from undeclared class \Symfony\Component\Console\Helper\Table +vendor/jbzoo/composer-diff/src/Renders/Console.php:42: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:42: [E11009] PhanUndeclaredClassMethod: Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:43: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:43: [E11009] PhanUndeclaredClassMethod: Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:79: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:33: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:42: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:53: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:86: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:87: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:88: [E11009] PhanUndeclaredClassMethod: Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:89: [E11009] PhanUndeclaredClassMethod: Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:90: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/composer-graph.php:38: [E11009] PhanUndeclaredClassMethod: Call to method __construct from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:39: [E11009] PhanUndeclaredClassMethod: Call to method add from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:40: [E11009] PhanUndeclaredClassMethod: Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:41: [E11009] PhanUndeclaredClassMethod: Call to method run from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/src/CommandBuild.php:34: [E11003] PhanUndeclaredExtendedClass: Class extends undeclared class \Symfony\Component\Console\Command\Command +vendor/jbzoo/composer-graph/src/CommandBuild.php:40: [W11020] PhanUndeclaredTypeProperty: Property \JBZoo\ComposerGraph\CommandBuild->input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:46: [W11020] PhanUndeclaredTypeProperty: Property \JBZoo\ComposerGraph\CommandBuild->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:53: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-graph/src/CommandBuild.php:54: [E11007] PhanUndeclaredClassConstant: Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-graph/src/CommandBuild.php:60: [E11013] PhanUndeclaredMethod: Call to undeclared method \JBZoo\ComposerGraph\CommandBuild::setName +vendor/jbzoo/composer-graph/src/CommandBuild.php:88: [W11019] PhanUndeclaredTypeParameter: Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:88: [W11019] PhanUndeclaredTypeParameter: Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:95: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:103: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:104: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:105: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:106: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:107: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:108: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:109: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:111: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:112: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:118: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:120: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:126: [E11009] PhanUndeclaredClassMethod: Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:127: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:139: [E11009] PhanUndeclaredClassMethod: Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:170: [E11009] PhanUndeclaredClassMethod: Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:171: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:186: [E11009] PhanUndeclaredClassMethod: Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:187: [E11009] PhanUndeclaredClassMethod: Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/data/src/Yml.php:37: [E11007] PhanUndeclaredClassConstant: Reference to constant DUMP_MULTI_LINE_LITERAL_BLOCK from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:37: [E11007] PhanUndeclaredClassConstant: Reference to constant DUMP_NULL_AS_TILDE from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:37: [E11009] PhanUndeclaredClassMethod: Call to method dump from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:48: [E11009] PhanUndeclaredClassMethod: Call to method parse from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/jbdump/_template.php:12: [W10004] PhanTypeMismatchArgumentInternal: Argument 1 ($array) is $pages of type null but \sort() takes array +vendor/jbzoo/jbdump/_template.php:15: [W11047] PhanUndeclaredGlobalVariable: Global variable $defaut is undeclared +vendor/jbzoo/jbdump/_template.php:31: [W11047] PhanUndeclaredGlobalVariable: Global variable $folder is undeclared +vendor/jbzoo/jbdump/_template.php:33: [W11047] PhanUndeclaredGlobalVariable: Global variable $folder is undeclared +vendor/jbzoo/jbdump/_template.php:49: [W11047] PhanUndeclaredGlobalVariable: Global variable $folder is undeclared +vendor/jbzoo/jbdump/class.jbdump.php:217: [C10026] PhanTypeMagicVoidWithReturn: Found a return statement with a value in the implementation of the magic method \JBDump::__construct, expected void return type +vendor/jbzoo/jbdump/class.jbdump.php:239: [W10167] PhanTypeMismatchReturnProbablyReal: Returning $this of type \JBDump but __construct() is declared to return void (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:323: [W10003] PhanTypeMismatchArgument: Argument 1 ($memoryBytes) is $memoStdValue of type bool|float but \JBDump::_profilerFormatMemory() takes int defined at vendor/jbzoo/jbdump/class.jbdump.php:1719 +vendor/jbzoo/jbdump/class.jbdump.php:454: [C10010] PhanTypeComparisonToArray: string to array comparison +vendor/jbzoo/jbdump/class.jbdump.php:464: [W10032] PhanTypeMismatchDimFetch: When fetching an array index from a value of type array|array, found an array index of type 0, but expected the index to be of type string +vendor/jbzoo/jbdump/class.jbdump.php:464: [W10032] PhanTypeMismatchDimFetch: When fetching an array index from a value of type non-empty-array|non-empty-array, found an array index of type 0, but expected the index to be of type string +vendor/jbzoo/jbdump/class.jbdump.php:494: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is $reportLevel of type non-zero-int but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:495: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:496: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:500: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:501: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:502: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:516: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but maxTime() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:519: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is $time of type int but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:611: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but ip() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:634: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but get() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:650: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but log() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:683: [W10003] PhanTypeMismatchArgument: Argument 2 ($varName) is $markName of type 'dumpVar'|non-empty-string but \JBDump_array2php::toString() takes null defined at vendor/jbzoo/jbdump/class.jbdump.php:4738 +vendor/jbzoo/jbdump/class.jbdump.php:735: [C11027] PhanUndeclaredVariableDim: Variable $header was undeclared, but array fields are being added to it. +vendor/jbzoo/jbdump/class.jbdump.php:762: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but files() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:775: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but memory() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:793: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but interfaces() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:808: [W10167] PhanTypeMismatchReturnProbablyReal: Returning false of type false but url() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:814: [W10046] PhanTypeInvalidDimOffset: Invalid offset "query_parsed" of $parsed of array type array{query:string,scheme?:string,host?:string,port?:int,user?:string,pass?:string,path?:string,fragment?:string} diff --git a/tests/fixtures/origin/phan/pylint.txt b/tests/fixtures/origin/phan/pylint.txt deleted file mode 100644 index 51574ad..0000000 --- a/tests/fixtures/origin/phan/pylint.txt +++ /dev/null @@ -1,38 +0,0 @@ -src/JUnit/JUnitXml.php:37: [W10065] PhanPossiblyFalseTypeMismatchProperty: Assigning $this->rootElement of type \DOMElement|false to property but \JBZoo\CiReportConverter\JUnit\JUnitXml->rootElement is \DOMElement (false is incompatible) -src/JUnit/JUnitXml.php:44: [W999] PhanPluginCanUseReturnType: Can use \JBZoo\CiReportConverter\JUnit\TestSuiteElement as a return type of addTestSuite -src/JUnit/TestCaseElement.php:34: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $name of setName -src/JUnit/TestCaseElement.php:36: [W999] PhanPluginSuspiciousParamPositionInternal: Suspicious order for argument name - This is getting passed to parameter #1 (string $name) of \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute(string $name, string $value) -src/JUnit/TestCaseElement.php:42: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $classname of setClassname -src/JUnit/TestCaseElement.php:52: [W999] PhanPluginCanUseParamType: Can use float as the type of parameter $time of setTime -src/JUnit/TestCaseElement.php:54: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is $time of type float but \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute() takes string -src/JUnit/TestCaseElement.php:63: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $error of addError -src/JUnit/TestCaseElement.php:63: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $exceptionMessage of addError -src/JUnit/TestCaseElement.php:63: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $type of addError -src/JUnit/TestCaseElement.php:63: [W999] PhanPluginCanUseReturnType: Can use \DOMElement as a return type of addError -src/JUnit/TestCaseElement.php:66: [W10094] PhanPossiblyNonClassMethodCall: Call to method setAttribute on type \DOMElement|false that could be a non-object -src/JUnit/TestCaseElement.php:69: [W10094] PhanPossiblyNonClassMethodCall: Call to method setAttribute on type \DOMElement|false that could be a non-object -src/JUnit/TestCaseElement.php:77: [W10062] PhanPossiblyFalseTypeReturn: Returning $errorElement of type \DOMElement|false but addError() is declared to return \DOMElement (false is incompatible) -src/JUnit/TestCaseElement.php:86: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $error of addFailure -src/JUnit/TestCaseElement.php:86: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $exceptionMessage of addFailure -src/JUnit/TestCaseElement.php:86: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $type of addFailure -src/JUnit/TestCaseElement.php:86: [W999] PhanPluginCanUseReturnType: Can use \DOMElement as a return type of addFailure -src/JUnit/TestCaseElement.php:89: [W10094] PhanPossiblyNonClassMethodCall: Call to method setAttribute on type \DOMElement|false that could be a non-object -src/JUnit/TestCaseElement.php:92: [W10094] PhanPossiblyNonClassMethodCall: Call to method setAttribute on type \DOMElement|false that could be a non-object -src/JUnit/TestCaseElement.php:100: [W10062] PhanPossiblyFalseTypeReturn: Returning $failureElement of type \DOMElement|false but addFailure() is declared to return \DOMElement (false is incompatible) -src/JUnit/TestCaseElement.php:109: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is ((int)($this->getAttribute('failures')) + 1) of type int but \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute() takes string -src/JUnit/TestCaseElement.php:111: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute() takes string -src/JUnit/TestCaseElement.php:121: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is ((int)($this->getAttribute('errors')) + 1) of type int but \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute() takes string -src/JUnit/TestCaseElement.php:123: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \JBZoo\CiReportConverter\JUnit\TestCaseElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:35: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $name of setName -src/JUnit/TestSuiteElement.php:37: [W999] PhanPluginSuspiciousParamPositionInternal: Suspicious order for argument name - This is getting passed to parameter #1 (string $name) of \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute(string $name, string $value) -src/JUnit/TestSuiteElement.php:55: [W999] PhanPluginCanUseParamType: Can use float as the type of parameter $duration of setTime -src/JUnit/TestSuiteElement.php:57: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is $duration of type float but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:65: [W999] PhanPluginCanUseParamType: Can use string as the type of parameter $hostname of setHostname -src/JUnit/TestSuiteElement.php:73: [W999] PhanPluginCanUseReturnType: Can use \JBZoo\CiReportConverter\JUnit\TestCaseElement as a return type of addTestCase -src/JUnit/TestSuiteElement.php:86: [W999] PhanPluginCanUsePHP71Void: Can use php 7.1's void as a return type of incrementTestCount -src/JUnit/TestSuiteElement.php:89: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is ((int)($this->getAttribute('tests')) + 1) of type int but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:91: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:101: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is ((int)($this->getAttribute('failures')) + 1) of type int but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:103: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:113: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is ((int)($this->getAttribute('errors')) + 1) of type int but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string -src/JUnit/TestSuiteElement.php:115: [W10004] PhanTypeMismatchArgumentInternal: Argument 2 ($value) is 1 of type 1 but \JBZoo\CiReportConverter\JUnit\TestSuiteElement::setAttribute() takes string diff --git a/tests/fixtures/origin/phan/text.log b/tests/fixtures/origin/phan/text.log new file mode 100644 index 0000000..d42bf1d --- /dev/null +++ b/tests/fixtures/origin/phan/text.log @@ -0,0 +1,375 @@ +vendor/jbzoo/composer-diff/composer-diff.php:41 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:42 PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:43 PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/composer-diff.php:44 PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:29 PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:35 PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:41 PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:48 PhanUndeclaredClassMethod Call to method getFormatter from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:52 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Formatter\OutputFormatterStyle +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:70 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:40 PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerDiff\Commands\DiffAction::setName +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:44 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:46 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:49 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:51 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:53 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:54 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Comparator.php:122 PhanUndeclaredClassMethod Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/composer-diff/src/Comparator.php:129 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException +vendor/jbzoo/composer-diff/src/Diff.php:141 PhanUndeclaredClassMethod Call to method greaterThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +vendor/jbzoo/composer-diff/src/Diff.php:145 PhanUndeclaredClassMethod Call to method lessThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:131 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:134 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:154 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:35 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:39 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Console.php:41 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\Table +vendor/jbzoo/composer-diff/src/Renders/Console.php:41 PhanUndeclaredClassMethod Call to method setColumnStyle from undeclared class \Symfony\Component\Console\Helper\Table +vendor/jbzoo/composer-diff/src/Renders/Console.php:42 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:42 PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:43 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:43 PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +vendor/jbzoo/composer-diff/src/Renders/Console.php:79 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:33 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:42 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:53 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:86 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:87 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:88 PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:89 PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:90 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/composer-graph.php:38 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:39 PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:40 PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/composer-graph.php:41 PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application +vendor/jbzoo/composer-graph/src/CommandBuild.php:34 PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command +vendor/jbzoo/composer-graph/src/CommandBuild.php:40 PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:46 PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:53 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-graph/src/CommandBuild.php:54 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +vendor/jbzoo/composer-graph/src/CommandBuild.php:60 PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerGraph\CommandBuild::setName +vendor/jbzoo/composer-graph/src/CommandBuild.php:88 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:88 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:95 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:103 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:104 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:105 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:106 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:107 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:108 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:109 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:111 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:112 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:118 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:120 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:126 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:127 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:139 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:170 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:171 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:186 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/composer-graph/src/CommandBuild.php:187 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassConstant Reference to constant DUMP_MULTI_LINE_LITERAL_BLOCK from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassConstant Reference to constant DUMP_NULL_AS_TILDE from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassMethod Call to method dump from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/data/src/Yml.php:48 PhanUndeclaredClassMethod Call to method parse from undeclared class \Symfony\Component\Yaml\Yaml +vendor/jbzoo/jbdump/_template.php:12 PhanTypeMismatchArgumentInternal Argument 1 ($array) is $pages of type null but \sort() takes array +vendor/jbzoo/jbdump/_template.php:15 PhanUndeclaredGlobalVariable Global variable $defaut is undeclared +vendor/jbzoo/jbdump/_template.php:31 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +vendor/jbzoo/jbdump/_template.php:33 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +vendor/jbzoo/jbdump/_template.php:49 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +vendor/jbzoo/jbdump/class.jbdump.php:217 PhanTypeMagicVoidWithReturn Found a return statement with a value in the implementation of the magic method \JBDump::__construct, expected void return type +vendor/jbzoo/jbdump/class.jbdump.php:239 PhanTypeMismatchReturnProbablyReal Returning $this of type \JBDump but __construct() is declared to return void (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:323 PhanTypeMismatchArgument Argument 1 ($memoryBytes) is $memoStdValue of type bool|float but \JBDump::_profilerFormatMemory() takes int defined at vendor/jbzoo/jbdump/class.jbdump.php:1719 +vendor/jbzoo/jbdump/class.jbdump.php:454 PhanTypeComparisonToArray string to array comparison +vendor/jbzoo/jbdump/class.jbdump.php:464 PhanTypeMismatchDimFetch When fetching an array index from a value of type array|array, found an array index of type 0, but expected the index to be of type string +vendor/jbzoo/jbdump/class.jbdump.php:464 PhanTypeMismatchDimFetch When fetching an array index from a value of type non-empty-array|non-empty-array, found an array index of type 0, but expected the index to be of type string +vendor/jbzoo/jbdump/class.jbdump.php:494 PhanTypeMismatchArgumentInternal Argument 2 ($value) is $reportLevel of type non-zero-int but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:495 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1 of type 1 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:496 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1 of type 1 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:500 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:501 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:502 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 0 of type 0 but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:516 PhanTypeMismatchReturnProbablyReal Returning false of type false but maxTime() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:519 PhanTypeMismatchArgumentInternal Argument 2 ($value) is $time of type int but \ini_set() takes string +vendor/jbzoo/jbdump/class.jbdump.php:611 PhanTypeMismatchReturnProbablyReal Returning false of type false but ip() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:634 PhanTypeMismatchReturnProbablyReal Returning false of type false but get() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:650 PhanTypeMismatchReturnProbablyReal Returning false of type false but log() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:683 PhanTypeMismatchArgument Argument 2 ($varName) is $markName of type 'dumpVar'|non-empty-string but \JBDump_array2php::toString() takes null defined at vendor/jbzoo/jbdump/class.jbdump.php:4738 +vendor/jbzoo/jbdump/class.jbdump.php:735 PhanUndeclaredVariableDim Variable $header was undeclared, but array fields are being added to it. +vendor/jbzoo/jbdump/class.jbdump.php:762 PhanTypeMismatchReturnProbablyReal Returning false of type false but files() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:775 PhanTypeMismatchReturnProbablyReal Returning false of type false but memory() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:793 PhanTypeMismatchReturnProbablyReal Returning false of type false but interfaces() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:808 PhanTypeMismatchReturnProbablyReal Returning false of type false but url() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:814 PhanTypeInvalidDimOffset Invalid offset "query_parsed" of $parsed of array type array{query:string,scheme?:string,host?:string,port?:int,user?:string,pass?:string,path?:string,fragment?:string} +vendor/jbzoo/jbdump/class.jbdump.php:827 PhanTypeMismatchReturnProbablyReal Returning false of type false but includes() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:841 PhanTypeMismatchReturnProbablyReal Returning false of type false but functions() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:883 PhanTypeMismatchReturnProbablyReal Returning false of type false but extensions() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:895 PhanTypeMismatchReturnProbablyReal Returning false of type false but headers() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:927 PhanTypeMismatchReturnProbablyReal Returning false of type false but phpini() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:932 PhanTypeMismatchReturnProbablyReal Returning false of type false but phpini() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:968 PhanTypeMismatchReturnProbablyReal Returning false of type false but path() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1007 PhanTypeMismatchReturnProbablyReal Returning false of type false but post() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1019 PhanTypeMismatchReturnProbablyReal Returning false of type false but server() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1031 PhanTypeMismatchReturnProbablyReal Returning false of type false but cookie() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1061 PhanTypeMismatchReturnProbablyReal Returning false of type false but env() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1091 PhanTypeMismatchReturnProbablyReal Returning false of type false but globals() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1131 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($numeric_prefix) is null of type null but \http_build_query() takes string +vendor/jbzoo/jbdump/class.jbdump.php:1230 PhanTypeMismatchReturnProbablyReal Returning false of type false but locale() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1253 PhanTypeMismatchReturnProbablyReal Returning false of type false but timezone() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1284 PhanCommentParamWithoutRealParam Saw an @param annotation for $name, but it was not found in the param list of function phpArray(mixed $var, mixed|string $varname = 'varName', bool|false $isReturn = false) : mixed +vendor/jbzoo/jbdump/class.jbdump.php:1300 PhanTypeMismatchArgumentProbablyReal Argument 3 ($params) is $params of type null but \JBDump::_dumpRenderHtml() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:1986 (the inferred real argument type has nothing in common with the parameter's phpdoc type) +vendor/jbzoo/jbdump/class.jbdump.php:1300 PhanUndeclaredVariable Variable $params is undeclared +vendor/jbzoo/jbdump/class.jbdump.php:1344 PhanTypeMismatchReturnProbablyReal Returning false of type false but trace() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1406 PhanTypeArraySuspicious Suspicious array access to $result of type \JBDump +vendor/jbzoo/jbdump/class.jbdump.php:1461 PhanTypeMismatchReturnProbablyReal Returning false of type false but microtime() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1499 PhanCommentParamOutOfOrder Expected @param annotation for $name to be before the @param annotation for $outputMode +vendor/jbzoo/jbdump/class.jbdump.php:1593 PhanTypeMismatchReturnProbablyReal Returning false of type false but markStop() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1620 PhanTypeMismatchReturnProbablyReal Returning false of type false but mark() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:1653 PhanTypeMissingReturn Method \JBDump::profiler is declared to return \JBDump in phpdoc but has no return value +vendor/jbzoo/jbdump/class.jbdump.php:1946 PhanTypeMismatchReturnProbablyReal Returning false of type false but dump() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:2143 PhanTypeMismatchArgumentInternal Argument 1 ($haystack) is $output[5] of type null but \strpos() takes string +vendor/jbzoo/jbdump/class.jbdump.php:2143 PhanTypeMismatchArgumentInternal Argument 1 ($string) is $output[5] of type null but \substr() takes string +vendor/jbzoo/jbdump/class.jbdump.php:2195 PhanParamTooMany Call with 3 arg(s) to \JBDump::_boolean(bool $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2312 +vendor/jbzoo/jbdump/class.jbdump.php:2198 PhanParamTooMany Call with 3 arg(s) to \JBDump::_integer(int $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2324 +vendor/jbzoo/jbdump/class.jbdump.php:2201 PhanParamTooMany Call with 3 arg(s) to \JBDump::_float(float $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2335 +vendor/jbzoo/jbdump/class.jbdump.php:2209 PhanParamTooMany Call with 3 arg(s) to \JBDump::_array(array $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2450 +vendor/jbzoo/jbdump/class.jbdump.php:2212 PhanParamTooMany Call with 3 arg(s) to \JBDump::_maxDepth($var, $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2539 +vendor/jbzoo/jbdump/class.jbdump.php:2220 PhanParamTooMany Call with 3 arg(s) to \JBDump::_closure(object $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2516 +vendor/jbzoo/jbdump/class.jbdump.php:2222 PhanParamTooMany Call with 3 arg(s) to \JBDump::_object(object $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2479 +vendor/jbzoo/jbdump/class.jbdump.php:2231 PhanParamTooMany Call with 3 arg(s) to \JBDump::_resource(resource $data, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2346 +vendor/jbzoo/jbdump/class.jbdump.php:2234 PhanParamTooMany Call with 3 arg(s) to \JBDump::_undefined($var, string $name) which only takes 2 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:2551 +vendor/jbzoo/jbdump/class.jbdump.php:2559 PhanCommentParamOutOfOrder Expected @param annotation for $name to be before the @param annotation for $data +vendor/jbzoo/jbdump/class.jbdump.php:2620 PhanTypeMismatchArgumentInternal Argument 3 ($subject) is self::$_config['root'] of type null but \str_replace() takes array|string +vendor/jbzoo/jbdump/class.jbdump.php:2799 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'line' of $meta of array type array{file?:''|mixed,line?:''|mixed} +vendor/jbzoo/jbdump/class.jbdump.php:2800 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'file' of $meta of array type array{file?:''|mixed,line?:''|mixed} +vendor/jbzoo/jbdump/class.jbdump.php:2841 PhanTypeMismatchReturnProbablyReal Returning false of type false but _getClass() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:2845 PhanTypeMismatchReturnProbablyReal Returning false of type false but _getClass() is declared to return \JBDump (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) +vendor/jbzoo/jbdump/class.jbdump.php:2852 PhanUndeclaredVariableDim Variable $result was undeclared, but array fields are being added to it. +vendor/jbzoo/jbdump/class.jbdump.php:3011 PhanTypeMismatchReturn Returning $result of type array{methods?:array>|array>|array>|array>|array>|array>|array>|array>|array}>>|array>|array>|null,properties?:array>|array>|array>|array>|null,name:string,type:'class'|'interface',comment?:non-empty-string,path?:null|string,extension?:non-empty-string,abstract?:true,final?:true,parents?:array|array{}|non-empty-list,interfaces?:non-empty-list,constants?:array,source\x3a\x3asource?:string,all_methods:list}|non-empty-array|non-empty-associative-array but _getClass() is declared to return \JBDump +vendor/jbzoo/jbdump/class.jbdump.php:3055 PhanUndeclaredTypeParameter Parameter $functionName has undeclared type \function +vendor/jbzoo/jbdump/class.jbdump.php:3066 PhanTypeMismatchArgumentInternal Argument 1 ($function) is $functionName of type \function|non-empty-string but \ReflectionFunction::__construct() takes \Closure|callable-string +vendor/jbzoo/jbdump/class.jbdump.php:3119 PhanUndeclaredTypeParameter Parameter $extensionName has undeclared type \function +vendor/jbzoo/jbdump/class.jbdump.php:3318 PhanTypeSuspiciousStringExpression Suspicious type null of a variable or expression self::$_config['log']['path'] used to build a string. (Expected type to be able to cast to a string) +vendor/jbzoo/jbdump/class.jbdump.php:3367 PhanUndeclaredVariableDim Variable $result was undeclared, but array fields are being added to it. +vendor/jbzoo/jbdump/class.jbdump.php:3550 PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump +vendor/jbzoo/jbdump/class.jbdump.php:3553 PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump +vendor/jbzoo/jbdump/class.jbdump.php:3556 PhanTypeArraySuspicious Suspicious array access to $classInfo of type \JBDump +vendor/jbzoo/jbdump/class.jbdump.php:3589 PhanTypeMismatchReturn Returning $_this of type \JBDump but args() is declared to return bool +vendor/jbzoo/jbdump/class.jbdump.php:3603 PhanUndeclaredClassMethod Call to method __construct from undeclared class \JConfig +vendor/jbzoo/jbdump/class.jbdump.php:3604 PhanUndeclaredClassProperty Reference to instance property dbprefix from undeclared class \JConfig +vendor/jbzoo/jbdump/class.jbdump.php:4079 PhanTypeMismatchArgumentProbablyReal Argument 2 ($previous) is $token of type null but \JBDump_SqlFormatter::getNextToken() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3886 (the inferred real argument type has nothing in common with the parameter's phpdoc type) +vendor/jbzoo/jbdump/class.jbdump.php:4837 PhanTypeMismatchArgumentInternal Argument 1 ($object) is $var of type int|string but \get_class() takes object +vendor/jbzoo/jbdump/class.jbdump.php:4852 PhanCommentParamOutOfOrder Expected @param annotation for $isDie to be before the @param annotation for $name +vendor/jbzoo/jbdump/joomla/jbdump.php:16 PhanUndeclaredFunction Call to undeclared function \jimport() +vendor/jbzoo/jbdump/joomla/jbdump.php:22 PhanUndeclaredExtendedClass Class extends undeclared class \JPlugin +vendor/jbzoo/jbdump/joomla/jbdump.php:33 PhanUndeclaredClass Reference to undeclared class \JPlugin +vendor/jbzoo/jbdump/joomla/jbdump.php:48 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. (Did you mean \PATH_ROOT) +vendor/jbzoo/jbdump/joomla/jbdump.php:48 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:50 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. (Did you mean \PATH_ROOT) +vendor/jbzoo/jbdump/joomla/jbdump.php:53 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:60 PhanUndeclaredConstant Reference to undeclared constant \JPATH_SITE. This will cause a thrown Error in php 8.0+. +vendor/jbzoo/jbdump/joomla/jbdump.php:64 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:67 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:68 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:71 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:72 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:73 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:77 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:78 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:79 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:82 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:83 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:84 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:86 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:87 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:88 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:89 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:90 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:91 PhanUndeclaredProperty Reference to undeclared property \plgSystemJBDump->params +vendor/jbzoo/jbdump/joomla/jbdump.php:95 PhanParamTooMany Call with 2 arg(s) to \JBDump::i(array $options = []) which only takes 1 arg(s) defined at vendor/jbzoo/jbdump/class.jbdump.php:362 +vendor/jbzoo/jbdump/test/_ajaxtest.php:21 PhanUndeclaredGlobalVariable Global variable $unknown_var is undeclared +vendor/jbzoo/jbdump/test/_benchmark.php:21 PhanUndeclaredFunction Call to undeclared function \GetPHPFilesMark() +vendor/jbzoo/jbdump/test/_chain.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_declared.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_declared.php:28 PhanTypeMismatchArgument Argument 1 ($showAll) is 1 of type 1 but \JBDump::defines() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:861 +vendor/jbzoo/jbdump/test/_declared.php:34 PhanTypeMismatchArgument Argument 1 ($showInternal) is 1 of type 1 but \JBDump::functions() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:838 +vendor/jbzoo/jbdump/test/_env.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_errors.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_errors.php:35 PhanUndeclaredGlobalVariable Global variable $_NOT_DEFINED_VAR is undeclared +vendor/jbzoo/jbdump/test/_filesystem.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_lite_ajax.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_log.php:17 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_log.php:25 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:26 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:27 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:28 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:29 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:30 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:31 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:32 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:33 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_log.php:44 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_mail.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_mail.php:23 PhanTypeMismatchArgumentProbablyReal Argument 2 ($subject) is null of type null but \JBDump::mail() takes string (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3468 (the inferred real argument type has nothing in common with the parameter's phpdoc type) +vendor/jbzoo/jbdump/test/_mail.php:24 PhanTypeMismatchArgumentProbablyReal Argument 3 ($to) is null of type null but \JBDump::mail() takes string (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:3468 (the inferred real argument type has nothing in common with the parameter's phpdoc type) +vendor/jbzoo/jbdump/test/_mini.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_mini.php:22 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_mini.php:22 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_mini.php:26 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_on_off.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_on_off.php:22 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_on_off.php:26 PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_on_off.php:30 PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_others.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_others.php:31 PhanUndeclaredGlobalVariable Global variable $jsonData is undeclared +vendor/jbzoo/jbdump/test/_others.php:37 PhanTypeMismatchArgumentProbablyReal Argument 3 ($params) is 'print_r' of type 'print_r' but \JBDump::print_r() takes array (no real type) defined at vendor/jbzoo/jbdump/class.jbdump.php:1267 (the inferred real argument type has nothing in common with the parameter's phpdoc type) +vendor/jbzoo/jbdump/test/_others.php:37 PhanTypeMismatchArgument Argument 2 ($varname) is 0 of type 0 but \JBDump::print_r() takes string defined at vendor/jbzoo/jbdump/class.jbdump.php:1267 +vendor/jbzoo/jbdump/test/_others.php:37 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_others.php:40 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_php.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_php.php:34 PhanTypeMismatchArgument Argument 1 ($zend) is 1 of type 1 but \JBDump::extensions() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:880 +vendor/jbzoo/jbdump/test/_profiler.php:24 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_reflect.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_reflect.php:48 PhanTypeMismatchArgument Argument 1 ($functionName) is $simpleClosureFunction of type false but \JBDump::funcInfo() takes \Closure|string defined at vendor/jbzoo/jbdump/class.jbdump.php:1444 +vendor/jbzoo/jbdump/test/_request.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_request.php:26 PhanTypeMismatchArgument Argument 1 ($notReal) is 1 of type 1 but \JBDump::request() takes bool|false defined at vendor/jbzoo/jbdump/class.jbdump.php:984 +vendor/jbzoo/jbdump/test/_simple.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_simple.php:22 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_simple.php:22 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_simple.php:25 PhanTypeMismatchArgument Argument 2 ($isDie) is 1 of type 1 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_simple.php:25 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_trace.php:18 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/test/_trace.php:25 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/_trace.php:29 PhanUndeclaredGlobalVariable Global variable $var is undeclared +vendor/jbzoo/jbdump/test/included_closure.php:7 PhanTypeInvalidUnaryOperandIncOrDec Invalid operator: unary operand of ++(expr) is null (expected int or string or float) +vendor/jbzoo/jbdump/test/included_file.php:17 PhanTypeMismatchArgument Argument 1 ($trace) is 1 of type 1 but \JBDump::trace() takes bool defined at vendor/jbzoo/jbdump/class.jbdump.php:1341 +vendor/jbzoo/jbdump/test/included_file.php:164 PhanTypeMismatchArgument Argument 1 ($trace) is 1 of type 1 but \JBDump::trace() takes bool defined at vendor/jbzoo/jbdump/class.jbdump.php:1341 +vendor/jbzoo/jbdump/test/included_file.php:185 PhanTypeObjectUnsetDeclaredProperty Suspicious attempt to unset class \simpleObject's property simpleVar declared at vendor/jbzoo/jbdump/test/included_file.php:105 (This can be done, but is more commonly done for dynamic properties and Phan does not expect this) +vendor/jbzoo/jbdump/tools/_base64_decode.php:20 PhanTypeMismatchArgument Argument 2 ($isDie) is 'base64_decode' of type 'base64_decode' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_base64_encode.php:21 PhanTypeMismatchArgument Argument 2 ($isDie) is 'base64_decode' of type 'base64_decode' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_dates.php:24 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_dates.php:32 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_dates.php:39 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_htmlspecialchars.php:21 PhanTypeMismatchArgument Argument 2 ($isDie) is 'htmlspecialchars' of type 'htmlspecialchars' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_htmlspecialchars_decode.php:21 PhanTypeMismatchArgument Argument 2 ($isDie) is 'htmlspecialchars' of type 'htmlspecialchars' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_json_decode.php:21 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_unserialize.php:20 PhanTypeMismatchArgument Argument 2 ($isDie) is 'unserialize' of type 'unserialize' but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/jbdump/tools/_url.php:24 PhanTypeMismatchArgument Argument 2 ($isDie) is 0 of type 0 but \jbdump() takes bool|true defined at vendor/jbzoo/jbdump/class.jbdump.php:4856 +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:40 PhanUndeclaredConstant Reference to undeclared constant \PROJECT_ROOT. This will cause a thrown Error in php 8.0+. +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:66 PhanUndeclaredStaticMethod Static call to undeclared method \JBZoo\PHPUnit\PHPUnit::setUp +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:72 PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:81 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:81 PhanUndeclaredClassMethod Call to method in from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:85 PhanUndeclaredClassMethod Call to method __construct from undeclared class \hanneskod\classtools\Iterator\ClassIterator +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:86 PhanUndeclaredClassMethod Call to method disableAutoloading from undeclared class \hanneskod\classtools\Iterator\ClassIterator +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:88 PhanUndeclaredClassMethod Call to method getClassMap from undeclared class \hanneskod\classtools\Iterator\ClassIterator +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:201 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:201 PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:247 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCodestyleTest.php:247 PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:51 PhanUndeclaredConstant Reference to undeclared constant \PROJECT_ROOT. This will cause a thrown Error in php 8.0+. +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:268 PhanUndeclaredStaticMethod Static call to undeclared method \JBZoo\PHPUnit\PHPUnit::setUp +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:280 PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:374 PhanUndeclaredClassMethod Call to method name from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:416 PhanUndeclaredTypeReturnType Return type of createFinder() is undeclared type \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:418 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:418 PhanUndeclaredClassMethod Call to method files from undeclared class \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/AbstractCopyrightTest.php:477 PhanUndeclaredTypeParameter Parameter $finder has undeclared type \Symfony\Component\Finder\Finder +vendor/jbzoo/phpunit/src/CovCatcher.php:48 PhanUndeclaredTypeProperty Property \JBZoo\PHPUnit\CovCatcher->coverage has undeclared type \SebastianBergmann\CodeCoverage\CodeCoverage +vendor/jbzoo/phpunit/src/CovCatcher.php:181 PhanUndeclaredClassMethod Call to method start from undeclared class \SebastianBergmann\CodeCoverage\CodeCoverage +vendor/jbzoo/phpunit/src/CovCatcher.php:194 PhanUndeclaredClassMethod Call to method stop from undeclared class \SebastianBergmann\CodeCoverage\CodeCoverage +vendor/jbzoo/phpunit/src/CovCatcher.php:208 PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\Clover +vendor/jbzoo/phpunit/src/CovCatcher.php:210 PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\Clover +vendor/jbzoo/phpunit/src/CovCatcher.php:218 PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\PHP +vendor/jbzoo/phpunit/src/CovCatcher.php:220 PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\PHP +vendor/jbzoo/phpunit/src/CovCatcher.php:228 PhanUndeclaredClassMethod Call to method __construct from undeclared class \SebastianBergmann\CodeCoverage\Report\Html\Facade +vendor/jbzoo/phpunit/src/CovCatcher.php:230 PhanUndeclaredClassMethod Call to method process from undeclared class \SebastianBergmann\CodeCoverage\Report\Html\Facade +vendor/jbzoo/phpunit/src/PHPUnit.php:28 PhanUndeclaredExtendedClass Class extends undeclared class \PHPUnit\Framework\TestCase +vendor/jbzoo/phpunit/src/fake-index.php:70 PhanUndeclaredClassMethod Call to method __construct from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:71 PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:72 PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:73 PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:74 PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:75 PhanUndeclaredClassConstant Reference to constant OPTIONAL_ARGUMENT from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:78 PhanUndeclaredClassMethod Call to method process from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:80 PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:90 PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:91 PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:92 PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/fake-index.php:93 PhanUndeclaredClassMethod Call to method getOption from undeclared class \GetOpt\GetOpt +vendor/jbzoo/phpunit/src/functions/aliases.php:32 PhanUndeclaredClassMethod Call to method markTestSkipped from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:42 PhanUndeclaredClassMethod Call to method markTestIncomplete from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:52 PhanUndeclaredClassMethod Call to method fail from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:76 PhanUndeclaredClassMethod Call to method assertEquals from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:86 PhanUndeclaredClassMethod Call to method assertNotEquals from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:97 PhanUndeclaredClassMethod Call to method assertEquals from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:108 PhanUndeclaredClassMethod Call to method assertTrue from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:118 PhanUndeclaredClassMethod Call to method assertFalse from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:134 PhanUndeclaredClassMethod Call to method assertInstanceOf from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:144 PhanUndeclaredClassMethod Call to method assertCount from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:156 PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:161 PhanUndeclaredClassMethod Call to method assertMatchesRegularExpression from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:172 PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:177 PhanUndeclaredClassMethod Call to method assertDoesNotMatchRegularExpression from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:188 PhanUndeclaredClassMethod Call to method assertFileEquals from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:198 PhanUndeclaredClassMethod Call to method assertSame from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:208 PhanUndeclaredClassMethod Call to method assertNotSame from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:216 PhanUndeclaredClassMethod Call to method assertNull from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:224 PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:233 PhanUndeclaredClassMethod Call to method assertEmpty from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:242 PhanUndeclaredClassMethod Call to method assertNotEmpty from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:252 PhanUndeclaredClassMethod Call to method assertArrayHasKey from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:262 PhanUndeclaredClassMethod Call to method assertArrayNotHasKey from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:274 PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:275 PhanUndeclaredClassMethod Call to method assertObjectHasAttribute from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:287 PhanUndeclaredClassMethod Call to method assertNotNull from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:288 PhanUndeclaredClassMethod Call to method assertObjectNotHasAttribute from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:297 PhanUndeclaredClassMethod Call to method assertFileExists from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:298 PhanUndeclaredClassMethod Call to method assertDirectoryExists from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:320 PhanUndeclaredClassMethod Call to method assertFileExists from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:331 PhanUndeclaredClassReference Reference to undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:336 PhanUndeclaredClassMethod Call to method assertFileDoesNotExist from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:351 PhanUndeclaredClassMethod Call to method assertStringContainsStringIgnoringCase from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:353 PhanUndeclaredClassMethod Call to method assertStringContainsString from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:366 PhanUndeclaredClassMethod Call to method assertStringNotContainsStringIgnoringCase from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:368 PhanUndeclaredClassMethod Call to method assertStringNotContainsString from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:402 PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:415 PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:433 PhanUndeclaredClassMethod Call to method assertNotEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:463 PhanUndeclaredClassMethod Call to method assertEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/aliases.php:488 PhanUndeclaredClassMethod Call to method assertNotEqualsWithDelta from undeclared class \PHPUnit\Framework\Assert +vendor/jbzoo/phpunit/src/functions/defines.php:47 PhanUndeclaredGlobalVariable Global variable $path is undeclared +vendor/jbzoo/phpunit/src/functions/tools.php:97 PhanUndeclaredClassConstant Reference to constant GET from undeclared class \JBZoo\HttpClient\Request +vendor/jbzoo/phpunit/src/functions/tools.php:97 PhanUndeclaredTypeReturnType Return type of httpRequest() is undeclared type \JBZoo\HttpClient\Response +vendor/jbzoo/phpunit/src/functions/tools.php:97 PhanUndeclaredTypeThrowsType @throws type of httpRequest has undeclared type \JBZoo\HttpClient\Exception (Did you mean class \Exception or class \JBZoo\ComposerDiff\Exception or class \JBZoo\ComposerGraph\Exception or class \JBZoo\Data\Exception or class \JBZoo\MermaidPHP\Exception or class \JBZoo\PHPUnit\Exception or class \JBZoo\Utils\Exception) +vendor/jbzoo/phpunit/src/functions/tools.php:99 PhanUndeclaredClassReference Reference to undeclared class \JBZoo\HttpClient\HttpClient +vendor/jbzoo/phpunit/src/functions/tools.php:107 PhanUndeclaredClassMethod Call to method __construct from undeclared class \JBZoo\HttpClient\HttpClient +vendor/jbzoo/phpunit/src/functions/tools.php:108 PhanUndeclaredClassMethod Call to method request from undeclared class \JBZoo\HttpClient\HttpClient +vendor/jbzoo/toolbox-dev/src/var-dumper.php:22 PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\VarDumper\VarDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:27 PhanUndeclaredClassMethod Call to method setHandler from undeclared class \Symfony\Component\VarDumper\VarDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:30 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner +vendor/jbzoo/toolbox-dev/src/var-dumper.php:31 PhanUndeclaredClassMethod Call to method setMaxItems from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner +vendor/jbzoo/toolbox-dev/src/var-dumper.php:32 PhanUndeclaredClassMethod Call to method setMaxString from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner +vendor/jbzoo/toolbox-dev/src/var-dumper.php:34 PhanUndeclaredClassConstant Reference to constant DUMP_COMMA_SEPARATOR from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:34 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:35 PhanUndeclaredClassMethod Call to method setMaxStringWidth from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:36 PhanUndeclaredClassMethod Call to method setIndentPad from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:37 PhanUndeclaredClassMethod Call to method setDisplayOptions from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/toolbox-dev/src/var-dumper.php:39 PhanUndeclaredClassMethod Call to method cloneVar from undeclared class \Symfony\Component\VarDumper\Cloner\VarCloner +vendor/jbzoo/toolbox-dev/src/var-dumper.php:41 PhanUndeclaredClassMethod Call to method dump from undeclared class \Symfony\Component\VarDumper\Dumper\CliDumper +vendor/jbzoo/utils/src/Cli.php:106 PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:125 PhanUndeclaredClassReference Reference to undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:126 PhanUndeclaredClassMethod Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:128 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:131 PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:137 PhanUndeclaredClassMethod Call to method isSuccessful from undeclared class \Symfony\Component\Process\Process +vendor/jbzoo/utils/src/Cli.php:138 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException +vendor/jbzoo/utils/src/Cli.php:141 PhanUndeclaredClassMethod Call to method getOutput from undeclared class \Symfony\Component\Process\Process diff --git a/tests/fixtures/origin/phan/verbose.log b/tests/fixtures/origin/phan/verbose.log new file mode 100644 index 0000000..287a9f9 --- /dev/null +++ b/tests/fixtures/origin/phan/verbose.log @@ -0,0 +1,1125 @@ +vendor/jbzoo/composer-diff/composer-diff.php:41 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application +> $application = new Application(); + +vendor/jbzoo/composer-diff/composer-diff.php:42 PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application +> $application->add(new DiffAction()); + +vendor/jbzoo/composer-diff/composer-diff.php:43 PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +> $application->setDefaultCommand('diff'); + +vendor/jbzoo/composer-diff/composer-diff.php:44 PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application +> $application->run(); + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:29 PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command +> abstract class AbstractCommand extends Command + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:35 PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->input has undeclared type \Symfony\Component\Console\Input\InputInterface +> protected $input; + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:41 PhanUndeclaredTypeProperty Property \JBZoo\ComposerDiff\Commands\AbstractCommand->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected $output; + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +> protected function execute(InputInterface $input, OutputInterface $output) + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:46 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function execute(InputInterface $input, OutputInterface $output) + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:48 PhanUndeclaredClassMethod Call to method getFormatter from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $formatter = $output->getFormatter(); + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:52 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Formatter\OutputFormatterStyle +> $formatter->setStyle($color, new OutputFormatterStyle($color)); + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:70 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> $result = $this->input->getOption($optionName); + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +> abstract protected function runCommand(InputInterface $input, OutputInterface $output): int; + +vendor/jbzoo/composer-diff/src/Commands/AbstractCommand.php:84 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> abstract protected function runCommand(InputInterface $input, OutputInterface $output): int; + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:40 PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerDiff\Commands\DiffAction::setName +> $this + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:44 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('source', null, InputOption::VALUE_REQUIRED, 'The file, git ref, or git ref with filename ' . + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:46 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('target', null, InputOption::VALUE_REQUIRED, 'The file, git ref, or git ref with filename ' . + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:49 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('env', null, InputOption::VALUE_REQUIRED, "Show only selected environment. " . + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:51 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('output', null, InputOption::VALUE_REQUIRED, "Output format. " . + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:53 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('no-links', null, InputOption::VALUE_NONE, 'Hide all links in tables') + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:54 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +> ->addOption('strict', null, InputOption::VALUE_NONE, 'Return exit code if you have any difference'); + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +> protected function runCommand(InputInterface $input, OutputInterface $output): int + +vendor/jbzoo/composer-diff/src/Commands/DiffAction.php:61 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function runCommand(InputInterface $input, OutputInterface $output): int + +vendor/jbzoo/composer-diff/src/Comparator.php:122 PhanUndeclaredClassMethod Call to method fromShellCommandline from undeclared class \Symfony\Component\Process\Process +> $process = Process::fromShellCommandline($command); + +vendor/jbzoo/composer-diff/src/Comparator.php:129 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Process\Exception\ProcessFailedException +> throw new ProcessFailedException($process); + +vendor/jbzoo/composer-diff/src/Diff.php:141 PhanUndeclaredClassMethod Call to method greaterThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +> if (Comparator::greaterThan($sourceVersion, $targetVersion)) { + +vendor/jbzoo/composer-diff/src/Diff.php:145 PhanUndeclaredClassMethod Call to method lessThan from undeclared class \Composer\Semver\Comparator (Did you mean class \JBZoo\ComposerDiff\Comparator) +> if (Comparator::lessThan($sourceVersion, $targetVersion)) { + +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:131 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> public function render(OutputInterface $output): bool + +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:134 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln("There is no difference ({$this->env})"); + +vendor/jbzoo/composer-diff/src/Renders/AbstractRender.php:154 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> abstract protected function renderOneEnv(OutputInterface $output, array $changeLog, string $env): void; + +vendor/jbzoo/composer-diff/src/Renders/Console.php:35 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function renderOneEnv(OutputInterface $output, array $changeLog, string $env): void + +vendor/jbzoo/composer-diff/src/Renders/Console.php:39 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln(" {$this->getTitle($env)} ({$env})"); + +vendor/jbzoo/composer-diff/src/Renders/Console.php:41 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\Table +> $table = (new Table($output)) + +vendor/jbzoo/composer-diff/src/Renders/Console.php:41 PhanUndeclaredClassMethod Call to method setColumnStyle from undeclared class \Symfony\Component\Console\Helper\Table +> $table = (new Table($output)) + +vendor/jbzoo/composer-diff/src/Renders/Console.php:42 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +> ->setColumnStyle(2, (new TableStyle())->setPadType(STR_PAD_LEFT)) + +vendor/jbzoo/composer-diff/src/Renders/Console.php:42 PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +> ->setColumnStyle(2, (new TableStyle())->setPadType(STR_PAD_LEFT)) + +vendor/jbzoo/composer-diff/src/Renders/Console.php:43 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Helper\TableStyle +> ->setColumnStyle(3, (new TableStyle())->setPadType(STR_PAD_LEFT)); + +vendor/jbzoo/composer-diff/src/Renders/Console.php:43 PhanUndeclaredClassMethod Call to method setPadType from undeclared class \Symfony\Component\Console\Helper\TableStyle +> ->setColumnStyle(3, (new TableStyle())->setPadType(STR_PAD_LEFT)); + +vendor/jbzoo/composer-diff/src/Renders/Console.php:79 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln(' '); + +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:33 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function renderOneEnv(OutputInterface $output, array $changeLog, string $env): void + +vendor/jbzoo/composer-diff/src/Renders/JsonOutput.php:42 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln((string)json($dataForJson)); + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:53 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function renderOneEnv(OutputInterface $output, array $changeLog, string $env): void + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:86 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln("## {$this->getTitle($env)} ({$env})"); + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:87 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln(''); + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:88 PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->write($this->renderHeaders($widths)); + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:89 PhanUndeclaredClassMethod Call to method write from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->write($this->renderRows($widths)); + +vendor/jbzoo/composer-diff/src/Renders/Markdown.php:90 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln(''); + +vendor/jbzoo/composer-graph/composer-graph.php:38 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Symfony\Component\Console\Application +> $application = new Application('JBZoo/Composer-Graph', '@git-version@'); + +vendor/jbzoo/composer-graph/composer-graph.php:39 PhanUndeclaredClassMethod Call to method add from undeclared class \Symfony\Component\Console\Application +> $application->add(new CommandBuild()); + +vendor/jbzoo/composer-graph/composer-graph.php:40 PhanUndeclaredClassMethod Call to method setDefaultCommand from undeclared class \Symfony\Component\Console\Application +> $application->setDefaultCommand('build'); + +vendor/jbzoo/composer-graph/composer-graph.php:41 PhanUndeclaredClassMethod Call to method run from undeclared class \Symfony\Component\Console\Application +> $application->run(); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:34 PhanUndeclaredExtendedClass Class extends undeclared class \Symfony\Component\Console\Command\Command +> class CommandBuild extends Command + +vendor/jbzoo/composer-graph/src/CommandBuild.php:40 PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->input has undeclared type \Symfony\Component\Console\Input\InputInterface +> private $input; + +vendor/jbzoo/composer-graph/src/CommandBuild.php:46 PhanUndeclaredTypeProperty Property \JBZoo\ComposerGraph\CommandBuild->output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> private $output; + +vendor/jbzoo/composer-graph/src/CommandBuild.php:53 PhanUndeclaredClassConstant Reference to constant VALUE_REQUIRED from undeclared class \Symfony\Component\Console\Input\InputOption +> $required = InputOption::VALUE_REQUIRED; + +vendor/jbzoo/composer-graph/src/CommandBuild.php:54 PhanUndeclaredClassConstant Reference to constant VALUE_NONE from undeclared class \Symfony\Component\Console\Input\InputOption +> $none = InputOption::VALUE_NONE; + +vendor/jbzoo/composer-graph/src/CommandBuild.php:60 PhanUndeclaredMethod Call to undeclared method \JBZoo\ComposerGraph\CommandBuild::setName +> $this + +vendor/jbzoo/composer-graph/src/CommandBuild.php:88 PhanUndeclaredTypeParameter Parameter $input has undeclared type \Symfony\Component\Console\Input\InputInterface +> protected function execute(InputInterface $input, OutputInterface $output) + +vendor/jbzoo/composer-graph/src/CommandBuild.php:88 PhanUndeclaredTypeParameter Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface +> protected function execute(InputInterface $input, OutputInterface $output) + +vendor/jbzoo/composer-graph/src/CommandBuild.php:95 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> $format = $input->getOption('format'); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:103 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'direction' => $input->getOption('direction') ?: Graph::LEFT_RIGHT, + +vendor/jbzoo/composer-graph/src/CommandBuild.php:104 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'php' => $input->getOption('show-php'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:105 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'ext' => $input->getOption('show-ext'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:106 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'dev' => $input->getOption('show-dev'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:107 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'suggest' => $input->getOption('show-suggests'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:108 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'link-version' => $input->getOption('show-link-versions'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:109 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'lib-version' => $input->getOption('show-package-versions'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:111 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'output-path' => $input->getOption('output'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:112 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> 'abc-order' => $input->getOption('abc-order'), + +vendor/jbzoo/composer-graph/src/CommandBuild.php:118 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln("Report is ready: {$result}"); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:120 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln($result); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:126 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +> if ($output->isDebug()) { + +vendor/jbzoo/composer-graph/src/CommandBuild.php:127 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $output->writeln("Time: {$totalTime} sec; Peak Memory: {$maxMemory};\n"); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:139 PhanUndeclaredClassMethod Call to method getOption from undeclared class \Symfony\Component\Console\Input\InputInterface +> $origRootPath = $this->input->getOption('root'); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:170 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +> if ($this->output->isDebug()) { + +vendor/jbzoo/composer-graph/src/CommandBuild.php:171 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $this->output->writeln("Composer JSON file found: {$composerJsonPath}"); + +vendor/jbzoo/composer-graph/src/CommandBuild.php:186 PhanUndeclaredClassMethod Call to method isDebug from undeclared class \Symfony\Component\Console\Output\OutputInterface +> if ($this->output->isDebug()) { + +vendor/jbzoo/composer-graph/src/CommandBuild.php:187 PhanUndeclaredClassMethod Call to method writeln from undeclared class \Symfony\Component\Console\Output\OutputInterface +> $this->output->writeln("Composer JSON file found: {$composerLockPath}"); + +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassConstant Reference to constant DUMP_MULTI_LINE_LITERAL_BLOCK from undeclared class \Symfony\Component\Yaml\Yaml +> return Yaml::dump($data, 10, 2, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK | Yaml::DUMP_NULL_AS_TILDE); + +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassConstant Reference to constant DUMP_NULL_AS_TILDE from undeclared class \Symfony\Component\Yaml\Yaml +> return Yaml::dump($data, 10, 2, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK | Yaml::DUMP_NULL_AS_TILDE); + +vendor/jbzoo/data/src/Yml.php:37 PhanUndeclaredClassMethod Call to method dump from undeclared class \Symfony\Component\Yaml\Yaml +> return Yaml::dump($data, 10, 2, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK | Yaml::DUMP_NULL_AS_TILDE); + +vendor/jbzoo/data/src/Yml.php:48 PhanUndeclaredClassMethod Call to method parse from undeclared class \Symfony\Component\Yaml\Yaml +> return Yaml::parse($string); + +vendor/jbzoo/jbdump/_template.php:12 PhanTypeMismatchArgumentInternal Argument 1 ($array) is $pages of type null but \sort() takes array +> sort($pages); + +vendor/jbzoo/jbdump/_template.php:15 PhanUndeclaredGlobalVariable Global variable $defaut is undeclared +> $_GET['page'] = $defaut; + +vendor/jbzoo/jbdump/_template.php:31 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +>
  • + +vendor/jbzoo/jbdump/_template.php:33 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +>
  • + +vendor/jbzoo/jbdump/_template.php:49 PhanUndeclaredGlobalVariable Global variable $folder is undeclared +>