DeploynautJob::updateStatus()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
nc 1
1
<?php
2
3
abstract class DeploynautJob implements DeploynautJobInterface {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
4
5
	/**
6
	 * {@inheritdoc}
7
	 */
8
	public function onFailure(Exception $exception) {
9
		$this->updateStatus('Failed');
10
	}
11
12
	abstract protected function updateStatus($status);
13
14
}
15