Posts by Fellipe Sanches • 111 points
4 posts
-
0
votes3
answers2181
viewsA: Error "class Domdocument not found" when trying to run Phpunit
For those using Phpunit, a good check in addition to seeing if the php-xml is installed and active, is to call Domdocument after namespace declaration: namespace SeuNameSpace\SeuNameSpace; use…
-
0
votes2
answers1798
viewsA: How to update the PHP version in Laravel?
For those who need to upgrade to php 7.4 (last currently) with Ubuntu 18.04 and Laravel: sudo apt update sudo apt upgrade sudo apt install software-properties-common sudo add-apt-repository…
-
0
votes2
answers5677
viewsA: Composer Returning Memory Allocation Error
The @Ronaldom solution may not work if the amount of memory needed to run the Composer script is greater than your swap RAM + 1024. In that case grow count=1024 for another value, such as:…
-
1
votes6
answers12128
viewsA: Error typing GIT PUSH
Step by step to push into a remote repository without major problems: The following commands must be executed within a local repository, already initialized with git init. Add a remote repository:…