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

Fix PHP-Scoper #50

Open
3 tasks
fumikito opened this issue Jul 18, 2023 · 0 comments
Open
3 tasks

Fix PHP-Scoper #50

fumikito opened this issue Jul 18, 2023 · 0 comments

Comments

@fumikito
Copy link
Contributor

fumikito commented Jul 18, 2023

まだ隔離が十分ではないのようなので、設定を見直す。

  1. Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Psr7\uri_for()
  2. Fatal error: Uncaught Error: Call to undefined function GaCommunicatorVendor\GuzzleHttp\choose_handler()
  • グローバル関数を隠蔽する
  • バッティングするプラグイン(Guzzle 6系)を入れる
  • テストでPHP-Scoperバージョンもテストできるようにする
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 19, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
fumikito added a commit that referenced this issue Jul 20, 2023
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI

Release Notes:

- New Feature: Added a GitHub Actions workflow to set up PHP Scoper for
prefixing vendor files.
- New Feature: Modified the test setup by adding a function to manually
load the plugin being tested.
- Bug fix: Updated the `actions/checkout` action to version 3 in the
WordPress workflow.
- Refactor: Made binaries executable when PHP Scoper is used.
- Refactor: Updated the PHP-Scoper configuration to exclude specific
namespaces, classes, and functions.

> "Code transformed, bugs squashed,
> PHP Scoper dances, vendor files embossed.
> Tests prepared, plugins loaded with care,
> Workflow updated, improvements we share."
<!-- end of auto-generated comment: release notes by openai -->
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

No branches or pull requests

1 participant