Skip to content

Instantly share code, notes, and snippets.

Bob Mulder bobmulder

Block or report user

Report or block bobmulder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bobmulder
bobmulder / Category.cs
Last active Aug 29, 2015
Entity Framework: BelongsTo & HasOne Relation
View Category.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Data.Entity;
namespace WebshopServer.Models
{
public class Category
View Command Prompt
FILE: ...\cake\cakephp\vendor\cakephp\cakephp\src\Shell\Task\LoadTask.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but
| | found "\r\n"
24 | ERROR | [ ] Expected 1 space after class declaration, found 2
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
You can’t perform that action at this time.