- Desinstalar PHP local caso houver.
- Criar novo arquivo com o nome php em /usr/local/bin/:
sudo nano /usr/local/bin/php
- Adicionar o seguinte bloco no arquivo e salvar:
#!/bin/bash
<?php | |
namespace Your\Namespace\Traits; | |
use Exception; | |
use Illuminate\Database\Eloquent\Builder; | |
trait HasCompositePrimaryKey { | |
/** |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.5.13 on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); |