Skip to content

Commit cfd87d5

Browse files
JeroenDeDauwthiemowmde
authored andcommitted
Remove Claim class
1 parent 50af207 commit cfd87d5

11 files changed

Lines changed: 396 additions & 913 deletions

File tree

RELEASE-NOTES.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
## Version 3.0.0 (dev)
44

5-
* `Statement` no longer takes a `Claim` in its constructor
6-
* `Statement::setClaim` and `Statement::getClaim` have been removed
7-
* Removed `ClaimList`
8-
* Removed `ClaimListAccess`
5+
* The concept of `Claim` is no longer modelled
6+
* The `Claim` class itself has been removed, though `Claim` is now a temporary alias for `Statement`
7+
* `Statement` no longer takes a `Claim` in its constructor
8+
* `Statement::setClaim` and `Statement::getClaim` have been removed
9+
* Removed `ClaimList`
10+
* Removed `ClaimListAccess`
911

1012
## Version 2.6.0 (dev)
1113

14+
15+
## Version 2.5.0 (dev)
16+
1217
* Empty strings are now detected as invalid in the `SiteLink` constructor
1318
* The `SnakList` constructor now throws an `InvalidArgumentException` when getting a non-iterable input
1419
* The `AliasGroup::equals` and `Term::equals` methods no longer incorrectly return true for fallback objects

WikibaseDataModel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@
1919
require_once __DIR__ . '/WikibaseDataModel.mw.php';
2020
} );
2121
}
22+
23+
class_alias( 'Wikibase\DataModel\Statement\Statement', 'Wikibase\DataModel\Claim\Claim' );

src/Claim/Claim.php

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)