for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GitScrum v0.1.
*
* @author Renato Marinho <[email protected]>
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
*/
namespace GitScrum\Models;
use Illuminate\Database\Eloquent\Model;
class CommitFilePhpc extends Model
{
* The database table used by the model.
* @var string
protected $table = 'commit_file_phpcs';
* Attributes that should be mass-assignable.
* @var array
protected $fillable = ['commit_file_id', 'line', 'message', 'type'];
* The attributes excluded from the model's JSON form.
protected $hidden = [];
* The attributes that should be casted to native types.
protected $casts = [];
public function commitFile()
return $this->belongsTo(\GitScrum\Models\CommitFile::class, 'commit_file_id', 'id');
}