We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::drop('carousels'); |
||
| 16 | Schema::drop('carousel_slides'); |
||
| 17 | Schema::drop('images'); |
||
| 18 | Schema::drop('notifications'); |
||
| 19 | Schema::drop('articles'); |
||
| 20 | Schema::drop('plugin_feeds'); |
||
| 21 | Schema::drop('plugin_options'); |
||
| 22 | |||
| 23 | $plugin = app(\App\Classes\Repositories\PluginRepository::class); |
||
| 24 | |||
| 25 | $plugin->whereName('carousels')->delete(); |
||
|
|
|||
| 26 | $plugin->whereName('news')->delete(); |
||
| 27 | $plugin->whereName('facebook')->delete(); |
||
| 28 | |||
| 29 | $item = $plugin->whereName('menus'); |
||
| 30 | $item->setVersion('2.6')->setRequired(false)->save(); |
||
| 31 | $item = $plugin->whereName('pages'); |
||
| 32 | $item->setVersion('2.1')->setRequired(false)->save(); |
||
| 33 | $item = $plugin->whereName('redirects'); |
||
| 34 | $item->setVersion('1.9')->setEnabled(true)->setRequired(false)->save(); |
||
| 35 | $item = $plugin->whereName('products'); |
||
| 36 | $item->setVersion('1.3')->save(); |
||
| 37 | } |
||
| 49 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.