| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 12 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 9 | public function run($request) | ||
| 10 |     { | ||
| 11 | $count = VimeoDataObject::get()->count() + 1; | ||
| 12 |         for ($i = 0; $i < $count; $i++) { | ||
| 13 | $obj = VimeoDataObject::get()->limit(1, $i)->First(); | ||
| 14 |             if ($obj) { | ||
| 15 |                 DB::alteration_message("Saving data for object with code ".$obj->VimeoCode, "created"); | ||
| 16 | $obj->HTML(true); | ||
| 17 | } | ||
| 18 | } | ||
| 19 |         DB::alteration_message("================ COMPLETED ===================="); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | 
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.