chillerlan / php-settings-container

Compare 98ccc1b ... +9 ... f296825

Coverage Reach
SettingsContainerAbstract.php

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 12 files from the diff.

@@ -2,9 +2,7 @@
Loading
2 2
/**
3 3
 * Class SettingsContainerAbstract
4 4
 *
5 -
 * @filesource   SettingsContainerAbstract.php
6 5
 * @created      28.08.2018
7 -
 * @package      chillerlan\Settings
8 6
 * @author       Smiley <smiley@chillerlan.net>
9 7
 * @copyright    2018 Smiley
10 8
 * @license      MIT
@@ -15,13 +13,12 @@
Loading
15 13
use ReflectionClass, ReflectionProperty;
16 14
17 15
use function call_user_func, call_user_func_array, get_object_vars, json_decode, json_encode, method_exists, property_exists;
16 +
use const JSON_THROW_ON_ERROR;
18 17
19 18
abstract class SettingsContainerAbstract implements SettingsContainerInterface{
20 19
21 20
	/**
22 21
	 * SettingsContainerAbstract constructor.
23 -
	 *
24 -
	 * @param iterable|null $properties
25 22
	 */
26 23
	public function __construct(iterable $properties = null){
27 24
@@ -35,8 +32,6 @@
Loading
35 32
	/**
36 33
	 * calls a method with trait name as replacement constructor for each used trait
37 34
	 * (remember pre-php5 classname constructors? yeah, basically this.)
38 -
	 *
39 -
	 * @return void
40 35
	 */
41 36
	protected function construct():void{
42 37
		$traits = (new ReflectionClass($this))->getTraits();
@@ -53,8 +48,6 @@
Loading
53 48
54 49
	/**
55 50
	 * @inheritdoc
56 -
	 *
57 -
	 * @return mixed|null
58 51
	 */
59 52
	public function __get(string $property){
60 53

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Complexity Coverage
src/SettingsContainerAbstract.php ø 100.00%
Project Totals (1 files) 25 100.00%
Loading