Showing 452 of 452 total issues
Line exceeds 120 characters; contains 175 characters Open
Open
return 'MODEL:CALLED_GROUP_JOIN_ON_UNKNOWN_FOREIGN_PROPERTY: Tried to call join on property (' . $var . ') on Collection but was not a recognised foreign key';
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
protected static $instance; // An internal store of created objects so that objects for each row only get created once
- Exclude checks
Line exceeds 120 characters; contains 168 characters Open
Open
return 'MODEL_DATA:CANNOT_DELETE_UNCOMMITED_DATA: You cannot mark a Data object for deletion if it does not represent an existing row in the database.';
- Exclude checks
Inline control structures are not allowed Open
Open
if ($tableName) yield $tableName => $keys;
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
return static::factoryDataCount($where + [$column => $this->data['id']], Schema::underscoreCase($table), $schema);
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
QueryBuilder::select($this->closureTable, ['parent_id'])->where(['child_id' => $this->id, 'depth>=' => 1])->orderBy('depth')
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
// Dynamic object properties - Prefer properties set on the model object over column data from the db (Model_Data object)
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
QueryBuilder::select($this->closureTable, ['parent_id'])->where(['child_id' => $this->id, 'depth' => 1])->limit(1)
- Exclude checks
Line exceeds 120 characters; contains 173 characters Open
Open
$foreignkeys = (array) $modelschema['one-to-one'] + (array) $modelschema['one-to-many'] + (array) $modelschema['many-to-many'] + (array) $modelschema['many-to-one'];
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
$query->sql(QueryBuilder::insert($this->closureTable, ['parent_id' => $this->id, 'child_id' => $this->id, 'depth' => 0]));
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
// Normalise the (namespace stripped) class or table name so we don't have to worry about under_score or CamelCase
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
Open
foreach(preg_split('~[\r\n]+~', $data) as $line) {
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
*/
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
$query->sql("
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
Open
foreach(preg_split('~[\r\n]+~', $this->data) as $line) {
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
$query->sql("
- Exclude checks
There must be a comment when fall-through is intentional in a non-empty case body Open
Open
case 'MODEL_DATA:SCALAR_VALUE_EXPECTED_FOR_COLUMN':
- Exclude checks
Whitespace found at end of line Open
Open
interface WrappedModel
- Exclude checks
Whitespace found at end of line Open
Open
$affix = $invert ? '>' : '<=';
- Exclude checks
Whitespace found at end of line Open
Open
return 'null';
- Exclude checks