churn-php
churn-php copied to clipboard
Exclude assets from classmaps
composer dump-autoload --optimize --strict-psr --no-scripts failed with this message:
Class Acme\Bar located in ./tests/Unit/Assets/Bar.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Baz located in ./tests/Unit/Assets/Baz.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Foo located in ./tests/Unit/Assets/Foo.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Qux located in ./tests/Unit/Assets/Qux.inc does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Deep2 located in ./tests/Unit/Assets2/DeepAssets/Deep2.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Deep located in ./tests/Unit/Assets2/DeepAssets/Deep.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Different located in ./tests/Unit/Assets2/DeepAssets/Different.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Foo2 located in ./tests/Unit/Assets2/Foo2.php does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Class Acme\Qux2 located in ./tests/Unit/Assets2/Qux2.inc does not comply with psr-4 autoloading standard (rule: Churn\Tests\ => ./tests). Skipping.
Psalm also failed with this error:
Uncaught TypeError: PhpParser\Lexer\Emulative::__construct(): Argument #1 ($phpVersion) must be of type ?PhpParser\PhpVersion, array given, called in /home/runner/work/churn-php/churn-php/vendor-bin/psalm/vendor/vimeo/psalm/src/Psalm/Internal/Provider/StatementsProvider.php on line 402 and defined in /home/runner/work/churn-php/churn-php/vendor/bin/.phpunit/phpunit-9.6-1/vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php:38
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.11%. Comparing base (
f072536) to head (d17fd38).
Additional details and impacted files
@@ Coverage Diff @@
## master #393 +/- ##
==========================================
- Coverage 99.12% 99.11% -0.01%
==========================================
Files 56 56
Lines 913 906 -7
==========================================
- Hits 905 898 -7
Misses 8 8
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.