Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added .gitattributes #23

Merged
merged 1 commit into from
Nov 27, 2021
Merged

Added .gitattributes #23

merged 1 commit into from
Nov 27, 2021

Conversation

batumibiz
Copy link
Contributor

@batumibiz batumibiz commented Nov 27, 2021

If Сomposer uses the parameter "optimize-autoloader": true, there is a warning:

Generating optimized autoload files
Class Psalm\MockeryPlugin\Tests\AcceptanceTester located in vendor/psalm/plugin-mockery\tests_support\AcceptanceTester.php does not comply with psr-4 autoloading standard. Skipping.
Class Psalm\MockeryPlugin\Tests\Helper\Acceptance located in vendor/psalm/plugin-mockery\tests_support\Helper\Acceptance.php does not comply with psr-4 autoloading standard. Skipping.

Adding .gitattributes solves this problem.
The file code is taken from here: https://github.com/psalm/psalm-plugin-phpunit

@weirdan weirdan merged commit b1dcf5f into psalm:master Nov 27, 2021
@weirdan
Copy link
Member

weirdan commented Nov 27, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants