Skip to content

Fix magento2 driver#1420

Merged
driesvints merged 1 commit intolaravel:masterfrom
mischabraam:fix/magento2-driver
Sep 28, 2023
Merged

Fix magento2 driver#1420
driesvints merged 1 commit intolaravel:masterfrom
mischabraam:fix/magento2-driver

Conversation

@mischabraam
Copy link
Copy Markdown
Contributor

Fix magento2 driver + simplify, let mode determine by Magento env config

Fixes #1119 and #592

@mattstauffer
Copy link
Copy Markdown
Collaborator

@mischabraam Thanks so much for this PR!

Because I have no experience with Magento, this is hard for me to review. Do you have any other members of the Magento community who could review this for us?

@mischabraam
Copy link
Copy Markdown
Contributor Author

Sure, no problem.

@MrBlueEyez
Copy link
Copy Markdown

I have been using the new version of the driver locally, and it works for me. It no longer just takes "production mode" for my local environment.

@mattstauffer
Copy link
Copy Markdown
Collaborator

@mischabraam I'm OK to merge this if you can manage the conflicts in this PR. Thank you!

 + simplify, let mode determine by Magento env config
@mischabraam
Copy link
Copy Markdown
Contributor Author

@mattstauffer The conflicts are resolved

@driesvints driesvints merged commit 108bbf7 into laravel:master Sep 28, 2023
@driesvints
Copy link
Copy Markdown
Member

Thanks all.

@mischabraam mischabraam deleted the fix/magento2-driver branch October 3, 2023 06:52
nickygerritsen added a commit to Lets-Talk-NL/valet that referenced this pull request Dec 14, 2023
* upstream/master: (68 commits)
  Uses `actions/checkout@v4`
  Update CHANGELOG
  version
  Update CHANGELOG
  version
  Fix code styling
  Fix magento2 driver (laravel#1420)
  Update CHANGELOG
  version
  Fix code styling
  Fix code styling
  PHP 8.3 (laravel#1448)
  Update tests/CliTest.php
  Add conflict about mnapoli/silly 1.8.1–1.8.2
  Bump requirement for mnapoli/silly to 1.5+
  Add test of link command's isolate flag
  Ensure link command checks current directory for PHP version
  Improve link command's secure and isolate sub-commands
  Update CHANGELOG
  Fix code styling
  ...
yCodeTech added a commit to yCodeTech/valet-windows that referenced this pull request Jun 2, 2025
…ith some formatting.

- Bring the rest of the drivers into parity with Valet for Mac at v4.8.7.

    - Simplify the `frontControllerPath` method in Bedrock driver.

    - Add `isStaticFile` method in Concrete5 driver.

    - Add a if statement in `frontControllerPath` method of Kirby driver to fix an issue with opening non-native PHP files like `template.css.php`. (see laravel#1471)

    - Simplify all of Magento2 driver methods, allow the mode be determined by the Magento env config, and remove redundant old methods. (see laravel#1420)

    - Simplify all of Statamic driver methods, change it to extend the Laravel driver since it's a Laravel application, and remove redundant old methods.

- Improve code readaility by formatting multi-line conditions.

- Updated deprecation messages - the legacy drivers are deprecated as of v3.3.0 and will be removed in v4.0.0
yCodeTech added a commit to yCodeTech/valet-windows that referenced this pull request Oct 20, 2025
…ith some formatting.

- Bring the rest of the drivers into parity with Valet for Mac at v4.8.7.

    - Simplify the `frontControllerPath` method in Bedrock driver.

    - Add `isStaticFile` method in Concrete5 driver.

    - Add a if statement in `frontControllerPath` method of Kirby driver to fix an issue with opening non-native PHP files like `template.css.php`. (see laravel#1471)

    - Simplify all of Magento2 driver methods, allow the mode be determined by the Magento env config, and remove redundant old methods. (see laravel#1420)

    - Simplify all of Statamic driver methods, change it to extend the Laravel driver since it's a Laravel application, and remove redundant old methods.

- Improve code readaility by formatting multi-line conditions.

- Updated deprecation messages - the legacy drivers are deprecated as of v3.3.0 and will be removed in v4.0.0
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.

4 participants