opencart / opencart-3

OpenCart 3.x
Other
25 stars 31 forks source link

Update phpstan.neon #225

Closed condor2 closed 10 months ago

TheCartpenter commented 10 months ago

Not a good idea. This is useful for PHP packages whenever OC needs to evolve as I also covered in regard to an upgraded OC engine. The only way to keep evolving is not by hiding the error messages but rather by troubleshooting them.

condor2 commented 10 months ago

Was added to bypass....then to see if are other issues in the code.... That line ca be removed any time.....

TheCartpenter commented 10 months ago

It will simply hide the error message from phpstan rather than dealing with it. The reason why I did so for the extensions is because they're using a library or a vendor relying on a remote connection to test their Exception errors.