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

[Warning] Receive a warning after updating maker-bundle #1013

Closed
karaka200 opened this issue Nov 16, 2021 · 3 comments · Fixed by #1014
Closed

[Warning] Receive a warning after updating maker-bundle #1013

karaka200 opened this issue Nov 16, 2021 · 3 comments · Fixed by #1014

Comments

@karaka200
Copy link

karaka200 commented Nov 16, 2021

Symfony version : 5.3.10

@weaverryan After updating maker-bundle from 1.35.0 to 1.36.0, this warning show:

Class Symfony\Bundle\MakerBundle\Console\MigrationDiffFilteredOutput located in C:/projects/VANT1/vendor/symfony/maker-bundle/src\Console\MigrationDiffFilteredOutput_php8.php does not comply with psr-4 autoloading standard. Skipping.

Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "5.3.*"
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading symfony/maker-bundle (v1.35.0 => v1.36.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading symfony/maker-bundle (v1.36.0)
  - Upgrading symfony/maker-bundle (v1.35.0 => v1.36.0): Extracting archive
Generating optimized autoload files
Class Symfony\Bundle\MakerBundle\Console\MigrationDiffFilteredOutput located in C:/projects/VANT1/vendor/symfony/maker-bundle/src\Console\MigrationDiffFilteredOutput_php8.php does not comply with psr-4 autoloading standard. Skipping.
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
77 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

What about running composer global require symfony/thanks && composer thanks now?
This will spread some love by sending a star to the GitHub repositories of your fellow package maintainers.

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [OK]
Executing script assets:install public [OK]
@weaverryan
Copy link
Member

Yea - that's my bad. That extra file is there for some crazy PHP 8 compatibility, but I need to "hide" it better.

@karaka200
Copy link
Author

karaka200 commented Nov 16, 2021

Yea - that's my bad. That extra file is there for some crazy PHP 8 compatibility, but I need to "hide" it better.

I use PHP 8.0.12 but this warning still show

@weaverryan
Copy link
Member

My crazy workaround makes the code work for PHP 7 and PHP 8. But it also creates this warning on all versions :). The PR should silence the warning.

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 a pull request may close this issue.

2 participants