Blog

Anzeige der Einträge mit Tag 'Magento'

Magento Docker Setup for module development

For quite a while I wanted to upgrade the Docker setup for the open-source Force Login module we develop for Magento 2. We were using a very old version of Mark Shust's Docker Configuration for Magento setup. Since there were a lot of changes how things work nowadays, the upgrade was not simple and came with a few side-effects. The latest version of the setup requires Magento to be checkout out locally and to be mounted in the container. If you develop a Magento application that totally makes sense, but for our module, it felt it makes more sense to have the Magento application code in the container as it used to be in the old setup. This led to a bunch of changes that I'll cover below.


mehr lesen...


Eintrag von Stephan Hochdörfer am 27.04.2019

Using PHPStan to detect errors (problems) in your Magento project

A few weeks back at MageTestFest 2019 in Florence, I gave a presentation on QA tools I like and gave some insights how they can be used in a Magento project. One of the tools I mentioned was PHPStan - a static analysis tool. PHPStan helps you to detect a lot of problems in your code due to using wrong types, calling methods that might not exist, passing the wrong number or types of arguments to methods and so on. PHPStan is also able to create your own rule sets of what behavior you want to check for.


mehr lesen...


Eintrag von Stephan Hochdörfer am 15.04.2019

Removing delete mass action from product grid

One of our customers asked us to remove the delete option from the mass action element for the product grid. What sounded like a simple task evolved into a lot of debugging and testing. Apparently removing the mass action option from the xml configuration does not work even though a lot of StackOverflow posts say so. The only way that worked for me, was to do it programmatically like this:


mehr lesen...


Eintrag von Stephan Hochdörfer am 27.03.2019

Magento 2 Arrays in Dependency Injection Context

In a recent project the client asked us to remove a few of the defined dataproviders for the autocomplete functionality. The consolidated DI configuration of the autocomplete element looks like this:


mehr lesen...


Eintrag von Stephan Hochdörfer am 13.09.2018

Solving conflicts in Magento's config.php

Sometimes you run into this situation when a git pull will responds with `Merge conflict in config.php`. How to solve this issue in a proper way? Let's have a look how other people solve similar issues, namely my friend Mr. Rafael Dohms. Quite a while ago he blogged about a similar problem on how to solve conflicts in Composer's lock file. This is what I learned from his blog post:


mehr lesen...


Eintrag von Stephan Hochdörfer am 05.09.2018

magerun2-list-api-endpoints V1.0.0

We have just released the first version of our magerun2 plugin "bitexpert/magerun2-list-api-endpoints". The plugin will print out a list of all defined webapi endpoints including their routes and defined resources. You are able to filter those routes by their respective HTTP method and name as well.


mehr lesen...


Eintrag von Stephan Hochdörfer am 31.08.2018

Improving CI for your Magento module

Recently we hit a problem in our Force Login Magento 2 module: The module was not compatible any more with Magento 2.1 due to a change in a constructor of a Magento base class we extended. This broke the DI configuration which in turn meant the module was not installable in a Magento 2.1 project any more. We were not able to spot this problem early on as our Travis build did only run against the latest Magento version 2.2. Inspired by this blog post of the heidelpay developers, I began to restructure our Travis build.


mehr lesen...


Eintrag von Stephan Hochdörfer am 26.02.2018

Force Login Module v3.0 for Magento 2

Yesterday, we released version 3.0 of our Force Login Module for Magento 2 which brings some requested features and fixes, here are the highlights of the current release:


mehr lesen...


Eintrag von Stephan Hochdörfer am 26.12.2017

Force Login Module v2.3 for Magento 2

We released version 2.3 of our Force Login Module for Magento 2 which brings some requested features and fixes, here are the highlights of the current release:


mehr lesen...


Eintrag von Florian Horn am 02.11.2017

Force Login Module v2.2 for Magento 2

We released the new 2.2.0 version of the Force Login Module for Magento 2 providing support for Magento 2.2.


mehr lesen...


Eintrag von Florian Horn am 11.10.2017

Diese Webseite verwendet Cookies, um die Bedienfreundlichkeit zu erhöhen. Mit der Nutzung unserer Webseite wird das Einverständnis erklärt, dass wir Cookies verwenden. Weitere Informationen.